Re: [ovs-discuss] internal port problem

2013-03-17 Thread Fang
Thank you.You have helped me a lot.I will continue to study the documents. At 2013-03-18 12:55:18,"Jesse Gross" wrote: >I would recommend reading the ovs-ofctl man page for examples. Your >description is too vague to be more specific than that. > >On Sun, Mar 17, 2013 at 7:46 PM, Fang wr

Re: [ovs-discuss] Sending port's logical ID via NXM_NX_REG to the controller

2013-03-17 Thread Ben Pfaff
On Sun, Mar 17, 2013 at 02:33:35PM +0200, Liran Schour wrote: > I used to send in Openvswitch 1.4.0 matchable port's logical ID to the > controller via a flow that load:value->NXM_NM_REG0. > I tried to do the same on the current release 1.9.0 and failed to do so. I > also tried to pass this informa

Re: [ovs-discuss] how rconn_run() works ?

2013-03-17 Thread Ben Pfaff
On Mon, Mar 18, 2013 at 08:52:14AM +0530, love you wrote: > I am working on OVS-1.7.3 code I just get stucked in the following code > snippat in rconn_run function that how it works, can you please help me out > how the code in blue works, is it a run time code ? STATES is a macro defined near the

Re: [ovs-discuss] internal port problem

2013-03-17 Thread Jesse Gross
I would recommend reading the ovs-ofctl man page for examples. Your description is too vague to be more specific than that. On Sun, Mar 17, 2013 at 7:46 PM, Fang wrote: > Just want to try.If I use different bridges,VM cannot access to the > internet.I am now trying to link the virtual environmen

Re: [ovs-discuss] problem about mod_vlan_vid

2013-03-17 Thread Ben Pfaff
On Mon, Mar 18, 2013 at 10:33:47AM +0800, Fang wrote: > Packets with a none zero VLAN ID that ingresses on an access port will be > dropped. > Packets whose VLAN ID is the access port's VLAN ID that engresses on an > access port will be carried,and stripped it's 802.1Q header. > When vm1 ping vm3

[ovs-discuss] how rconn_run() works ?

2013-03-17 Thread love you
Hi I am working on OVS-1.7.3 code I just get stucked in the following code snippat in rconn_run function that how it works, can you please help me out how the code in blue works, is it a run time code ? void rconn_run(struct rconn *rc) { int old_state; size_t i; if (rc->vconn) {

Re: [ovs-discuss] internal port problem

2013-03-17 Thread Fang
Just want to try.If I use different bridges,VM cannot access to the internet.I am now trying to link the virtual environment into the physical network using OVS. At 2013-03-18 08:46:02,"Jesse Gross" wrote: >On Fri, Mar 15, 2013 at 9:06 PM, Fang wrote: >> At 2013-03-15 23:31:07,"Jesse Gr

Re: [ovs-discuss] problem about mod_vlan_vid

2013-03-17 Thread Fang
Packets with a none zero VLAN ID that ingresses on an access port will be dropped. Packets whose VLAN ID is the access port's VLAN ID that engresses on an access port will be carried,and stripped it's 802.1Q header. When vm1 ping vm3,I think the process is like below: Packets will be add header

Re: [ovs-discuss] internal port problem

2013-03-17 Thread Jesse Gross
On Fri, Mar 15, 2013 at 9:06 PM, Fang wrote: > At 2013-03-15 23:31:07,"Jesse Gross" wrote: >>On Thu, Mar 14, 2013 at 10:28 PM, Fang wrote: >>> Thank you for your reply.I have two more questions. >>> 1.What's the difference between "internal port" and "fake bridge"?I can >>> use >>> "fake bridge"

[ovs-discuss] Sending port's logical ID via NXM_NX_REG to the controller

2013-03-17 Thread Liran Schour
I used to send in Openvswitch 1.4.0 matchable port's logical ID to the controller via a flow that load:value->NXM_NM_REG0. I tried to do the same on the current release 1.9.0 and failed to do so. I also tried to pass this information via set_field:value->metadata and failed also. What am I doing