-function set_system_uuid {
- if test -n "$INSTALLATION_UUID"; then
- action "Configuring Open vSwitch system UUID" true
- $vsctl --no-wait set Open_vSwitch . external-ids:system-uuid="$INSTALLATION_UUID"
+function set_system_ids {
+ if [ -f /etc/xensource-inventory ]; then
+ action "Configuring Open vSwitch system IDs" true
+ $vsctl --no-wait --timeout=5 set Open_vSwitch . \
+ external-ids:system-type="$PRODUCT_BRAND" \
+ external-ids:system-version="$PRODUCT_VERSION-$BUILD_NUMBER" \
+ external-ids:system-id="$INSTALLATION_UUID" \
+ external-ids:xs-system-uuid="$INSTALLATION_UUID"