Re: [ovs-discuss] Kernel oops running Open vSwitch on 3.3 Kernel (ARM)

2013-10-03 Thread Michele Bozier
Jesse, Many thanks for your suggestions. For the openvswitch.ko module built from the Open vSwitch git repository, the line of code causing the kernel oops appears to be the following in method ovs_flow_to_nlattrs(): if (nla_put_u32(skb, OVS_KEY_ATTR_PRIORITY, output->phy.priority))

[ovs-discuss] iptables with ovs

2013-10-03 Thread kevin parker
Hi, Is there any way that i can make iptables filtering to work with ovs. NAT is working but not able to filter traffic coming into the vm. Earlier with bridge i was able to filter using *-m physdev* ,but its not working with ovs. Is there any work around or changes that i can make for ip

Re: [ovs-discuss] Open vswitch and an existing vlan

2013-10-03 Thread Maxwell Bottiger
See, I knew this would be the group to ask. I missed that native-tagged/native-untagged was even an option. I set my eth1 port to native-tagged and voilĂ ! We have a running switch. This thing is pretty awesome. Thanks! On Wed, Oct 2, 2013 at 7:12 PM, Ben Pfaff wrote: > On Wed, Oct 02, 2013

Re: [ovs-discuss] Flow miss/Packet order question

2013-10-03 Thread Dmitry Fleytman
On Oct 3, 2013, at 04:20 AM, Jesse Gross wrote: > On Wed, Oct 2, 2013 at 4:49 AM, Dmitry Fleytman wrote: >> >> On Apr 30, 2012, at 20:15 PM, Ben Pfaff wrote: >> >>> I think that your explanation stems from a misunderstanding. Yes, if >>> an OpenFlow controller uses a reactive model, then it

Re: [ovs-discuss] OVS not forwarding

2013-10-03 Thread Gurucharan Shetty
On Wed, Oct 2, 2013 at 11:45 PM, sonia verma wrote: > Hi all.. > > The output of dmesg is as follows > > dmesg | grep ovs > [0.00] Linux version 3.5.7.17 (root@vvdnovs) (gcc version 4.6.3 > (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #3 SMP Thu Sep 5 09:35:11 IST 2013 () > [ 351.553616] device ovs-s

Re: [ovs-discuss] OVS not forwarding

2013-10-03 Thread Ben Pfaff
On Thu, Oct 03, 2013 at 07:24:33AM -0700, Gurucharan Shetty wrote: > On Wed, Oct 2, 2013 at 11:45 PM, sonia verma wrote: > > Hi all.. > > > > The output of dmesg is as follows > > > > dmesg | grep ovs > > [0.00] Linux version 3.5.7.17 (root@vvdnovs) (gcc version 4.6.3 > > (Ubuntu/Linaro 4.

Re: [ovs-discuss] iptables with ovs

2013-10-03 Thread ananthan
I dont think "iptables -m physdev vif" can work with ovs,but in openstack i think they made it to work by attaching virtual interface to Linux bridge and then to ovs bridge,may be some one can explain it better. On Thu, Oct 3, 2013 at 2:45 PM, kevin parker wrote: > Hi, >Is there any

[ovs-discuss] Trunk & Vlan tag with ovsbr0,eth0 and vnet0

2013-10-03 Thread ashish yadav
Hi, I was doing some exercise, came across few scenario. I need help to understand these cases. *Environment: * a. One Host and one VM in it b. OVS running: [root@sholay ashish]# ovs-vsctl show 2b113c03-81e5-4c90-ba6c-b2eb2381432a Bridge "ovsbr0" Port "ovsbr0" Interf

Re: [ovs-discuss] OVS not forwarding

2013-10-03 Thread sonia verma
Hi all.. The output of dmesg is as follows dmesg | grep ovs [0.00] Linux version 3.5.7.17 (root@vvdnovs) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #3 SMP Thu Sep 5 09:35:11 IST 2013 () [ 351.553616] device ovs-system entered promiscuous mode root@vvdnovs:~# root@vvdnovs:~# root

Re: [ovs-discuss] How to read L2 MAC tables

2013-10-03 Thread Justin Pettit
On Oct 2, 2013, at 7:11 PM, Morgan Yang wrote: > Thanks. Is it possible to dump the flows into the ovsdb so if I have a backup > ovs instance,, it can just load the flow information? Or, is it expected to > have redundant openflow controllers to do that? OVSDB and OpenFlow are two different

[ovs-discuss] Hello OpenVSwitch friends

2013-10-03 Thread Phil Daws
Good morning/afternoon/evening All, Have successfully compiled/installed OpenVSwitch 1.11.0 on a CentOS 6.4 server with KVM installed and now scratching ones head. I have removed the standard Linux bridge from the ethernet interface and rebound the IP to the default NIC and rebooted. Where do

Re: [ovs-discuss] Flow miss/Packet order question

2013-10-03 Thread Jesse Gross
On Thu, Oct 3, 2013 at 6:26 AM, Dmitry Fleytman wrote: > On Oct 3, 2013, at 04:20 AM, Jesse Gross wrote: >> On Wed, Oct 2, 2013 at 4:49 AM, Dmitry Fleytman wrote: >>> >>> On Apr 30, 2012, at 20:15 PM, Ben Pfaff wrote: >>> I think that your explanation stems from a misunderstanding. Yes, i

Re: [ovs-discuss] Kernel oops running Open vSwitch on 3.3 Kernel (ARM)

2013-10-03 Thread Jesse Gross
Both of these functions are pretty innocuous, don't work with shared data, and shouldn't be architecture-specific. Furthermore, given that the problem remains essentially the same but moves around between versions indicates to me that the issue isn't with the code itself. It sounds to me that ther

[ovs-discuss] ovsdb protocol version

2013-10-03 Thread Vasiliy Tolstov
Hi All. I'm try to implement in controller ovsdb protocol to control ovs. I see that in ietf site two protocols version 02 and 04. What version use current vSwitch 2.0 ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ discuss

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Ben Pfaff
On Fri, Oct 04, 2013 at 07:45:48AM +0400, Vasiliy Tolstov wrote: > I'm try to implement in controller ovsdb protocol to control ovs. > I see that in ietf site two protocols version 02 and 04. > What version use current vSwitch 2.0 ? All the versions of the draft describe the current vswitch, but t

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Vasiliy Tolstov
2013/10/4 Ben Pfaff : > All the versions of the draft describe the current vswitch, but the > newer versions are slightly better worded. Thanks, Ben! I have a question about : https://tools.ietf.org/html/draft-pfaff-ovsdb-proto-04, Why Max integer or string? Why no use -1 for max for example? In

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Ben Pfaff
On Fri, Oct 04, 2013 at 08:01:45AM +0400, Vasiliy Tolstov wrote: > I have a question about : > https://tools.ietf.org/html/draft-pfaff-ovsdb-proto-04, Why Max > integer or string? Why no use -1 for max for example? > In case of integer or sting this creates problems with automatic > encoding/decodi

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Vasiliy Tolstov
2013/10/4 Ben Pfaff : > The format is flexible and I didn't have a reason not to use it. Yes, but why not use single type for example string in this case and not use OR ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ discu

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Ben Pfaff
On Fri, Oct 04, 2013 at 08:10:12AM +0400, Vasiliy Tolstov wrote: > 2013/10/4 Ben Pfaff : > > The format is flexible and I didn't have a reason not to use it. > > Yes, but why not use single type for example string in this case and > not use OR ? I don't understand why you think it's a strange cho

Re: [ovs-discuss] ovsdb protocol version

2013-10-03 Thread Vasiliy Tolstov
2013/10/4 Ben Pfaff : > I don't understand why you think it's a strange choice to use the string > value "unlimited", for an unlimited value, or an integer, when an > integer limit is wanted. On the contrary, to me it seems transparently > easy to understand. Yes, name is very transparently to u

Re: [ovs-discuss] Trunk & Vlan tag with ovsbr0,eth0 and vnet0

2013-10-03 Thread ashish yadav
Hi, Could anyone please look into these fundamental queries of OVS & Vlan and reply ? Thanks & Regards Ashish On Thu, Oct 3, 2013 at 9:42 PM, ashish yadav wrote: > Hi, > > I was doing some exercise, came across few scenario. > I need help to understand these cases. > > *Environment: *

Re: [ovs-discuss] Trunk & Vlan tag with ovsbr0,eth0 and vnet0

2013-10-03 Thread Ben Pfaff
The results you explain in all of your scenarios are what I would expect to happen. Did you read the introduction to VLANs in the OVS FAQ? Q: What's a VLAN? A: At the simplest level, a VLAN (short for "virtual LAN") is a way to partition a single switch into multiple switches. Suppose, for

Re: [ovs-discuss] Trunk & Vlan tag with ovsbr0,eth0 and vnet0

2013-10-03 Thread ashish yadav
Hi Ben, I have gone through OVS FAQ , but not able to understand Scenario 3 from FAQ. So could you please help me in same ? Thanks & Regards Ashish On Fri, Oct 4, 2013 at 10:16 AM, Ben Pfaff wrote: > The results you explain in all of your scenarios are what I would expect > to happen.

[ovs-discuss] ovsdb-server listen ptcp: and ovs-* utils

2013-10-03 Thread Vasiliy Tolstov
Hello! I want to debug own ovsdb client and needed that ovsdb-server listens for tcp connection on some port. How can i specify to listen ptcp and punix in same time? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ discuss ma

Re: [ovs-discuss] ovsdb-server listen ptcp: and ovs-* utils

2013-10-03 Thread Ben Pfaff
On Fri, Oct 04, 2013 at 09:45:16AM +0400, Vasiliy Tolstov wrote: > I want to debug own ovsdb client and needed that ovsdb-server listens > for tcp connection on some port. How can i specify to listen ptcp and > punix in same time? Use multiple --remote options.