Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Andy Zhou
On Fri, Mar 4, 2016 at 12:26 PM, Rajasekaran, Monica < monica.rajaseka...@us.fujitsu.com> wrote: > Hi Andy, > > > > Thanks for that suggestion. I will try that out. I am pretty new to this > so finding it hard. > > > > I have OVS-ODL integrated and up and also added flows. At what point > should I

[ovs-discuss] The flow entry gone wrong

2016-03-04 Thread Le Tran Duc
Hi everyone, Could you please tell me what I did wrong in this situation? I wanna set up a rate limiting policy at port of openvswitch. I did as follow: + Create a queue and qos: ovs-vsctl -- set Port ap5-wlan0 qos=@newqos -- --id=@newqos create QoS type=linux-htb other-config:max-rate=200

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Andy Zhou
Monica, you may want to trace through the code using gdb. GDB backtrace tells you where you came from and you can step forward through execution. You can alway attach gdb to a running process. If using sandbox, you can start vswitchd under gdb by using the '-g' option, as: $ make sandbox SANDBOX

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread André Mantas
I'm no ovs expert but handle_openflow(struct ofconn *ofconn, const struct ofpbuf *ofp_msg) looks like a good place to start. You can always search for function names to see where they're invoked. Rajasekaran, Monica escreveu no dia sexta, 4/03/2016 às 19:08: > I am looking at the code but I don’

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Rajasekaran, Monica
I am looking at the code but I don’t know what gets invoked first. Functions from header files and vswitchd and ovsdb modules have been called in between. Should I just add print statements to all the functions in ofproto.c and see how it goes when a packet comes in ? Or is there an alternative

Re: [ovs-discuss] Problems with vsctl vhost-del/connected device, OVS 2.4.0 with corrections from 2.4

2016-03-04 Thread Traynor, Kevin
> -Original Message- > From: Daniele Di Proietto [mailto:diproiet...@vmware.com] > Sent: Friday, March 4, 2016 12:29 AM > To: Jan Wickbom > Cc: discuss@openvswitch.org; Traynor, Kevin > Subject: Re: [ovs-discuss] Problems with vsctl vhost-del/connected device, > OVS 2.4.0 with correction

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread André Mantas
Have you tried ofproto/ofproto.c? Rajasekaran, Monica escreveu no dia sexta, 4/03/2016 às 17:23: > Well, I can see how things work when we give commands using ofctl, vsctl > etc. But, I still don’t get which file is invoked first when *a packet > arrives to the switch.* > > > > Any help on this

Re: [ovs-discuss] Open vSwitch Source code walkthrough

2016-03-04 Thread Rajasekaran, Monica
Well, I can see how things work when we give commands using ofctl, vsctl etc. But, I still don't get which file is invoked first when a packet arrives to the switch. Any help on this ? From: Rajasekaran, Monica Sent: Wednesday, March 02, 2016 2:32 PM To: 'discuss@openvswitch.org' Subject: Open

Re: [ovs-discuss] How to use IPSEC on OVS

2016-03-04 Thread Justin Pettit
> On Mar 4, 2016, at 1:42 AM, 王嵘 wrote: > > Dear all: > I want to use IPSEC on OVS switch, but I failed to find documents on > your website.And there is only GRE cmd in the ovs-vsctl.pdf. > So I come for your help, if there are some configuration files for IPSEC of > OVS? I did a Googl

Re: [ovs-discuss] Flow problem

2016-03-04 Thread Justin Pettit
> On Mar 3, 2016, at 8:48 AM, Wilson Kwok wrote: > > Hello all, > > I am newbie of Openflow, the following syntax want to block ping from host1 > to host2, but this flow has issue when run, I think is eth_type or ip_proto > has problem. > > curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:

[ovs-discuss] How to use IPSEC on OVS

2016-03-04 Thread 王嵘
Dear all: I want to use IPSEC on OVS switch, but I failed to find documents on your website.And there is only GRE cmd in the ovs-vsctl.pdf. So I come for your help, if there are some configuration files for IPSEC of OVS? Thanks a lot! Sincerely yours WangRong. ___

[ovs-discuss] Flow problem

2016-03-04 Thread Wilson Kwok
Hello all, I am newbie of Openflow, the following syntax want to block ping from host1 to host2, but this flow has issue when run, I think is eth_type or ip_proto has problem. curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:8f", "name":"host1-host2", "cookie":"0", "priority":"0", "eth_type":"0

[ovs-discuss] about ARP packet for Openflow switch

2016-03-04 Thread 邱俊瑋
Hi all, I have a question about the ARP packet. Machine configuration as follows: PC1 192.168.1.18 run ryu controller and openvswitch (version = 2.5.90, openflow protocols = 1.3) PC2 192.168.1.17 run a ArpProxy PC1 has a Daemon, is responsible for sending Arp request to PC2 openflow switch all pack

Re: [ovs-discuss] Compatibility of OVS 2.4 with DPDK 2.2

2016-03-04 Thread Vivek Gupta
Do we have DPDK integrated OVS branch in Git? Thanks & Regards Vivek Gupta -Original Message- From: Traynor, Kevin [mailto:kevin.tray...@intel.com] Sent: Friday, March 04, 2016 3:46 PM To: Justin Pettit; Vivek Gupta Cc: discuss@openvswitch.org Subject: RE: [ovs-discuss] Compatibility of

Re: [ovs-discuss] Compatibility of OVS 2.4 with DPDK 2.2

2016-03-04 Thread Vivek Gupta
Hi Thanks for your reply. Since OVS 2.5 was release just recently thus as per my assumption that there may be unseen problems will arise with using DPDK 2.2. Thus can we go ahead with OVS 2.4 with DPDK 2.1? Thanks & Regards Vivek Gupta From: Justin Pet

Re: [ovs-discuss] Compatibility of OVS 2.4 with DPDK 2.2

2016-03-04 Thread Traynor, Kevin
> -Original Message- > From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Justin > Pettit > Sent: Friday, March 4, 2016 7:10 AM > To: Vivek Gupta > Cc: discuss@openvswitch.org > Subject: Re: [ovs-discuss] Compatibility of OVS 2.4 with DPDK 2.2 > > > > On Mar 3, 2016, at

Re: [ovs-discuss] Compatibility of OVS 2.4 with DPDK 2.2

2016-03-04 Thread Federico Iezzi
Hi there, OVS 2.4 is not compatible with DPDK 2.1 (or above). Looking at the DPDK 2.1 implementation you will discover the reason. https://github.com/openvswitch/ovs/commit/18f777b2870a12431741ad37f95316bfe78989e5 "Note that this breaks compatibility with DPDK v2.0.0 although only for the library