This patch series adds unittests for LUNodeAdd. First, functionality to mock the RPC module is added. During the implementation, more IPs from valid ranges are used. These are replaced by IPs from RF 5737. Unittests for OpenvSwitch functionality in LUNodeAdd are added, followed by tests to cover the remaining LU.
Sebastian Gebhard (4): Mock RPC for unit tests Replace more IPs with reserved adresses Add unittests for OpenvSwitch in LUNodeAdd Further tests for LUNodeAdd Makefile.am | 1 + test/py/cmdlib/node_unittest.py | 256 ++++++++++++++++++++++++++ test/py/cmdlib/testsupport/cmdlib_testcase.py | 28 ++- test/py/cmdlib/testsupport/config_mock.py | 10 +- test/py/cmdlib/testsupport/netutils_mock.py | 2 +- test/py/cmdlib/testsupport/rpc_runner_mock.py | 27 +++ test/py/cmdlib/testsupport/util.py | 4 +- 7 files changed, 319 insertions(+), 9 deletions(-) create mode 100644 test/py/cmdlib/node_unittest.py -- 1.8.1.2
