Move cluster verification out of prepare-node-join
A new tool for configuring the node daemon will also have to verify the cluster name, so it's better to have this function in a central place. In the process of moving it to ssconf it is also changed to use “SimpleStore” instead of reading the ssconf directly. Tests are updated. Signed-off-by:Michael Hanselmann <hansmi@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
Showing
- lib/ssconf.py 19 additions, 0 deletionslib/ssconf.py
- lib/tools/prepare_node_join.py 1 addition, 25 deletionslib/tools/prepare_node_join.py
- test/ganeti.ssconf_unittest.py 28 additions, 0 deletionstest/ganeti.ssconf_unittest.py
- test/ganeti.tools.prepare_node_join_unittest.py 10 additions, 18 deletionstest/ganeti.tools.prepare_node_join_unittest.py
Loading
Please register or sign in to comment