Skip to contentSkip to conversation

xend: Implement VIF.get_network

PATCH New Masaki Kanno 1 participant 1 message Sep 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xend: Implement VIF.get_network

Hi,

This patch implements VIF.get_network.

Best regards,
Kan

tools/python/xen/xend/XendAPI.py +3 -0
diff -r 72d130772f36 tools/python/xen/xend/XendAPI.py
@@ -2197,6 +2197,9 @@
     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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel