ia64/xen-unstable

changeset 2495:879d7c8f0d19

bitkeeper revision 1.1159.1.162 (414b0c7eCPgG8brLgsKH1SwrQz7JJQ)

Fix args to vnet control command.
author mjw@wray-m-3.hpl.hp.com
date Fri Sep 17 16:10:38 2004 +0000 (2004-09-17)
parents 6279ded05b71
children c7b0154dff73
files tools/python/xen/xend/XendVnet.py
line diff
     1.1 --- a/tools/python/xen/xend/XendVnet.py	Thu Sep 16 19:46:47 2004 +0000
     1.2 +++ b/tools/python/xen/xend/XendVnet.py	Fri Sep 17 16:10:38 2004 +0000
     1.3 @@ -55,7 +55,7 @@ class XendVnetInfo:
     1.4      def vifctl(self, op, vif, vmac):
     1.5          try:
     1.6              fn = self.vifctl_ops[op]
     1.7 -            return vnet_cmd([fn, ['vif', vif], ['vmac', vmac]])
     1.8 +            return vnet_cmd([fn, ['vnet', self.id], ['vif', vif], ['vmac', vmac]])
     1.9          except XendError:
    1.10              log.warning("vifctl failed: op=%s vif=%s mac=%s", op, vif, vmac)
    1.11