Hi Mike, Thanks for the pointers.
Yes, I am using XAPI SDK for Java. Does that mean I need to use SDK API to get "network-name-label "? If you have any sample code (or) references, could you point me? Thanks for your time and help. Thank you, Giri On Fri, Nov 16, 2012 at 9:37 AM, Mike McClurg <[email protected]>wrote: > On 14/11/12 17:05, giri vara prasad nambari wrote: > > Hi Community, > > > > I have posted this question on *citrix* forums and they re-directed > > me to xen.org <http://xen.org>. Could someone please help me with > > following question? > > > > I have looked at following url to retrieve XenServer performance > > metrics using HTTP > > > > http://community.citrix.com/display/xs/Using+XenServer+RRDs > > > > I am able to see valid entries in browser when I type in url. > > > > The question I have here is > > > > In XenClient I am seeing Network names as something like "Bond 0+1 > > Recieve" and "Bond 0+1 Send" etc., > > But in XML response they are showing as vif_0_tx and vif_0_tx. How > > can I get above names (like Bond 0+1) instead of vif_0_tx? > > > > Could someone please point me on how could I get "Bond 0+1" as name > > instead of vif_0_tx? > > "Bond 0+1" is the name-label of the network that the VIF is connected > to. From the data source name vif_0_tx, you can tell that this is the > VIF on the VM with device 0. So you can do 'xe vif-list vm-uuid=<blah> > device=0 params=network-name-label --minimal', which will then give you > "Bond 0+1". > > If you're using the XenAPI directly, you'll have to do a little more > work than the above xe command, but that should get you started. > > Mike > > > Any help would be appreciated. > > > > Thanks for your time and help. > > > > Thank you, > > Giri > > > > > >
_______________________________________________ Xen-api mailing list [email protected] http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
