Fix bindings for PIF_set_MAC and PIF.set_MTU.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2007-01-05 12:33:23 +00:00
1 parent 972656054c
commit e821b95d39
1 file changed
+2 -2
+2 -2
View File
@@ -593,10 +593,10 @@ class XendAPI:
return xen_api_success(self._get_PIF(ref).set_name(name))
def PIF_set_MAC(self, _, ref, mac):
return xen_api_success(self._get_PIF(ref).set_mac(name))
return xen_api_success(self._get_PIF(ref).set_mac(mac))
def PIF_set_MTU(self, _, ref, mtu):
return xen_api_success(self._get_PIF(ref).set_mtu(name))
return xen_api_success(self._get_PIF(ref).set_mtu(mtu))
def PIF_create_VLAN(self, _, ref, network, vlan):
try:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.