[ovs-dev] [PATCH 2/3] xenserver: Ditch ovs-xenserverd even on XenServer 5.5.0.

Jesse Gross jesse at nicira.com
Mon Jun 7 21:34:58 UTC 2010


On Fri, Jun 4, 2010 at 12:47 PM, Ben Pfaff <blp at nicira.com> wrote:
>
> +# On XenServer 5.5.0, we need refresh-network-uuids to run whenever
> +# XAPI starts or restarts.  (On XenServer 5.6.0, XAPI calls the
> +# "update" method of the vswitch-cfg-update plugin whenever it starts
> +# or restarts, so this is no longer necessary.)
> +if test "$PRODUCT_VERSION" = "5.5.0"; then
> +    RNU=/usr/share/openvswitch/scripts/refresh-network-uuids
> +    XSS=/opt/xensource/libexec/xapi-startup-script
> +    rm -f $XSS
> +    ln -s $RNU $XSS
> +fi
>

I feel like we should at least warn if there is something there, rather than
just blowing it away.

Otherwise looks good as long as you are confident that it is OK to use this
hook.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20100607/38df5d07/attachment-0003.html>


More information about the dev mailing list