mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix bindings for PIF_set_MAC and PIF.set_MTU.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
972656054c
commit
e821b95d39
1 file changed
+2
-2
@@ -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:
|
||||
|
||||