ia64/xen-unstable

changeset 13275:58efd34d0837

Fix bindings for PIF_set_MAC and PIF.set_MTU.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Jan 05 12:33:23 2007 +0000 (2007-01-05)
parents ea493d9b82df
children 16b0e0f250f4
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Fri Jan 05 12:32:40 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Fri Jan 05 12:33:23 2007 +0000
     1.3 @@ -593,10 +593,10 @@ class XendAPI:
     1.4          return xen_api_success(self._get_PIF(ref).set_name(name))
     1.5  
     1.6      def PIF_set_MAC(self, _, ref, mac):
     1.7 -        return xen_api_success(self._get_PIF(ref).set_mac(name))
     1.8 +        return xen_api_success(self._get_PIF(ref).set_mac(mac))
     1.9  
    1.10      def PIF_set_MTU(self, _, ref, mtu):
    1.11 -        return xen_api_success(self._get_PIF(ref).set_mtu(name))
    1.12 +        return xen_api_success(self._get_PIF(ref).set_mtu(mtu))
    1.13  
    1.14      def PIF_create_VLAN(self, _, ref, network, vlan):
    1.15          try: