[node-devel] Introduction of ovirt-node-config
Fabian Deutsch
fabiand at redhat.com
Mon Mar 3 16:34:50 UTC 2014
Hey,
node 3.0 moved much of the configuration stuff to the ovirt-node-config
module, but until now the whole configuration could only be done through
the TUI or during auto-installation.
ovirt-node-config is a small tool (or shall become one) which exposes
all classes from ovirt.node.config and which can be used to:
1. Introspect the classes and see what they do
2. Run the classes to perform the configuration from the console
I see two main use cases for this:
1. Test automation - This eases the testing of the functionalit ywhich
does the actual configuration work.
Basically we can write tests like:
(Pseudo code)
$ ovirt-node-config run Network.configure_disable_networking
$ assert_no_files_like "/etc/sysconfig/network-scripts/ifcfg-*"
or
$ ovirt-node-config run SSH.configure_pw_auth true
$ assert_file_contains /etc/ssh/sshd_config "PWAuth yes"
2. Reuse
Other components can use this tool to perform high-level configuration
on Node.
The corresponding draft can be found here:
http://gerrit.ovirt.org/#/c/24968/
The code is not yet fully functional.
Thoughts suggestions and anything else is welcome :)
- fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20140303/b2fc466a/attachment.sig>
More information about the node-devel
mailing list