Re: [ovs-discuss] Fwd: Bonding issues with ovs

2013-04-22 Thread Ryan Young
Hi, Sorry for the unprofessional behavior. I setup LACP Bonding following the steps below: 1. Modify the configuration files for bond0,eth2,eth3 to enable lacp bonding: # DEVICE="bond0" BOOTPROTO="static" ONBOOT="yes" TYPE="ethernet" IPADDR=192.168.234.2 NETMASK=255.255.255.0 BONDI

Re: [ovs-discuss] test result

2013-04-22 Thread Ben Pfaff
None of the tests are classifier benchmarks. On Tue, Apr 23, 2013 at 08:53:52AM +0530, Prashant Chougule wrote: > results of latency,packet processing in classifier i mean how much time it > will take to process like 1 rules or some standards, and about that > test-packet,test-flow how to use

Re: [ovs-discuss] [Seek help]OVS setting with NOX controller

2013-04-22 Thread Murphy McCauley
Try running a NOX application (e.g., switch). -- Murphy On Apr 18, 2013, at 11:29 PM, alan04 wrote: > Hello everyone, > > I am a newbie to NOX and OpenFlow. I have some problems in setting the > NOX(0.9.2 core-beta) controller using Open VSwitch (OVS) 1.9.90. Hope some > one could give me so

Re: [ovs-discuss] [Seek help]OVS setting with NOX controller

2013-04-22 Thread Yeming Zhao
I think "set-controller" is all you need. I've been using POX with OVS 1.9. Check if NOX closes the connection for whatever reason. Does wireshark give a clue on who ended the TCP session? On Fri, Apr 19, 2013 at 2:29 PM, alan04 wrote: > Hello everyone, > > I am a newbie to NOX and OpenFlow. I

Re: [ovs-discuss] test result

2013-04-22 Thread Prashant Chougule
results of latency,packet processing in classifier i mean how much time it will take to process like 1 rules or some standards, and about that test-packet,test-flow how to use that ? so that i can compare with modified code make some conclusion. On Mon, Apr 22, 2013 at 8:55 PM, Ben Pfaff wro

[ovs-discuss] 答复: ????: ????: [ovs]deleting interfaces connnected to ports results in ovs-vswitchd memory growing

2013-04-22 Thread pengyi Peng(Yi)
I find that when ovs-vswitchd memory is abnormally growing, backlog in struct rpc is growing fast too. Almost every time in jsonrpc_run, stream_send returns -EAGAIN, the msg holds and waits next time to send. The backlog pluses the strlen of next msg. So the backlog can be as big as 1228252. But

Re: [ovs-discuss] Simulate PVLAN(isolated secondary vlan) using OVS

2013-04-22 Thread Sheng Yang
On Mon, Apr 22, 2013 at 3:49 PM, Ben Pfaff wrote: > On Mon, Apr 22, 2013 at 03:44:54PM -0700, Sheng Yang wrote: > > On Mon, Apr 22, 2013 at 3:24 PM, Ben Pfaff wrote: > > > > > On Mon, Apr 22, 2013 at 03:17:36PM -0700, Sheng Yang wrote: > > > > Thanks Ben, I've checked the tutorial. But fully imp

Re: [ovs-discuss] Simulate PVLAN(isolated secondary vlan) using OVS

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 03:44:54PM -0700, Sheng Yang wrote: > On Mon, Apr 22, 2013 at 3:24 PM, Ben Pfaff wrote: > > > On Mon, Apr 22, 2013 at 03:17:36PM -0700, Sheng Yang wrote: > > > Thanks Ben, I've checked the tutorial. But fully implement a switch > > seems a > > > big work for us at this tim

Re: [ovs-discuss] Simulate PVLAN(isolated secondary vlan) using OVS

2013-04-22 Thread Sheng Yang
On Mon, Apr 22, 2013 at 3:24 PM, Ben Pfaff wrote: > On Mon, Apr 22, 2013 at 03:17:36PM -0700, Sheng Yang wrote: > > Thanks Ben, I've checked the tutorial. But fully implement a switch > seems a > > big work for us at this time(and our current version of OVS don't have > > multiple flow tables sup

Re: [ovs-discuss] Simulate PVLAN(isolated secondary vlan) using OVS

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 03:17:36PM -0700, Sheng Yang wrote: > Thanks Ben, I've checked the tutorial. But fully implement a switch seems a > big work for us at this time(and our current version of OVS don't have > multiple flow tables support to make it more clear), How old is your version of OVS?

Re: [ovs-discuss] Simulate PVLAN(isolated secondary vlan) using OVS

2013-04-22 Thread Sheng Yang
On Sun, Apr 21, 2013 at 9:39 PM, Ben Pfaff wrote: > On Sun, Apr 21, 2013 at 07:40:46PM -0700, Sheng Yang wrote: > > On Sun, Apr 21, 2013 at 5:06 PM, Ben Pfaff wrote: > > > > > On Sun, Apr 21, 2013 at 04:52:00PM -0700, Sheng Yang wrote: > > > > I think openflow 1.1 should be able to deal with it,

Re: [ovs-discuss] Flow from string

2013-04-22 Thread Igor Ryzhov
Thank you, I'll look the examples. понедельник, 22 апреля 2013 г. пользователь Ben Pfaff писал: > Please don't drop the list. > > You can use the functions that you already found. The tree contains > examples of their use together. > > On Mon, Apr 22, 2013 at 09:39:38PM +0400, Igor Ryzhov wrote:

Re: [ovs-discuss] L2 Isolation

2013-04-22 Thread Trebor Forban
Hello Ben, ok, thanks. Unfortunately, I'm not familiar with ovs and the potential advantages/disadvantages or even the viability of various approaches. I was hoping there might be an "obvious/recommended" way, but if that's not the case, I would like to go the vlan route. Perhaps someone has som

Re: [ovs-discuss] NFS Xen and OVS

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 11:13:57AM +0200, Florian Manschwetus wrote: > Is it possibly an packetsize issue? as I have rsize and wsize at 32768? The one unusual thing about NFS, among protocols generally, is that it uses large UDP datagrams. This means that NFS-over-UDP can sometimes uncover previo

Re: [ovs-discuss] Flow from string

2013-04-22 Thread Ben Pfaff
Please don't drop the list. You can use the functions that you already found. The tree contains examples of their use together. On Mon, Apr 22, 2013 at 09:39:38PM +0400, Igor Ryzhov wrote: > I just want to convert string representation of flow to structure > representation and then use fields of

Re: [ovs-discuss] L2 Isolation

2013-04-22 Thread Trebor Forban
Hello Ben, thanks for your input; do you possibly have any pointers/examples to get me going? I read about needing an openflow controller (pox?), but I really know nothing about flows. Can L2 isolation not be achieved with ovs alone? Regards, TF 2013/4/22 Ben Pfaff > On Mon, Apr 22, 2013 at 0

Re: [ovs-discuss] L2 Isolation

2013-04-22 Thread Ben Pfaff
Sure it can, with VLANs, but you already said that had other problems with VLANs, so I'm suggesting another approach. On Mon, Apr 22, 2013 at 06:53:31PM +0200, Trebor Forban wrote: > Hello Ben, > > thanks for your input; do you possibly have any pointers/examples to get me > going? > I read about

Re: [ovs-discuss] Flow from string

2013-04-22 Thread Igor Ryzhov
I just want to convert string representation of flow to structure representation and then use fields of this structure for different purposes. Obviously I can develop my own function implementing this behavior. But now I just want to know - is there any way to do this using already developed OVS fu

Re: [ovs-discuss] L2 Isolation

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 03:45:23PM +0200, Trebor Forban wrote: > what is the recommended way to achieve L2 isolation with VMs and ovs? > > I have multiple VMs that are identical and hence have identical MAC > addresses. You might be able to write some OpenFlow rules for MAC address translation. _

Re: [ovs-discuss] Adding IP options field in IP header

2013-04-22 Thread Ben Pfaff
On Tue, Apr 23, 2013 at 01:02:34AM +0900, ? wrote: > I want to add IP options field to receive packet in OVSwitch. > In OVS source code, however, no structure for IP options. If you want to add IP options support, it is because IP options are not yet supported, so your conclusion that IP

[ovs-discuss] L2 Isolation

2013-04-22 Thread Trebor Forban
Hello, what is the recommended way to achieve L2 isolation with VMs and ovs? I have multiple VMs that are identical and hence have identical MAC addresses. I've been using qemus "-net user" (slirp), but the performance is poor. I've tried ovs tagged vlans, but am having trouble getting dnsmasq/

[ovs-discuss] Adding IP options field in IP header

2013-04-22 Thread 김성수
Hello everyone, I want to add IP options field to receive packet in OVSwitch. In OVS source code, however, no structure for IP options. The others are right there, IP, ethernet, and tcp headers. I think I should approach with this lower level... like using skbuff or something. Any comments an

Re: [ovs-discuss] Sending tun_id over VXLAN tunnel

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 04:27:12PM +0300, Liran Schour wrote: > I am using Openvswitch 1.10.90. > I tried to pass tun_id over VXLAN tunnel by setting a flow for that and > match tun_id on the destination side and failed to do that. > It seems like the tun_id did not pass on the wire. > > On the so

Re: [ovs-discuss] Flow from string

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 06:27:23PM +0400, Igor Ryzhov wrote: > I need to get *struct flow* from a string. For what purpose? How you want to parse a string into a flow depends on what you eventually want to use the flow for. ___ discuss mailing list disc

Re: [ovs-discuss] test result

2013-04-22 Thread Ben Pfaff
On Mon, Apr 22, 2013 at 04:37:57PM +0530, Prashant Chougule wrote: > I am studying classifier part to modify the classification, > where can i get standard test result of openvswitch to compare with > modified code? i looked on so many links but i didn't get proper info about > the test

[ovs-discuss] Flow from string

2013-04-22 Thread Igor Ryzhov
Hello. I need to get *struct flow* from a string. I have not found desired function, but I found two functions: *odp_flow_key_from_string *and *odp_flow_key_to_flow *from odp-util.c I tried to use them in succession, but it doesn't work. The input string is "ipv4(src=10.0.124.4,dst=10.0.124.1,pr

[ovs-discuss] Sending tun_id over VXLAN tunnel

2013-04-22 Thread Liran Schour
Hi, I am using Openvswitch 1.10.90. I tried to pass tun_id over VXLAN tunnel by setting a flow for that and match tun_id on the destination side and failed to do that. It seems like the tun_id did not pass on the wire. On the source side I added the following flow: ovs-ofctl add-flow br-

[ovs-discuss] test result

2013-04-22 Thread Prashant Chougule
Hello, I am studying classifier part to modify the classification, where can i get standard test result of openvswitch to compare with modified code? i looked on so many links but i didn't get proper info about the test result, and can you tell how to use that binary in tests folder li

[ovs-discuss] NFS Xen and OVS

2013-04-22 Thread Florian Manschwetus
Moin, I have currently trouble with nfs from dom0 to guest. I use debian testing originally with ovs-1.4.2 (whatever shipped with testing), also xen kernel etc. As nfs server I use a nexenta community on xen (managed by ganeti using drbd) Due to the issues I build ovs-1.9.0 debs and updated m