WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix bindings for PIF_set_MAC and PIF.set_

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix bindings for PIF_set_MAC and PIF.set_MTU.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 05 Jan 2007 08:00:29 -0800
Delivery-date: Fri, 05 Jan 2007 08:00:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix bindings for PIF_set_MAC and PIF.set_MTU., Xen patchbot-unstable <=