[ovs-dev] [PATCH 3/5] xenserver: Report the system type and version as external ids

Ben Pfaff blp at nicira.com
Wed Aug 25 23:23:21 UTC 2010


On Wed, Aug 25, 2010 at 04:10:21PM -0700, Justin Pettit wrote:
> +        $vsctl --no-wait set Open_vSwitch . external-ids:system-type="$PRODUCT_BRAND"
> +        $vsctl --no-wait set Open_vSwitch . external-ids:system-version="$PRODUCT_VERSION-$BUILD_NUMBER"
>          $vsctl --no-wait set Open_vSwitch . external-ids:system-uuid="$INSTALLATION_UUID"

This should work fine, but you can do it in a single command:

    $vsctl --no-wait set Open_vSwitch . \
        external-ids:system-type="$PRODUCT_BRAND" \
        external-ids:system-version="$PRODUCT_VERSION-$BUILD_NUMBER" \
        external-ids:system-uuid="$INSTALLATION_UUID"




More information about the dev mailing list