[Ovirt-devel] [PATCH: server 0/3] Add host-register.rb (replaces host-browser.rb in part)

Arjun Roy arroy at redhat.com
Fri Jul 10 19:43:27 UTC 2009


Removes node identification functionality from host-browser.rb and adds a new script,
host-register.rb, that takes over that functionality.

The chief difference is that host-browser used a simple TCP server setup to get data
from the node, while host-register uses the qpid bus to do so. Specifically, it
communicates with the matahari qmf agent added to the node in two related patchsets to
node and node-image.

At present, there is a bug in the ruby console api that affects host-register.rb.
As a temporary workaround, managed connections have been disabled.

There are two related patchsets for node and node-image that must be applied as well
to test out the changes in this patchset.

This is the third version of this patchset, and hopefully all the kinks have been worked
out by now. :)

Arjun Roy (3):
  Removed host-browser identify node functionality and unit test.
  Added new host-register script to ovirt server.
  Temporarily setting managed connections to false till ruby qmf
    console bug fix is pushed.

 conf/ovirt-host-register                    |   54 +++
 installer/modules/ovirt/manifests/ovirt.pp  |    6 +
 ovirt-server.spec.in                        |    5 +
 src/host-browser/host-browser.rb            |  255 +---------------
 src/host-browser/host-register.rb           |  468 +++++++++++++++++++++++++++
 src/test/unit/host_browser_identify_test.rb |  310 ------------------
 6 files changed, 534 insertions(+), 564 deletions(-)
 create mode 100644 conf/ovirt-host-register
 create mode 100755 src/host-browser/host-register.rb
 delete mode 100644 src/test/unit/host_browser_identify_test.rb




More information about the ovirt-devel mailing list