# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1168000403 0
# Node ID 58efd34d08375a13a33cf07f78af3cb8f094c322
# Parent ea493d9b82dfbeba7b97acbaea12de99d3ca0bc8
Fix bindings for PIF_set_MAC and PIF.set_MTU.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendAPI.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r ea493d9b82df -r 58efd34d0837 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py Fri Jan 05 12:32:40 2007 +0000
+++ b/tools/python/xen/xend/XendAPI.py Fri Jan 05 12:33:23 2007 +0000
@@ -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:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|