[ovs-discuss] question of operating openvswitch
Justin Pettit
jpettit at nicira.com
Mon Nov 8 08:26:47 UTC 2010
[Responding back on-list]
Since you're using XenServer, you can use the standard "xe" commands to see how things are configured. Alternatively, you can run "ovs-vsctl list interface" to dump all the information about interfaces from the OVS configuration database. For example, here's information about "vif7.1" on my system:
-=-=-=-=-=-=-=-=-=-=-
_uuid : a2d5cbf5-1289-4c05-beca-ee31fc2f0f3a
external_ids : {attached-mac="86:58:a8:c7:32:e5", iface-id="f5bc3ce6-3bd9-1057-5172-65d9c5f24256", xs-network-uuid="dff587ad-dcbc-f181-1e60-23ec40009528", xs-vif-uuid="f5bc3ce6-3bd9-1057-5172-65d9c5f24256", xs-vm-uuid="2e3c6409-6089-d02e-d971-b8e3e0e79cb3"}
ingress_policing_burst: 0
ingress_policing_rate: 0
mac : []
name : "vif7.1"
ofport : 1
options : {}
other_config : {}
statistics : {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status : {}
type : ""
-=-=-=-=-=-=-=-=-=-=-
You can see the VM's UUID by looking at the "xs-vm-uuid" key in "external_ids".
--Justin
On Nov 8, 2010, at 12:20 AM, Cain NG wrote:
> Hi,
>
> Yes.
>
> Cain
>
> 2010/11/8 Justin Pettit <jpettit at nicira.com>
> Are you asking how to determine which VIF is attached to which VM? What platform are you using?
>
> I don't see anything attached.
>
> --Justin
>
>
> On Nov 7, 2010, at 10:51 PM, Cain NG wrote:
>
> > Hi,
> >
> > In my openvswitch, does it has any command that i can know for my vifs is triggered to which VM?
> > Attached is my system configure for you reference.
> >
> > B.R.
> >
> > Cain
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
>
>
> <open_vswitch_Xenserver5.6.txt>
More information about the discuss
mailing list