xenserver: Restore XS5.5 compatibility for vif script.
authorBen Pfaff <blp@nicira.com>
Fri, 12 Mar 2010 23:08:18 +0000 (15:08 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Mar 2010 16:48:06 +0000 (09:48 -0700)
commitc69af19fe8f20b5a3333e54310b1592bc3f6dfd0
treeaeff59b0eda250cd02248af1f0994a86b17cd213
parent883b106184656ff004f15c7872de31433918c94f
xenserver: Restore XS5.5 compatibility for vif script.

XAPI in XenServer 5.5 does not put the vif-uuid or network-uuid into
XenStore, so the vif script needs to query xapi for those attributes in
that case.

Tested with XenServer 5.5.0 update 1 and XenServer 5.5.9 build 29381
(the latter just to make sure I didn't break anything).

Signed-off-by: Ben Pfaff <blp@nicira.com>
xenserver/etc_xensource_scripts_vif