[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Implement VIF.get_network



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.