xenserver: Only put the primary XenServer UUID in default bridge-id
authorEthan Jackson <ethan@nicira.com>
Wed, 22 Sep 2010 06:57:13 +0000 (23:57 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 22 Sep 2010 18:51:57 +0000 (11:51 -0700)
commitb13300c7178527f85937604022a755e174a0e1aa
treebb68f12ea441b425ed1589c6efb62eade7903c4f
parente6494c64e35f62411f770be086ba6a0914afaf5d
xenserver: Only put the primary XenServer UUID in default bridge-id

This patch defensively guarantees that the first id in
xs-network-uuids will belong to the primary network (as opposed to
a vlan).  Given that the primary network id comes first, it parses
xs-network-ids and only copies the primary id to bridge-id when
monitor-external-ids is run.

Feature #3647

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Reviewed-by: Ben Pfaff <blp@nicira.com>
tests/interface-reconfigure.at
xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
xenserver/usr_share_openvswitch_scripts_monitor-external-ids