projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9726560
)
Fix bindings for PIF_set_MAC and PIF.set_MTU.
author
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:33:23 +0000
(12:33 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:33:23 +0000
(12:33 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendAPI.py
b/tools/python/xen/xend/XendAPI.py
index 2496bf84143725685f233bedd75c8fdda12a3e35..2da852c5dd083cdb595bfe30dec45984b8dece34 100644
(file)
--- a/
tools/python/xen/xend/XendAPI.py
+++ b/
tools/python/xen/xend/XendAPI.py
@@
-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: