[ovs-discuss] How to dump the flow from ovs and restore the flow to ovs?

2013-01-31 Thread yue wang
Hi guys, I use the command: ovs-ofctl dump-flows br0 > /root/flow_backup To save all flow entries into a file, but when i run: ovs-ofctl add-flows br0 /root/flow_backup It says: ovs-ofctl: must specify an action. I think the add flow syntax is not correct, so ho can i to dump flows to a file, an

[ovs-discuss] Adding new entry on ovs flow tables.

2013-01-31 Thread 김승철
Hey All, I am trying to add some extra values into the OVS flow tables. I use openvswitch and Floodlight as controller. I was added values in ofp_flow_mod in openflow-1.0.h & nx_flow_mod in Nicira-ext.h and controller side. And to receive values from controller, modifed ofputil_decode_flow

Re: [ovs-discuss] ovs-ofctl questions

2013-01-31 Thread 韩金朋
I have to do is two machines different vlan, should be how to add flow? 韩金朋 From: Ben Pfaff Date: 2013-02-01 14:30 To: ?? CC: discuss Subject: Re: Re: [ovs-discuss] ovs-ofctl questions If you just give the two machines the same VLAN tag then you don't have to add any flows. That would be

Re: [ovs-discuss] ovs-ofctl questions

2013-01-31 Thread Ben Pfaff
If you just give the two machines the same VLAN tag then you don't have to add any flows. That would be the usual solution. On Fri, Feb 01, 2013 at 09:43:47AM +0800, ?? wrote: > hi Ben: > How should I add a flow to make two virtual machines Ping pass, please help. > Thank you! > > > > > ?

Re: [ovs-discuss] How can i let the flow entries don't disppear after restart the ovs?

2013-01-31 Thread Ben Pfaff
On Fri, Feb 01, 2013 at 02:24:07PM +0800, Kris zhang wrote: > First i created a bridge br0, and then I added some flow entries into br0 > (for example: ovs-ofctl add-flow br0 dl_vlan=10,action=normal). but i found > the flow entries disppearred after i restart the ovs. (i use the command > ovs-ofct

[ovs-discuss] How can i let the flow entries don't disppear after restart the ovs?

2013-01-31 Thread Kris zhang
Hi guys, First i created a bridge br0, and then I added some flow entries into br0 (for example: ovs-ofctl add-flow br0 dl_vlan=10,action=normal). but i found the flow entries disppearred after i restart the ovs. (i use the command ovs-ofctl dump-flows br0). How can i let the flow entries persiste

Re: [ovs-discuss] The error of db.sock failed when system reboot

2013-01-31 Thread Hong Wayne
Hello Thiago: Thanks for your advising~ It's almost the same step like me, but I confused about the line '# To disable Open vSwitch and return to Linux Bridge module' For our steps, I think we are going to disable the Linux Bridge module and not brcompat module. Or I got wrong about that? Be

Re: [ovs-discuss] OVS remote administration

2013-01-31 Thread wchunx_ok
Host1 has the IP address 192.168.0.30 and Host2 has the IP address 192.168.0.224. I want only Host1 can administrate OVS2 on Host2 remotely. At 2013-01-31 16:17:31,"Justin Pettit" wrote: >Please don't drop the list. > >Is 192.168.0.30 a valid IP on Host2? Are you trying to have ovs-vsctl on >Ho

Re: [ovs-discuss] ovs-ofctl questions

2013-01-31 Thread 韩金朋
hi Ben: How should I add a flow to make two virtual machines Ping pass, please help. Thank you! 韩金朋 From: Ben Pfaff Date: 2013-01-31 23:31 To: ?? CC: discuss Subject: Re: [ovs-discuss] ovs-ofctl questions On Thu, Jan 31, 2013 at 04:28:13PM +0800, ?? wrote: > hi all: > I have two v

Re: [ovs-discuss] The error of db.sock failed when system reboot

2013-01-31 Thread Martinx - ジェームズ
I have the same problem here and I solve it with this: /etc/network/interfaces: # The primary network interface auto br100 iface br100 inet static # To disable Open vSwitch and return to Linux Bridge module, just comment next line: pre-up /etc/network/enable-ovs-brcompat.sh

Re: [ovs-discuss] ovs-ofctl questions

2013-01-31 Thread Ben Pfaff
On Thu, Jan 31, 2013 at 04:28:13PM +0800, ?? wrote: > hi all: > I have two virtual machines ,they have a different vlan tag,asfollws > > [root@node50 ~]# ovs-vsctl show > 98dd8985-540b-4838-a321-11006fa96694 > Bridge "virbr0" > Port "virbr0-nic" > Interface "virbr0

[ovs-discuss] ovs-ofctl questions

2013-01-31 Thread 韩金朋
hi all: I have two virtual machines ,they have a different vlan tag,asfollws [root@node50 ~]# ovs-vsctl show 98dd8985-540b-4838-a321-11006fa96694 Bridge "virbr0" Port "virbr0-nic" Interface "virbr0-nic" Port "virbr0" Interface "virbr0"

Re: [ovs-discuss] OVS remote administration

2013-01-31 Thread Justin Pettit
Please don't drop the list. Is 192.168.0.30 a valid IP on Host2? Are you trying to have ovs-vsctl on Host1 connect to Host2? If so, aren't you expecting Host2 to have the IP address 192.168.0.224? Unless there's a piece I'm missing, I don't think your configuration makes sense. --Justin O