This patch series introduces the automatic configuration of OpenvSwitch during the process of adding a new node to the cluster. A virtual switch is automatically generated on new nodes when ndparams[constants.ND_OVS] is enabled. It takes two parameters, name and link, which will default to ``switch1`` and None respectively.
In this patch series, the needed fields are added to ndparams, the backend and RPC functionality is added as well as the extension for gnt-node and documentation. Sebastian Gebhard (8): Add design for OpenvSwitch autoconfiguration Add params for OpenvSwitch to ndparams Backend: Create openvswitches on the nodes. Add OpenvSwitch functionality to LUNodeAdd Add RPC functionality for creating OpenvSwitches Add parameters for OpenvSwitch to gnt-node Documentation of new node parameters Minor documentations fixed to gnt-node man page doc/design-openvswitch.rst | 35 +++++++++++++++++++++++++++++++---- lib/backend.py | 31 ++++++++++++++++++++++++++++++- lib/client/gnt_node.py | 34 ++++++++++++++++++++++++++++------ lib/cmdlib/node.py | 21 +++++++++++++++++++++ lib/constants.py | 11 +++++++++++ lib/rpc_defs.py | 4 ++++ lib/server/noded.py | 8 ++++++++ man/ganeti.rst | 13 +++++++++++++ man/gnt-node.rst | 4 ++-- test/py/ganeti.config_unittest.py | 9 +++++++++ test/py/ganeti.objects_unittest.py | 9 +++++++++ 11 files changed, 166 insertions(+), 13 deletions(-) -- 1.8.1.2
