Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Margin Hu
both are ok , In facts , I prefer to disable the logging of controller. On 6/20 10:50, Ben Pfaff wrote: On June 20, 2017 10:36:17 AM GMT+08:00, Margin Hu wrote: yes , how to do ? On 6/20 10:28, Ben Pfaff wrote: Do you want to disable the logging or the controller? On Tue,

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Ben Pfaff
On June 20, 2017 10:36:17 AM GMT+08:00, Margin Hu wrote: >yes , how to do ? > > >On 6/20 10:28, Ben Pfaff wrote: >> Do you want to disable the logging or the controller? >> >> On Tue, Jun 20, 2017 at 10:23:39AM +0800, Margin Hu wrote: >>> thanks , you're right , I can capture the changement as fo

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Margin Hu
yes , how to do ? On 6/20 10:28, Ben Pfaff wrote: Do you want to disable the logging or the controller? On Tue, Jun 20, 2017 at 10:23:39AM +0800, Margin Hu wrote: thanks , you're right , I can capture the changement as following: 340483:2017-06-20T02:17:20.825Z|62030|vconn|DBG|unix: receive

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Ben Pfaff
Do you want to disable the logging or the controller? On Tue, Jun 20, 2017 at 10:23:39AM +0800, Margin Hu wrote: > thanks , you're right , I can capture the changement as following: > > 340483:2017-06-20T02:17:20.825Z|62030|vconn|DBG|unix: received: > OFPT_FLOW_MOD (xid=0x2): ADD actions=NORMAL

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Margin Hu
thanks , you're right , I can capture the changement as following: 340483:2017-06-20T02:17:20.825Z|62030|vconn|DBG|unix: received: OFPT_FLOW_MOD (xid=0x2): ADD actions=NORMAL 340486:2017-06-20T02:17:20.825Z|62033|connmgr|INFO|provision<->unix: 1 flow_mods in the last 0 s (1 adds) 341089:2017-0

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Ben Pfaff
On Tue, Jun 20, 2017 at 08:49:23AM +0800, Margin Hu wrote: > My openvswitch version is openvswitch-2.6.1-4.1.git20161206.el7.x86_64 , > > can you appoint out set which module for my target ? > > [root@cloud-sz-master-b12-02 ~]# ovs-appctl vlog/list I suggest "ovs-appctl vlog/set vconn". ___

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Margin Hu
My openvswitch version is openvswitch-2.6.1-4.1.git20161206.el7.x86_64 , can you appoint out set which module for my target ? [root@cloud-sz-master-b12-02 ~]# ovs-appctl vlog/list consolesyslogfile ------- backtrace EMER

[ovs-discuss] ?????? ?????? ovs-ofctl add-meter command limit rate can work ?

2017-06-19 Thread ??????
Yes. UDP works well . We send udp packets with length 1024 (less then mtu) , then work very good . But tcp work very bad , we think tcp works badly because it needs to be retransmitted . That could be a general case. We can communicate with each other on these implementations._

Re: [ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Ben Pfaff
On Tue, Jun 20, 2017 at 06:22:00AM +0800, Margin Hu wrote: > I found flow rule entry in flow table is dropped by unknow cause, you can > review detail issue at > > https://bugs.launchpad.net/bugs/1697243 > > now, how can I set debug log level ? You can use ovs-appctl to set the log levels f

[ovs-discuss] Question regarding group reference count

2017-06-19 Thread Charles Chan
Hi everyone, I noticed a strange behavior of group reference count in ovs 2.7.0 and therefore I am writing to confirm if this is expected. I created 2 indirect groups and 1 select group. There are 2 buckets in the select group, each of them points to one of the indirect group. sudo ovs-ofctl -O O

Re: [ovs-discuss] Can you match on packet length?

2017-06-19 Thread Ben Pfaff
On Mon, Jun 19, 2017 at 03:11:23PM -0700, Joe Stringer wrote: > On 19 June 2017 at 14:08, Keith Holleman via discuss > wrote: > > > > Went to add a match rule based on packet length and couldn't find the right > > term or syntax. Then I searched the ovs-ofctl man page and couldn't find > > anythi

[ovs-discuss] [Question] how can I set debug log level

2017-06-19 Thread Margin Hu
Hi Guys: I found flow rule entry in flow table is dropped by unknow cause, you can review detail issue at https://bugs.launchpad.net/bugs/1697243 now, how can I set debug log level ? -- - Margin Hu Love open source software mail: jhu_...@1

Re: [ovs-discuss] Can you match on packet length?

2017-06-19 Thread Joe Stringer
On 19 June 2017 at 14:08, Keith Holleman via discuss wrote: > > Went to add a match rule based on packet length and couldn't find the right > term or syntax. Then I searched the ovs-ofctl man page and couldn't find > anything. Even more surprising was that I couldn't find an example of this > pr

Re: [ovs-discuss] Issue with connection tracking for packets modified in pipeline

2017-06-19 Thread Joe Stringer
On 19 June 2017 at 00:37, Numan Siddique wrote: > > > On Fri, Jun 16, 2017 at 11:22 PM, Joe Stringer wrote: >> >> On 15 June 2017 at 22:20, Numan Siddique wrote: >> > >> > >> > On Thu, Jun 15, 2017 at 5:06 PM, Aswin S wrote: >> >> >> >> >> >> Adding some more info here, Thanks Numan! for pointi

[ovs-discuss] Can you match on packet length?

2017-06-19 Thread Keith Holleman via discuss
Went to add a match rule based on packet length and couldn't find the right term or syntax. Then I searched the ovs-ofctl man page and couldn't find anything. Even more surprising was that I couldn't find an example of this previously being asked on any OVS discussion groups. Couldn't find it i

Re: [ovs-discuss] 回复: ovs-ofctl add-meter command limit rate can work ?

2017-06-19 Thread Andy Zhou
On Mon, Jun 19, 2017 at 1:58 AM, 爬山虎 wrote: > > 1)We think one meter with one bond is just good way , one meter with > multiple band can not be work (can not be test in real project). So sorry > we never to realize multiple band that wrong in theory. I don't think OVS can benefit from such rest

Re: [ovs-discuss] Connmark or connlable

2017-06-19 Thread Yi-Hung Wei
>From my understanding, conntrack mark and label are metadata that are associated with a flow. They are maintained in ovs internally, but not in the packet's wire format. You can find more information on ovs-fields (7) or on ./include/openvswitch/flow.h (struct flow). -Yi-Hung On Sun, Jun 18, 201

Re: [ovs-discuss] OVS-DPDK - af_packet vdev configuration - Error

2017-06-19 Thread Avi Cohen (A)
Not solved - the tap device is linkdown > -Original Message- > From: Avi Cohen (A) > Sent: Monday, 19 June, 2017 3:09 PM > To: 'ovs-discuss@openvswitch.org'; 'us...@dpdk.org' > Subject: RE: OVS-DPDK - af_packet vdev configuration - Error > > OK - solved > The problem was with the device

Re: [ovs-discuss] OVS-DPDK - af_packet vdev configuration - Error

2017-06-19 Thread Avi Cohen (A)
OK - solved The problem was with the device MTU which is set in the af_packet to 1518, In my port creation I set its MTU to 9000 I've changed the MTU in the af_packet driver to 9000 > -Original Message- > From: Avi Cohen (A) > Sent: Sunday, 18 June, 2017 5:45 PM > To: 'ovs-discuss@openvs

[ovs-discuss] ?????? ?????? ovs-ofctl add-meter command limit rate can work ?

2017-06-19 Thread ??????
1)We think one meter with one bond is just good way , one meter with multiple band can not be work (can not be test in real project). So sorry we never to realize multiple band that wrong in theory. 2) This days we are realizing the meter function with netlink style . We just put the meter a

[ovs-discuss] ovs offload

2017-06-19 Thread y...@panath.cn
hi, santhosh I'm glad to see that, I have had this problem recently. How do you deal with this? ovs full offload or ovs dataplane offload? Anybody have any experience with ovs offload? ===

Re: [ovs-discuss] Issue with connection tracking for packets modified in pipeline

2017-06-19 Thread Numan Siddique
On Fri, Jun 16, 2017 at 11:22 PM, Joe Stringer wrote: > On 15 June 2017 at 22:20, Numan Siddique wrote: > > > > > > On Thu, Jun 15, 2017 at 5:06 PM, Aswin S wrote: > >> > >> > >> Adding some more info here, Thanks Numan! for pointing to this. > >> > >> The issue I am facing looks similar to the