xend: Implement VIF.get_network
PATCH 1/1 xend: Implement VIF.get_network
Hi,
This patch implements VIF.get_network.
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xend/XendAPI.py +3 -0
@@ -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