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] xend: Implement VIF.get_network

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Implement VIF.get_network
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Sep 2009 00:55:17 -0700
Delivery-date: Fri, 18 Sep 2009 00:57:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253259878 -3600
# Node ID 7969c14c93fa72bc570c09a4d22730ca1498b7ab
# Parent  438c440f2a7ff443085af915db0d3bc950613afb
xend: Implement VIF.get_network

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendAPI.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r 438c440f2a7f -r 7969c14c93fa tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py  Fri Sep 18 08:29:46 2009 +0100
+++ b/tools/python/xen/xend/XendAPI.py  Fri Sep 18 08:44:38 2009 +0100
@@ -2197,6 +2197,9 @@ class XendAPI(object):
     def VIF_get_device(self, session, vif_ref):
         return self._VIF_get(vif_ref, 'device')
  
+    def VIF_get_network(self, session, vif_ref):
+        return self._VIF_get(vif_ref, 'network')
+ 
     def VIF_get_all(self, session):
         xendom = XendDomain.instance()
         vifs = [d.get_vifs() for d in XendDomain.instance().list('all')]

_______________________________________________
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] xend: Implement VIF.get_network, Xen patchbot-unstable <=