]> xenbits.xensource.com Git - xcp/xen-api.git/commit
CA-40910: Only copy physical PIFs on pool join
authorRob Hoes <rob.hoes@citrix.com>
Thu, 17 Jun 2010 16:31:00 +0000 (17:31 +0100)
committerRob Hoes <rob.hoes@citrix.com>
Thu, 17 Jun 2010 16:31:00 +0000 (17:31 +0100)
commitf30bf552c812e29273ba5982e92c03a393ba380d
tree6b7d7727a69fd6f7ae8b78452b4862f22affbdc3
parentc096031af1f73b4148529c8862fca14b80efd08f
CA-40910: Only copy physical PIFs on pool join

On pool join, any bonds or VLANs on the joining host are supposed to be ignored. When the host reboots after the join, it will inherit the bond/VLAN setup from the pool master. Therefore, Bond and VLAN objects are not copied from the joining host to the pool. However, bond and VLAN master PIFs are, with is not good. This patch fixes that.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
ocaml/xapi/xapi_pool.ml