[ovs-discuss] How to store the tcp_src or tcp_dst field value in a variable and then print in vlogs?

2019-02-14 Thread Krish
Hi I want to store tcp_src, dst port in a variable. This is what I am doing: 1. Retrieve packet from dp_packet_batch one by one. 2. Retrieving field values by extracting packets headers: struct ip_header *ip = dp_packet_l3(packet); nw_proto = ip->ip_proto; if(nw_proto == 6) { struct tcp_header *t

Re: [ovs-discuss] [ovs-dev] how to enable the log of ovn

2019-02-14 Thread taoyunupt
It's a great help.Thanks,Lucas. At 2019-02-15 00:20:49, "Lucas Alvares Gomes" wrote: >Hi Yunxiang, > >I see you are using OpenStack, since I don't know how it was deployed >I will assume that you have a developing environment with DevStack. > >Using the OVN Northbound DB as an example, you

[ovs-discuss] ovs will change the flow match structue?

2019-02-14 Thread djliu
Hi. I dump flow table statistics from ovs in the ovn-controller, I use function "ofputil_pull_ofp11_match" get "match" contents. However, I find the contents is different with "match" which is calculated from consider_logical_flow. The "match" belong same flow, because I use ovn_flow_to

Re: [ovs-discuss] RSTP in VLAN

2019-02-14 Thread Matthias May via discuss
On 14/02/2019 16:48, Ben Pfaff wrote: > On Wed, Feb 13, 2019 at 08:43:56AM +0100, Matthias May via discuss wrote: >> Hi >> I've run into the situation where I need to receive/transmit VLAN-tagged >> RSTP frames. >> >> I can not find any information on anyone ever doing that with OVS. >> Any pointe

Re: [ovs-discuss] [ovs-dev] how to enable the log of ovn

2019-02-14 Thread Lucas Alvares Gomes
Hi Yunxiang, I see you are using OpenStack, since I don't know how it was deployed I will assume that you have a developing environment with DevStack. Using the OVN Northbound DB as an example, you can set the log level to debug with the following command: $ sudo ovs-appctl -t /usr/local/var/run

[ovs-discuss] aggregated statistics for OVS

2019-02-14 Thread Federico Iezzi
Hey there, I've recently created a simple shell script to show aggregated statistics and packet rates for OVS. It's quite useful since it shows only what's needed. https://github.com/m4r1k/ovs_stats/ Any comments are welcome. Regards, Federico ___ disc

Re: [ovs-discuss] RSTP in VLAN

2019-02-14 Thread Ben Pfaff
On Wed, Feb 13, 2019 at 08:43:56AM +0100, Matthias May via discuss wrote: > Hi > I've run into the situation where I need to receive/transmit VLAN-tagged RSTP > frames. > > I can not find any information on anyone ever doing that with OVS. > Any pointers on how to do that? > > What I've tried so

Re: [ovs-discuss] how to enable the log of ovn

2019-02-14 Thread Ben Pfaff
On Thu, Feb 14, 2019 at 06:55:15PM +0800, taoyunupt wrote: > Sorry to disturb. I have use ovn with openstasck for a > while time,but i still do not know how to enable the log of ovn. > There are only logging options in the manpage or the help > of ovn-nbctl/o

[ovs-discuss] Openswitch: unable to add vnet to ovs-bridge

2019-02-14 Thread Nagaraju Pallapothu
Hi Team, I am unable to launch my VM using xml with ovs-bridge. I am using openvswitch 2.10.1. DPDK – 17.11.04 Regards, Nagaraju # virsh start XX error: Failed to start domain XX error: internal error: Unable to add port vnet1 to OVS bridge ovs-br0 40: vport_br0: mtu 1500 qdisc pfifo_f

[ovs-discuss] how to enable the log of ovn

2019-02-14 Thread taoyunupt
Dear friends, Sorry to disturb. I have use ovn with openstasck for a while time,but i still do not know how to enable the log of ovn. There are only logging options in the manpage or the help of ovn-nbctl/ovn-sbctl,but no any logging command.