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

Justin Pettit jpettit at nicira.com
Wed Aug 25 23:52:33 UTC 2010


On Aug 25, 2010, at 4:23 PM, Ben Pfaff wrote:

> 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"


Good suggestion.

--Justin






More information about the dev mailing list