Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Jesse Gross
Yes - for the Linux kernel datapath; there are many tutorials on configuring VXLAN on OVS online, please take a look at one of these for information on how to set up ports. As I mentioned before, with the kernel module OVS receives packets through the Linux IP stack, which means the physical devic

Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Abhishek Verma
Jesse, Can i do the following: I create an OVS bridge with only 2 VXLAN tunnels. So, i have two virtual ports in my bridge. I have eth0, over which i physically recieve the VXLAN packets, and i dont add that to OVS. Is this configuration possible? I thought that i ought to add eth0 also to my b

Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Abhishek Verma
So youre saying that in DPDK + OVS, OVS actually retains a copy of the entire routing and ARP tables. Interesting, i hadnt realized that. About eth0, my assumption was that a port over which a packet needs to be sent out or received on MUST always be added to the OVS bridge. How can i trap a packe

Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Jesse Gross
The DPDK path operates differently - the kernel stack in not invoked. In that case, eth0 does need to be attached to OVS but, again, not in the same bridge. OVS will sync the routing table from the kernel but otherwise implements ARP, etc. internally and retains control of the packet until it is se

Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Abhishek Verma
Thanks Jesse. How does this work when OVS is running in the user space along with DPDK. Does OVS again send packets to Linux stack for forwarding? I thought the whole point there was NOT to involve the Linux stack. Asking this since i thought that since eth0 is a part of the OVS bridge, its OVS t

Re: [ovs-discuss] when ovs-2.4.0 release ?

2015-07-28 Thread Justin Pettit
> On Jul 22, 2015, at 6:57 AM, yinpeijun wrote: > > Hi all, > In OPNFV community I saw the ovs-2.4 trend to release at the end of > August,is that really? Mid to end of August seems likely. > And in the maillist of ovs discuss say ovs-2.4 will not be a LTS ? Correct. > I

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
The OvS log suggest connection refused. 2015-07-28T11:50:22.459Z|11536|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log 2015-07-28T11:50:22.890Z|11537|rconn|WARN|br0<->ssl:172.31.1.2:6633: connection dropped (Connection refused) 2015-07-28T11:50:30.890Z|11538|rconn|WARN|br0<->ssl:

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
Hello Justin, Thank you for the tip. I did run that, and I could see that its set to false. sanket@sanket-ubuntu-ovs:~$ sudo ovs-vsctl list controller _uuid : 5236a306-4ec2-4ee8-b554-e09d42ecc1fc connection_mode : [] controller_burst_limit: [] controller_rate_limit: [] enable_as

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
Just figured out the error was in the protocol. When changed to TCP, it is connected. How do I make it work for SSL instead? Thank you for the help. I appreciate it. -Original Message- From: Justin Pettit [mailto:jpet...@nicira.com] Sent: Tuesday, July 28, 2015 12:04 PM To: Tandulwadkar

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Justin Pettit
> On Jul 28, 2015, at 9:26 AM, Tandulwadkar, Sanket Ravindra (Sanket Ravindra) > wrote: > > sanket@sanket-ubuntu-ovs:~$ openssl s_client -connect 172.31.1.2:6633 > CONNECTED(0003) > 140381499594384:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol:s23_clnt.c:795: It lo

Re: [ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Jesse Gross
On Tue, Jul 28, 2015 at 5:18 AM, Abhishek Verma wrote: > Hi, > > I have an OVS bridge in which i have added an eth0 and an eth1 port. I am > receiving some traffic on eth1 and am sending it out on a VXLAN tunnel that > goes out over eth0. It does not make sense to have eth0 in the same bridge as

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Justin Pettit
> On Jul 28, 2015, at 9:09 AM, Tandulwadkar, Sanket Ravindra (Sanket Ravindra) > wrote: > > Hello Justin, > > Thank you for the tip. I did run that, and I could see that its set to false. > > sanket@sanket-ubuntu-ovs:~$ sudo ovs-vsctl list controller > _uuid : 5236a306-4ec2-4ee8

Re: [ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Justin Pettit
> On Jul 27, 2015, at 10:05 AM, Tandulwadkar, Sanket Ravindra (Sanket Ravindra) > wrote: > > sanket@sanket-ubuntu-ovs:~$ sudo ovs-vsctl show > cdf33b4e-420b-434d-87ba-d0e2183c9d47 > Bridge "br0" > Controller "ssl:172.31.1.2:6633" > Port "eth1" > Interface "eth1"

[ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354

2015-07-28 Thread Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
Hello, I am trying to add TLS support to ODL using OVS. I believe my controller is not able to receive packets. I am setting controller using: sudo ovs-vsctl --verbose set-controller br0 ssl:172.31.1.2:6633 The output I get is: 2015-07-27T16:59:41Z|2|reconnect|DBG|unix:/var/run/openvswitch

Re: [ovs-discuss] Problems with MPLS header pushing

2015-07-28 Thread Ben Pfaff
On Tue, Jul 28, 2015 at 02:33:12PM +0200, thomas.mo...@orange.com wrote: > 2015-07-27, Ben Pfaff: > >If MPLS is going to work well in Open vSwitch, we need a developer to > >champion implementing and testing it. None of the OVS developers right > >now have a use case for MPLS, so we don't use it a

Re: [ovs-discuss] Problems with MPLS header pushing

2015-07-28 Thread thomas.morin
Hi Ben, 2015-07-27, Ben Pfaff: If MPLS is going to work well in Open vSwitch, we need a developer to champion implementing and testing it. None of the OVS developers right now have a use case for MPLS, so we don't use it and don't test it, and therefore don't find bugs, missing features, perfor

[ovs-discuss] OVS -- Linux interaction

2015-07-28 Thread Abhishek Verma
Hi, I have an OVS bridge in which i have added an eth0 and an eth1 port. I am receiving some traffic on eth1 and am sending it out on a VXLAN tunnel that goes out over eth0. My question is this: For the packet to eventually go out, the outer L2 header must be populated. For that we need to const

[ovs-discuss] Is it possible to clear statistics of bridge ?

2015-07-28 Thread Badiger, Vishwanath (Vishwa)
Hi All, Is it possible to clear statistics of bridge using any of ovs commands ? If yes, which command and how can we do it ? I am searching for such command in OVS documents, but not finding such information. Would like to know the reason if clearing statistics is not supported by OVS. Thanks i