>Hi Mark,
>
>I observed the same issue using Ubuntu 16.04 server with 4.4.0-28-generic 
>kernel.
>
>Thanks for looking into this.
>
>Charlie
>
>On Tue, Jul 5, 2016 at 5:04 PM, Kavanagh, Mark B <mark.b.kavan...@intel.com> 
>wrote:
>Hi Charlie,
>
>Thanks for providing the setup scripts and steps to reproduce the issue.
>
>Unfortunately though, I’m still unable to trigger the behavior that you’re 
>seeing – on the
>second run of the script (following the reboot, and minus the build steps), 
>the bridge setup
>completes successfully, and traffic passes end-to-end.
>For what it’s worth, I’m running an older version of Fedora – F20, with 
>3.19.8-100 kernel.
>
>Have you observed this issue using any other OS/kernel version? I’ll try the 
>setup again
>myself on a newer version of Fedora tomorrow.

Hi Charlie,

FYI, I don't have access to either OS currently and didn't have bandwidth to 
reproduce your complete test setup this week.

One question - I see in another post that you modified the igb_uio driver; is 
that the case here also?

Thanks,
Mark

>
>Thanks,
>Mark
>
>From: Charlie Li [mailto:charlie...@gmail.com]
>Sent: Tuesday, July 5, 2016 5:16 PM
>To: Kavanagh, Mark B <mark.b.kavan...@intel.com>
>Cc: Ben Pfaff <b...@ovn.org>; dev@openvswitch.org; disc...@openvswitch.org
>Subject: Re: [ovs-dev] ovs+dpdk hang? (was: Re: c)
>
>The attachment (Fedora_server_23.sh) was rejected.
>Renamed it to Fedora_server_23.sh_txt and try it again....
>
>On Tue, Jul 5, 2016 at 11:09 AM, Charlie Li <charlie...@gmail.com> wrote:
>Hi Mark,
>
>It does not make any difference if I use "PCI bus:device.function" instead of 
>logical
>interface name.
>
>Sorry I accidentally deleted following line while trying to adding some 
>comments
>
>sudo ./ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
>
>Attached is my real script without any editing.
>
>Here are the exact steps to reproduce the problem.
>
># working case
>
>1) Reboot the system
>2) Run the Fedora_server_23.sh script
>3) Every thing will work and it can pass traffic between the two ports
>
># failing case
>
>1) Reboot the system
>2) Edit the Fedora_server_23.sh script and remove the following lines
>
>echo "# Build DPDK"
>
>cd $DPDK_DIR
>make install T=x86_64-native-linuxapp-gcc
>
>echo "# Configure & build OVS"
>
>cd $OVS_DIR
>./boot.sh
>./configure --with-dpdk=$DPDK_BUILD/
>make CFLAGS='-O3 -march=native'
>
>3) Run the Fedora_server_23.sh script
>4) It will reproduce the problem
>
>
>
>
>On Tue, Jul 5, 2016 at 10:22 AM, Kavanagh, Mark B <mark.b.kavan...@intel.com> 
>wrote:
>>
>>Thanks Mark and Ben for looking into this.
>>
>>Attached please find the script I use to set up the OVS-DPDK. If both DPDK 
>>and OVS are re-
>>built, it works fine. However, if DPDK and OVS are not rebuilt, then it will 
>>cause the
>>problem.
>
>
>Hi Charlie,
>
>I found some issues with this script:
>
><snip>
>sudo insmod $DPDK_BUILD/kmod/igb_uio.ko
>sudo $DPDK_DIR/tools/dpdk_nic_bind.py --bind=igb_uio enp2s0f0
>sudo $DPDK_DIR/tools/dpdk_nic_bind.py --bind=igb_uio enp2s0f1
>
>        => binding using the logical interface name assumes that it is managed 
>by the kernel;
>if the interface was previously bound to a DPDK driver that may not be the 
>case.
>        You should instead specify the device in terms of its PCI 
>bus:device.function
>
>...
></snip>
>
><snip>
># create br and add ports
>cd $OVS_DIR/utilities
>
>        => You don't add the bridge before attempting to add ports to it.
>
>sudo ./ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
>sudo ./ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk
></snip>
>
>Also, can you provide the exact steps that you perform in order to produce 
>this issue, as I
>have been unable to reproduce your issue with consistency?
>e.g. "I build OVS & DPDK, create br0, and add two Phy ports, as per the script.
>        I then kill all ovs processes and run the setup script again, minus 
>the build steps;
>when the bridge is added, OVS becomes unresponsive"
>
>
>>
>>The OS is Fedora Server 23 with updated kernel (4.5.7-200.fc23.x86_64)
>>
>>Charlie
>>
>>On Tue, Jul 5, 2016 at 5:37 AM, Kavanagh, Mark B <mark.b.kavan...@intel.com> 
>>wrote:
>>
>>>
>>>The logs show that ovs-vswitchd failing to log anything after it
>>>receives the initial configuration from the database.  This is probably
>>>a bug in the DPDK portion of OVS.  OVS-DPDK folks, have you noticed
>>>anything like this before?  Can you take over the investigation?
>>>
>>
>>I can take this Ben - I've conducted some preliminary testing and have not 
>>been able to
>>reproduce the issue.
>>
>>Charlie - can you provide the exact steps that you perform to trigger this 
>>issue?
>>Also, could you also provide details of your OS, kernel, etc.?
>>
>>Thanks,
>>Mark
>>
>>>Thanks,
>>>
>>>Ben.
>>>
>>>On Sat, Jul 02, 2016 at 10:30:34AM -0500, Charlie Li wrote:
>>>> Please see the attached logs from ovs-vswitchd.
>>>>
>>>> On Sat, Jul 2, 2016 at 10:01 AM, Ben Pfaff <b...@ovn.org> wrote:
>>>>
>>>> > Thanks.
>>>> >
>>>> > The logs show ovs-vsctl is sending the configuration change to the
>>>> > database, but ovs-vswitchd never acknowledges that the configuration
>>>> > change has been completed.
>>>> >
>>>> > What's in the ovs-vswitchd log?
>>>> >
>>>> > On Sat, Jul 02, 2016 at 09:24:16AM -0500, Charlie Li wrote:
>>>> > > Please see the attached logs (with "-v" option).
>>>> > >
>>>> > > On Fri, Jul 1, 2016 at 7:06 PM, Ben Pfaff <b...@ovn.org> wrote:
>>>> > >
>>>> > > > OK, in that case, can you run the command in circumstances such that 
>>>> > > > it
>>>> > > > hangs, but adding the "-v" option?  That will cause it to print a log
>>>> > of
>>>> > > > debugging messages to stdout.  Give it a couple of seconds, then hit
>>>> > > > control+C and email all of the output that it printed.
>>>> > > >
>>>> > > > Thanks,
>>>> > > >
>>>> > > > Ben.
>>>> > > >
>>>> > > > On Fri, Jul 01, 2016 at 06:35:26PM -0500, Charlie Li wrote:
>>>> > > > > ovs-vsctl: cannot create a bridge named br0 because a bridge named
>>>> > br0
>>>> > > > > already exists
>>>> > > > >
>>>> > > > >
>>>> > > > > On Fri, Jul 1, 2016 at 5:22 PM, Ben Pfaff <b...@ovn.org> wrote:
>>>> > > > >
>>>> > > > > > If you hit control+C and run the ovs-vsctl command again, what
>>>> > happens?
>>>> > > > > >
>>>> > > > > > On Fri, Jul 01, 2016 at 05:06:27PM -0500, Charlie Li wrote:
>>>> > > > > > > I don't think so - "ps -ef" shows the following processes
>>>> > > > > > >
>>>> > > > > > > root      1458     1  0 16:17 ?        00:00:00 ./ovsdb-server
>>>> > > > > > > --remote=punix:/usr/local/var/run/openvswitch/db.sock
>>>> > > > > > --remote=db:Open_vSw
>>>> > > > > > > root      1464     1  0 16:18 ?        00:00:09 ./ovs-vswitchd
>>>> > > > --dpdk -c
>>>> > > > > > > 0x1 -n 4 -- unix:/usr/local/var/run/openvswitch/db.sock 
>>>> > > > > > > --pidfil
>>>> > > > > > > root      1468  1332  0 16:19 pts/0    00:00:00 sudo 
>>>> > > > > > > ./ovs-vsctl
>>>> > > > add-br
>>>> > > > > > br0
>>>> > > > > > > -- set bridge br0 datapath_type=netdev
>>>> > > > > > > root      1469  1468  0 16:19 pts/0    00:00:00 ./ovs-vsctl
>>>> > add-br
>>>> > > > br0 --
>>>> > > > > > > set bridge br0 datapath_type=netdev
>>>> > > > > > >
>>>> > > > > > >
>>>> > > > > > > On Fri, Jul 1, 2016 at 4:38 PM, Ben Pfaff <b...@ovn.org> wrote:
>>>> > > > > > >
>>>> > > > > > > > Does ovs-vswitchd die when you run that?
>>>> > > > > > > >
>>>> > > > > > > > On Fri, Jul 01, 2016 at 04:24:15PM -0500, Charlie Li wrote:
>>>> > > > > > > > > If I don't re-build DPDK and OVS, the following command 
>>>> > > > > > > > > will
>>>> > hang
>>>> > > > > > > > >
>>>> > > > > > > > > sudo ./ovs-vsctl add-br br0 -- set bridge br0
>>>> > > > datapath_type=netdev
>>>> > > > > > > > >
>>>> > > > > > > > > Looks like Bala reported the same issue (not sure if it is
>>>> > > > caused by
>>>> > > > > > the
>>>> > > > > > > > > same reason - not re-building OVS/DPDK)
>>>> > > > > > > > >
>>>> > > > > > > > > On Fri, Jul 1, 2016 at 3:21 PM, Ben Pfaff <b...@ovn.org>
>>>> > wrote:
>>>> > > > > > > > >
>>>> > > > > > > > > > On Fri, Jul 01, 2016 at 01:57:38PM -0500, Charlie Li 
>>>> > > > > > > > > > wrote:
>>>> > > > > > > > > > > By now I am successful in running openvswitch-2.5.0 
>>>> > > > > > > > > > > with
>>>> > > > > > DPDK-2.2.0
>>>> > > > > > > > by
>>>> > > > > > > > > > > following "INSTALL.DPDK.md <http://install.dpdk.md/>".
>>>> > > > > > > > > > >
>>>> > > > > > > > > > > I understand that I have to build DPDK and OVS for the
>>>> > very
>>>> > > > first
>>>> > > > > > > > time.
>>>> > > > > > > > > > >
>>>> > > > > > > > > > > # Build DPDK
>>>> > > > > > > > > > > cd $DPDK_DIR
>>>> > > > > > > > > > > make install T=x86_64-native-linuxapp-gcc
>>>> > > > > > > > > > >
>>>> > > > > > > > > > > # Configure & build OVS
>>>> > > > > > > > > > > cd $OVS_DIR
>>>> > > > > > > > > > > ./boot.sh
>>>> > > > > > > > > > > ./configure --with-dpdk=$DPDK_BUILD/
>>>> > > > > > > > > > > make CFLAGS='-O3 -march=native'
>>>> > > > > > > > > > >
>>>> > > > > > > > > > > But why do I have to build DPDK and OVS every time to 
>>>> > > > > > > > > > > run
>>>> > > > > > OVS-DPDK?
>>>> > > > > > > > > >
>>>> > > > > > > > > > You don't.  This doesn't make any sense.
>>>> > > > > > > > > >
>>>> > > > > > > > > > If you don't re-build OVS after you reboot, what happens?
>>>> > > > > > > > > >
>>>> > > > > > > >
>>>> > > > > >
>>>> > > >
>>>> >
>>>> > > $ sudo ./ovs-vsctl -v add-br br0 -- set bridge br0 datapath_type=netdev
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00002|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > entering BACKOFF
>>>> > > 2016-07-02T14:18:06Z|00003|hmap|DBG|lib/shash.c:112: 6 nodes in bucket
>>>> > (32 nodes, 16 buckets)
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00004|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > connecting...
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00005|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > entering CONNECTING
>>>> > > 2016-07-02T14:18:06Z|00006|poll_loop|DBG|wakeup due to [POLLOUT] on fd 
>>>> > > 4
>>>> > (<->/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:151
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00007|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > connected
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00008|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > entering ACTIVE
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00009|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > send request, method="get_schema", params=["Open_vSwitch"], id=0
>>>> > > 2016-07-02T14:18:06Z|00010|poll_loop|DBG|wakeup due to [POLLIN] on fd 4
>>>> > (<->/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:155
>>>> > > 2016-07-02T14:18:06Z|00011|hmap|DBG|lib/shash.c:112: 6 nodes in bucket
>>>> > (8 nodes, 4 buckets)
>>>> > > 2016-07-02T14:18:06Z|00012|hmap|DBG|lib/shash.c:112: 6 nodes in bucket
>>>> > (32 nodes, 16 buckets)
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00013|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > received reply, result={"name":"Open_vSwitch","tables":{"QoS":{"isR
>>>> >
>>>> >
>>>oot":true,"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"stri
>n
>>g
>>>","min":0}},"type":{"type":"string"},"queues":{"type":{"ma
>>>> >
>>>> >
>>>x":"unlimited","value":{"type":"uuid","refTable":"Queue"},"key":{"minInteger":0,"maxInteger
>"
>>:
>>>4294967295,"type":"integer"},"min":0}},"other_config":{"ty
>>>> >
>>>> >
>>>pe":{"max":"unlimited","value":"string","key":"string","min":0}}}},"Queue":{"isRoot":true,"
>c
>>o
>>>lumns":{"external_ids":{"type":{"max":"unlimited","value":
>>>> >
>>>> >
>>>"string","key":"string","min":0}},"dscp":{"type":{"key":{"minInteger":0,"maxInteger":63,"ty
>p
>>e
>>>":"integer"},"min":0}},"other_config":{"type":{"max":"unli
>>>> >
>>>> >
>>>mited","value":"string","key":"string","min":0}}}},"Open_vSwitch":{"maxRows":1,"isRoot":tru
>e
>>,
>>>"columns":{"datapath_types":{"type":{"max":"unlimited","mi
>>>> >
>>>> >
>>>n":0,"key":"string"}},"statistics":{"type":{"max":"unlimited","value":"string","key":"strin
>g
>>"
>>>,"min":0},"ephemeral":true},"external_ids":{"type":{"max":
>>>> >
>>>> >
>>>"unlimited","value":"string","key":"string","min":0}},"cur_cfg":{"type":"integer"},"db_vers
>i
>>o
>>>n":{"type":{"key":"string","min":0}},"other_config":{"type
>>>> >
>>>> >
>>>":{"max":"unlimited","value":"string","key":"string","min":0}},"next_cfg":{"type":"integer"
>}
>>,
>>>"system_type":{"type":{"key":"string","min":0}},"system_ve
>>>> >
>>>> >
>>>rsion":{"type":{"key":"string","min":0}},"ovs_version":{"type":{"key":"string","min":0}},"b
>r
>>i
>>>dges":{"type":{"max":"unlimited","min":0,"key":{"type":"uu
>>>> >
>>>> >
>>>id","refTable":"Bridge"}}},"ssl":{"type":{"key":{"type":"uuid","refTable":"SSL"},"min":0}},
>"
>>m
>>>anager_options":{"type":{"max":"unlimited","min":0,"key":{
>>>> >
>>>> >
>>>"type":"uuid","refTable":"Manager"}}},"iface_types":{"type":{"max":"unlimited","min":0,"key
>"
>>:
>>>"string"}}}},"Flow_Sample_Collector_Set":{"isRoot":true,"c
>>>> >
>>>> >
>>>olumns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}
>}
>>,
>>>"bridge":{"type":{"key":{"type":"uuid","refTable":"Bridge"
>>>> >
>>>> >
>>>}}},"ipfix":{"type":{"key":{"type":"uuid","refTable":"IPFIX"},"min":0}},"id":{"type":{"key"
>:
>>{
>>>"minInteger":0,"maxInteger":4294967295,"type":"integer"}}}
>>>> >
>>>> >
>>>},"indexes":[["id","bridge"]]},"Bridge":{"columns":{"rstp_status":{"type":{"max":"unlimited
>"
>>,
>>>"value":"string","key":"string","min":0},"ephemeral":true}
>>>> >
>>>> >
>>>,"datapath_version":{"type":"string"},"flow_tables":{"type":{"max":"unlimited","value":{"ty
>p
>>e
>>>":"uuid","refTable":"Flow_Table"},"key":{"minInteger":0,"m
>>>> >
>>>> >
>>>axInteger":254,"type":"integer"},"min":0}},"protocols":{"type":{"max":"unlimited","min":0,"
>k
>>e
>>>y":{"type":"string","enum":["set",["OpenFlow10","OpenFlow1
>>>> >
>>>> >
>>>1","OpenFlow12","OpenFlow13","OpenFlow14","OpenFlow15"]]}}},"auto_attach":{"type":{"key":{"
>t
>>y
>>>pe":"uuid","refTable":"AutoAttach"},"min":0}},"mcast_snoop
>>>> >
>>>> >
>>>ing_enable":{"type":"boolean"},"flood_vlans":{"type":{"max":4096,"min":0,"key":{"minInteger
>"
>>:
>>>0,"maxInteger":4095,"type":"integer"}}},"stp_enable":{"typ
>>>> >
>>>> >
>>>e":"boolean"},"name":{"type":"string","mutable":false},"sflow":{"type":{"key":{"type":"uuid
>"
>>,
>>>"refTable":"sFlow"},"min":0}},"ports":{"type":{"max":"unli
>>>> >
>>>> >
>>>mited","min":0,"key":{"type":"uuid","refTable":"Port"}}},"mirrors":{"type":{"max":"unlimite
>d
>>"
>>>,"min":0,"key":{"type":"uuid","refTable":"Mirror"}}},"netf
>>>> >
>>>> >
>>>low":{"type":{"key":{"type":"uuid","refTable":"NetFlow"},"min":0}},"external_ids":{"type":{
>"
>>m
>>>ax":"unlimited","value":"string","key":"string","min":0}},
>>>> >
>>>> >
>>>"other_config":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"datapa
>t
>>h
>>>_type":{"type":"string"},"fail_mode":{"type":{"key":{"type
>>>> >
>>>> >
>>>":"string","enum":["set",["secure","standalone"]]},"min":0}},"datapath_id":{"type":{"key":"
>s
>>t
>>>ring","min":0},"ephemeral":true},"controller":{"type":{"ma
>>>> >
>>>> >
>>>x":"unlimited","min":0,"key":{"type":"uuid","refTable":"Controller"}}},"ipfix":{"type":{"ke
>y
>>"
>>>:{"type":"uuid","refTable":"IPFIX"},"min":0}},"rstp_enable
>>>> >
>>>> >
>>>":{"type":"boolean"},"status":{"type":{"max":"unlimited","value":"string","key":"string","m
>i
>>n
>>>":0},"ephemeral":true}},"indexes":[["name"]]},"IPFIX":{"co
>>>> >
>>>> >
>>>lumns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}}
>,
>>"
>>>sampling":{"type":{"key":{"minInteger":1,"maxInteger":4294
>>>> >
>>>> >
>>>967295,"type":"integer"},"min":0}},"cache_active_timeout":{"type":{"key":{"minInteger":0,"m
>a
>>x
>>>Integer":4200,"type":"integer"},"min":0}},"other_config":{
>>>> >
>>>> >
>>>"type":{"max":"unlimited","value":"string","key":"string","min":0}},"targets":{"type":{"max
>"
>>:
>>>"unlimited","min":0,"key":"string"}},"obs_domain_id":{"typ
>>>> >
>>>> >
>>>e":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"min":0}},"obs_point_id
>"
>>:
>>>{"type":{"key":{"minInteger":0,"maxInteger":4294967295,"ty
>>>> >
>>>> >
>>>pe":"integer"},"min":0}},"cache_max_flows":{"type":{"key":{"minInteger":0,"maxInteger":4294
>9
>>6
>>>7295,"type":"integer"},"min":0}}}},"SSL":{"maxRows":1,"col
>>>> >
>>>> >
>>>umns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},
>"
>>c
>>>ertificate":{"type":"string"},"bootstrap_ca_cert":{"type":
>>>> >
>>>> >
>>>"boolean"},"ca_cert":{"type":"string"},"private_key":{"type":"string"}}},"Interface":{"colu
>m
>>n
>>>s":{"mac":{"type":{"key":"string","min":0}},"cfm_fault_sta
>>>> >
>>>> >
>>>tus":{"type":{"max":"unlimited","min":0,"key":"string"},"ephemeral":true},"lldp":{"type":{"
>m
>>a
>>>x":"unlimited","value":"string","key":"string","min":0}},"
>>>> >
>>>> >
>>>statistics":{"type":{"max":"unlimited","value":"integer","key":"string","min":0},"ephemeral
>"
>>:
>>>true},"cfm_flap_count":{"type":{"key":"integer","min":0}},
>>>> >
>>>> >
>>>"type":{"type":"string"},"link_resets":{"type":{"key":"integer","min":0},"ephemeral":true},
>"
>>n
>>>ame":{"type":"string","mutable":false},"lacp_current":{"ty
>>>> >
>>>> >
>>>pe":{"key":"boolean","min":0},"ephemeral":true},"options":{"type":{"max":"unlimited","value
>"
>>:
>>>"string","key":"string","min":0}},"cfm_health":{"type":{"k
>>>> >
>>>> >
>>>ey":{"minInteger":0,"maxInteger":100,"type":"integer"},"min":0},"ephemeral":true},"cfm_mpid
>"
>>:
>>>{"type":{"key":"integer","min":0}},"ingress_policing_rate"
>>>> >
>>>> >
>>>:{"type":{"key":{"type":"integer","minInteger":0}}},"cfm_remote_mpids":{"type":{"max":"unli
>m
>>i
>>>ted","min":0,"key":"integer"},"ephemeral":true},"mac_in_us
>>>> >
>>>> >
>>>e":{"type":{"key":"string","min":0},"ephemeral":true},"status":{"type":{"max":"unlimited","
>v
>>a
>>>lue":"string","key":"string","min":0},"ephemeral":true},"l
>>>> >
>>>> >
>>>ink_speed":{"type":{"key":"integer","min":0},"ephemeral":true},"link_state":{"type":{"key":
>{
>>"
>>>type":"string","enum":["set",["down","up"]]},"min":0},"eph
>>>> >
>>>> >
>>>emeral":true},"ofport":{"type":{"key":"integer","min":0}},"bfd_status":{"type":{"max":"unli
>m
>>i
>>>ted","value":"string","key":"string","min":0}},"bfd":{"typ
>>>> >
>>>> >
>>>e":{"max":"unlimited","value":"string","key":"string","min":0}},"ofport_request":{"type":{"
>k
>>e
>>>y":{"minInteger":1,"maxInteger":65279,"type":"integer"},"m
>>>> >
>>>> >
>>>in":0}},"ifindex":{"type":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},
>"
>>m
>>>in":0},"ephemeral":true},"ingress_policing_burst":{"type":
>>>> >
>>>> >
>>>{"key":{"type":"integer","minInteger":0}}},"external_ids":{"type":{"max":"unlimited","value
>"
>>:
>>>"string","key":"string","min":0}},"cfm_fault":{"type":{"ke
>>>> >
>>>> >
>>>y":"boolean","min":0},"ephemeral":true},"other_config":{"type":{"max":"unlimited","value":"
>s
>>t
>>>ring","key":"string","min":0}},"admin_state":{"type":{"key
>>>> >
>>>> >
>>>":{"type":"string","enum":["set",["down","up"]]},"min":0},"ephemeral":true},"mtu":{"type":{
>"
>>k
>>>ey":"integer","min":0},"ephemeral":true},"cfm_remote_opsta
>>>> >
>>>> >
>>>te":{"type":{"key":{"type":"string","enum":["set",["down","up"]]},"min":0},"ephemeral":true
>}
>>,
>>>"error":{"type":{"key":"string","min":0}},"duplex":{"type"
>>>> >
>>>> >
>>>:{"key":{"type":"string","enum":["set",["full","half"]]},"min":0},"ephemeral":true}},"index
>e
>>s
>>>":[["name"]]},"Manager":{"columns":{"external_ids":{"type"
>>>> >
>>>> >
>>>:{"max":"unlimited","value":"string","key":"string","min":0}},"is_connected":{"type":"boole
>a
>>n
>>>","ephemeral":true},"other_config":{"type":{"max":"unlimit
>>>> >
>>>> >
>>>ed","value":"string","key":"string","min":0}},"connection_mode":{"type":{"key":{"type":"str
>i
>>n
>>>g","enum":["set",["in-band","out-of-band"]]},"min":0}},"ta
>>>> >
>>>> >
>>>rget":{"type":"string"},"inactivity_probe":{"type":{"key":"integer","min":0}},"status":{"ty
>p
>>e
>>>":{"max":"unlimited","value":"string","key":"string","min"
>>>> >
>>>> >
>>>:0},"ephemeral":true},"max_backoff":{"type":{"key":{"type":"integer","minInteger":1000},"mi
>n
>>"
>>>:0}}},"indexes":[["target"]]},"Flow_Table":{"columns":{"ex
>>>> >
>>>> >
>>>ternal_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"prefixes"
>:
>>{
>>>"type":{"max":3,"min":0,"key":"string"}},"name":{"type":{"
>>>> >
>>>> >
>>>key":"string","min":0}},"overflow_policy":{"type":{"key":{"type":"string","enum":["set",["e
>v
>>i
>>>ct","refuse"]]},"min":0}},"groups":{"type":{"max":"unlimit
>>>> >
>>>> >
>>>ed","min":0,"key":"string"}},"flow_limit":{"type":{"key":{"type":"integer","minInteger":0},
>"
>>m
>>>in":0}}}},"Port":{"columns":{"statistics":{"type":{"max":"
>>>> >
>>>> >
>>>unlimited","value":"integer","key":"string","min":0},"ephemeral":true},"mac":{"type":{"key"
>:
>>"
>>>string","min":0}},"trunks":{"type":{"max":4096,"min":0,"ke
>>>> >
>>>> >
>>>y":{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"rstp_status":{"type":{"max":"unli
>m
>>i
>>>ted","value":"string","key":"string","min":0},"ephemeral":
>>>> >
>>>> >
>>>true},"bond_updelay":{"type":"integer"},"bond_downdelay":{"type":"integer"},"bond_active_sl
>a
>>v
>>>e":{"type":{"key":"string","min":0}},"bond_fake_iface":{"t
>>>> >
>>>> >
>>>ype":"boolean"},"name":{"type":"string","mutable":false},"lacp":{"type":{"key":{"type":"str
>i
>>n
>>>g","enum":["set",["active","off","passive"]]},"min":0}},"f
>>>> >
>>>> >
>>>ake_bridge":{"type":"boolean"},"qos":{"type":{"key":{"type":"uuid","refTable":"QoS"},"min":
>0
>>}
>>>},"interfaces":{"type":{"max":"unlimited","key":{"type":"u
>>>> >
>>>> >
>>>uid","refTable":"Interface"}}},"rstp_statistics":{"type":{"max":"unlimited","value":"intege
>r
>>"
>>>,"key":"string","min":0},"ephemeral":true},"external_ids":
>>>> >
>>>> >
>>>{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"vlan_mode":{"type":{"
>k
>>e
>>>y":{"type":"string","enum":["set",["access","native-tagged
>>>> >
>>>> >  ","native-
>>>untagged","trunk"]]},"min":0}},"tag":{"type":{"key":{"minInteger":0,"maxInteger":4095,"type
>"
>>:
>>>"integer"},"min":0}},"other_config":{"type":{"ma
>>>> >
>>>> >
>>>x":"unlimited","value":"string","key":"string","min":0}},"status":{"type":{"max":"unlimited
>"
>>,
>>>"value":"string","key":"string","min":0},"ephemeral":true}
>>>> >
>>>> >  
>>>> >,"bond_mode":{"type":{"key":{"type":"string","enum":["set",["active-backup","balance-
>>>slb","balance-tcp"]]},"min":0}}},"indexes":[["name"]]},"NetFlow":{
>>>> >
>>>> >
>>>"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":
>0
>>}
>>>},"active_timeout":{"type":{"key":{"type":"integer","minIn
>>>> >
>>>> >  teger":-
>>>1}}},"targets":{"type":{"max":"unlimited","key":"string"}},"add_id_to_interface":{"type":"b
>o
>>o
>>>lean"},"engine_id":{"type":{"key":{"minInteger":0,
>>>> >
>>>> >
>>>"maxInteger":255,"type":"integer"},"min":0}},"engine_type":{"type":{"key":{"minInteger":0,"
>m
>>a
>>>xInteger":255,"type":"integer"},"min":0}}}},"Controller":{
>>>> >
>>>> >
>>>"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":
>0
>>}
>>>},"local_ip":{"type":{"key":"string","min":0}},"role":{"ty
>>>> >
>>>> >
>>>pe":{"key":{"type":"string","enum":["set",["master","other","slave"]]},"min":0},"ephemeral"
>:
>>t
>>>rue},"is_connected":{"type":"boolean","ephemeral":true},"o
>>>> >
>>>> >
>>>ther_config":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"controll
>e
>>r
>>>_rate_limit":{"type":{"key":{"type":"integer","minInteger"
>>>> >
>>>> >
>>>:100},"min":0}},"controller_burst_limit":{"type":{"key":{"type":"integer","minInteger":25},
>"
>>m
>>>in":0}},"connection_mode":{"type":{"key":{"type":"string",
>>>> >
>>>> >  "enum":["set",["in-band","out-of-
>>>band"]]},"min":0}},"enable_async_messages":{"type":{"key":"boolean","min":0}},"target":{"ty
>p
>>e
>>>":"string"},"local_netmas
>>>> >
>>>> >
>>>k":{"type":{"key":"string","min":0}},"inactivity_probe":{"type":{"key":"integer","min":0}},
>"
>>s
>>>tatus":{"type":{"max":"unlimited","value":"string","key":"
>>>> >
>>>> >
>>>string","min":0},"ephemeral":true},"local_gateway":{"type":{"key":"string","min":0}},"max_b
>a
>>c
>>>koff":{"type":{"key":{"type":"integer","minInteger":1000},
>>>> >
>>>> >
>>>"min":0}}}},"Mirror":{"columns":{"external_ids":{"type":{"max":"unlimited","value":"string"
>,
>>"
>>>key":"string","min":0}},"select_all":{"type":"boolean"},"s
>>>> >
>>>> >
>>>elect_src_port":{"type":{"max":"unlimited","min":0,"key":{"refTable":"Port","refType":"weak
>"
>>,
>>>"type":"uuid"}}},"output_vlan":{"type":{"key":{"minInteger
>>>> >
>>>> >
>>>":1,"maxInteger":4095,"type":"integer"},"min":0}},"statistics":{"type":{"max":"unlimited","
>v
>>a
>>>lue":"integer","key":"string","min":0},"ephemeral":true},"
>>>> >
>>>> >
>>>select_vlan":{"type":{"max":4096,"min":0,"key":{"minInteger":0,"maxInteger":4095,"type":"in
>t
>>e
>>>ger"}}},"output_port":{"type":{"key":{"refTable":"Port","r
>>>> >
>>>> >
>>>efType":"weak","type":"uuid"},"min":0}},"name":{"type":"string"},"select_dst_port":{"type":
>{
>>"
>>>max":"unlimited","min":0,"key":{"refTable":"Port","refType
>>>> >
>>>> >
>>>":"weak","type":"uuid"}}}}},"AutoAttach":{"columns":{"system_name":{"type":"string"},"mappi
>n
>>g
>>>s":{"type":{"max":"unlimited","value":{"minInteger":0,"max
>>>> >
>>>> >
>>>Integer":4095,"type":"integer"},"key":{"minInteger":0,"maxInteger":16777215,"type":"integer
>"
>>}
>>>,"min":0}},"system_description":{"type":"string"}}},"sFlow
>>>> >
>>>> >
>>>":{"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","mi
>n
>>"
>>>:0}},"agent":{"type":{"key":"string","min":0}},"header":{"
>>>> >
>>>> >
>>>type":{"key":"integer","min":0}},"polling":{"type":{"key":"integer","min":0}},"sampling":{"
>t
>>y
>>>pe":{"key":"integer","min":0}},"targets":{"type":{"max":"u
>>>> >
>>>> >  nlimited","key":"string"}}}}},"version":"7.12.1","cksum":"2211824403
>>>> > 22535"}, id=0
>>>> > > 2016-07-02T14:18:06Z|00014|hmap|DBG|lib/sset.c:53: 6 nodes in bucket (8
>>>> > nodes, 4 buckets)
>>>> > > 2016-07-02T14:18:06Z|00015|hmap|DBG|lib/sset.c:53: 6 nodes in bucket 
>>>> > > (32
>>>> > nodes, 16 buckets)
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00016|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > send request, method="monitor", params=["Open_vSwitch",null,{"Open_
>>>> >
>>>> >
>>>vSwitch":{"columns":["bridges","cur_cfg"]},"Interface":{"columns":["name","ofport"]},"Flow_
>S
>>a
>>>mple_Collector_Set":{"columns":["bridge"]},"Port":{"column
>>>> >
>>>> >
>>>s":["fake_bridge","interfaces","name","tag"]},"Bridge":{"columns":["controller","datapath_t
>y
>>p
>>>e","fail_mode","name","ports"]},"Controller":{"columns":[]
>>>> >              }}], id=1
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00017|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > received reply, result={"Open_vSwitch":{"c67d14d9-857f-460d-90a2-da
>>>> >        79df5f9d09":{"new":{"cur_cfg":0,"bridges":["set",[]]}}}}, id=1
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00018|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > send request, method="transact", params=["Open_vSwitch",{"where":[[
>>>> >
>>>> >  "_uuid","==",["uuid","c67d14d9-857f-460d-90a2-
>>>da79df5f9d09"]]],"table":"Open_vSwitch","timeout":0,"op":"wait","rows":[{"bridges":["set",[
>]
>>]
>>>}],"columns"
>>>> >
>>>> >  :["bridges"],"until":"=="},{"row":{"name":"br0","ports":["named-
>>>uuid","row67094deb_129b_4760_afef_46082914fc0f"],"datapath_type":"netdev"},"table":"Bri
>>>> >
>>>> >  dge","op":"insert","uuid-
>>>name":"rowd71a9941_b131_4485_a077_cd03e0720c90"},{"row":{"bridges":["named-
>>>uuid","rowd71a9941_b131_4485_a077_cd03e0720c90"]},"
>>>> >
>>>> >  where":[["_uuid","==",["uuid","c67d14d9-857f-460d-90a2-
>>>da79df5f9d09"]]],"table":"Open_vSwitch","op":"update"},{"row":{"type":"internal","name":"br
>0
>>"
>>>},"
>>>> >
>>>> >  table":"Interface","op":"insert","uuid-
>>>name":"row786ac466_b3fa_42ed_91a3_c73b98506b45"},{"row":{"name":"br0","interfaces":["named-
>>>uuid","row786ac466_b3
>>>> >
>>>> >  fa_42ed_91a3_c73b98506b45"]},"table":"Port","op":"insert","uuid-
>>>name":"row67094deb_129b_4760_afef_46082914fc0f"},{"mutations":[["next_cfg","+=",1]],"wh
>>>> >
>>>> >  ere":[["_uuid","==",["uuid","c67d14d9-857f-460d-90a2-
>>>da79df5f9d09"]]],"table":"Open_vSwitch","op":"mutate"},{"where":[["_uuid","==",["uuid","c67
>d
>>1
>>>4d9-8
>>>> >
>>>> >  57f-460d-90a2-
>>>da79df5f9d09"]]],"table":"Open_vSwitch","op":"select","columns":["next_cfg"]},{"op":"commen
>t
>>"
>>>,"comment":"ovs-vsctl:
>>>> > ./ovs-vsctl -v add-br                br0 -- set bridge br0
>>>> > datapath_type=netdev"}], id=2
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00019|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > received notification, method="update", params=[null,{"Interface":{
>>>> >
>>>> >  "e0c6c65d-6420-428a-b260-
>>>0a7813bb8e05":{"new":{"ofport":["set",[]],"name":"br0"}}},"Open_vSwitch":{"c67d14d9-857f-
>>>460d-90a2-da79df5f9d09":{"old":{"brid
>>>> >
>>>> >  
>>>> >ges":["set",[]]},"new":{"cur_cfg":0,"bridges":["uuid","bc4fe747-1603-4ede-a94e-
>>>a64af3226cee"]}}},"Port":{"10f4a392-4c3d-4c24-a2e1-78f91c60f9f9":{"new":
>>>> >
>>>> >  
>>>> >{"fake_bridge":false,"tag":["set",[]],"name":"br0","interfaces":["uuid","e0c6c65d-
>6420-
>>>428a-b260-0a7813bb8e05"]}}},"Bridge":{"bc4fe747-1603-4ede-a94e-a
>>>> >
>>>> >  
>>>> >64af3226cee":{"new":{"name":"br0","ports":["uuid","10f4a392-4c3d-4c24-a2e1-
>>>78f91c60f9f9"],"datapath_type":"netdev","fail_mode":["set",[]],"controller":
>>>> >              ["set",[]]}}}}]
>>>> > >
>>>> > 2016-07-02T14:18:06Z|00020|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>> > received reply, result=[{},{"uuid":["uuid","bc4fe747-1603-4ede-a94e
>>>> >
>>>> >  -a64af3226cee"]},{"count":1},{"uuid":["uuid","e0c6c65d-6420-428a-b260-
>>>0a7813bb8e05"]},{"uuid":["uuid","10f4a392-4c3d-4c24-a2e1-78f91c60f9f9"]},{"count"
>>>> >              :1},{"rows":[{"next_cfg":1}]},{}], id=2
>>>> > > 2016-07-02T14:18:06Z|00021|poll_loop|DBG|wakeup due to 0-ms timeout at
>>>> > lib/ovsdb-idl.c:1729
>>>> > > 2016-07-02T14:19:51Z|00022|poll_loop|DBG|wakeup due to [POLLIN] on fd 5
>>>> > (FIFO pipe:[26870]) at lib/fatal-signal.c:224 (0% CPU usage)
>>>> > > 2016-07-02T14:19:51Z|00023|fatal_signal|WARN|terminating with signal 2
>>>> > (Interrupt)
>>>> >
>>>> >
>>>
>>>> $ sudo ./ovs-vswitchd --dpdk -c 0x1 -n 4 -- unix:$DB_SOCK --pidfile 
>>>> --detach -v
>>>> 2016-07-02T15:22:49Z|00001|dpdk|INFO|No -vhost_sock_dir provided - 
>>>> defaulting to
>>>/usr/local/var/run/openvswitch
>>>> EAL: Detected lcore 0 as core 0 on socket 0
>>>> EAL: Detected lcore 1 as core 1 on socket 0
>>>> EAL: Detected lcore 2 as core 2 on socket 0
>>>> EAL: Detected lcore 3 as core 3 on socket 0
>>>> EAL: Support maximum 128 logical core(s) by configuration.
>>>> EAL: Detected 4 lcore(s)
>>>> EAL: VFIO modules not all loaded, skip VFIO support...
>>>> EAL: Setting up physically contiguous memory...
>>>> EAL: Ask a virtual area of 0x40000000 bytes
>>>> EAL: Virtual area found at 0x7f8400000000 (size = 0x40000000)
>>>> EAL: Requesting 1 pages of size 1024MB from socket 0
>>>> EAL: TSC frequency is ~2096068 KHz
>>>> EAL: Master lcore 0 is ready (tid=c499bac0;cpuset=[0])
>>>> EAL: PCI device 0000:02:00.0 on NUMA socket -1
>>>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>>>> EAL:   PCI memory mapped at 0x7f8440000000
>>>> EAL:   PCI memory mapped at 0x7f8440080000
>>>> PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 18, SFP+: 5
>>>> PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x10fb
>>>> EAL: PCI device 0000:02:00.1 on NUMA socket -1
>>>> EAL:   probe driver: 8086:10fb rte_ixgbe_pmd
>>>> EAL:   PCI memory mapped at 0x7f8440084000
>>>> EAL:   PCI memory mapped at 0x7f8440104000
>>>> PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 18, SFP+: 6
>>>> PMD: eth_ixgbe_dev_init(): port 1 vendorID=0x8086 deviceID=0x10fb
>>>> Zone 0: name:<RG_MP_log_history>, phys:0x1bfffdec0, len:0x2080, 
>>>> virt:0x7f843fffdec0,
>>>socket_id:0, flags:0
>>>> Zone 1: name:<MP_log_history>, phys:0x1bfd73d40, len:0x28a0c0, 
>>>> virt:0x7f843fd73d40,
>>>socket_id:0, flags:0
>>>> Zone 2: name:<rte_eth_dev_data>, phys:0x1bfd43380, len:0x2f700, 
>>>> virt:0x7f843fd43380,
>>>socket_id:0, flags:0
>>>> 2016-07-02T15:22:51Z|00002|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>entering BACKOFF
>>>> 2016-07-02T15:22:51Z|00003|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (32 
>>>> nodes, 16
>>>buckets)
>>>> 2016-07-02T15:22:51Z|00004|ovs_numa|INFO|Discovered 4 CPU cores on NUMA 
>>>> node 0
>>>> 2016-07-02T15:22:51Z|00005|ovs_numa|INFO|Discovered 1 NUMA nodes and 4 CPU 
>>>> cores
>>>> 2016-07-02T15:22:51Z|00006|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>>>connecting...
>>>> 2016-07-02T15:22:51Z|00007|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>entering CONNECTING
>>>> 2016-07-02T15:22:51Z|00008|poll_loop|DBG|wakeup due to [POLLOUT] on fd 19 
>>>> (<-
>>>>/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:151
>>>> 2016-07-02T15:22:51Z|00009|reconnect|INFO|unix:/usr/local/var/run/openvswitch/db.sock:
>>>connected
>>>> 2016-07-02T15:22:51Z|00010|reconnect|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>entering ACTIVE
>>>> 2016-07-02T15:22:51Z|00011|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>>  send
>>>request, method="get_schema", params=["Open_vSwitch"], id=0
>>>> 2016-07-02T15:22:51Z|00012|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>>  send
>>>request, method="lock", params=["ovs_vswitchd"], id=1
>>>> 2016-07-02T15:22:51Z|00001|poll_loop(urcu3)|DBG|wakeup due to 0-ms timeout
>>>> 2016-07-02T15:22:51Z|00013|poll_loop|DBG|wakeup due to [POLLIN] on fd 19 
>>>> (<-
>>>>/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:155
>>>> 2016-07-02T15:22:51Z|00014|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (8 
>>>> nodes, 4
>>buckets)
>>>> 2016-07-02T15:22:51Z|00015|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (32 
>>>> nodes, 16
>>>buckets)
>>>> 2016-07-02T15:22:51Z|00016|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>received reply,
>>>result={"name":"Open_vSwitch","tables":{"QoS":{"isRoot":true,"columns":{"external_ids":{"ty
>p
>>e
>>>":{"max":"unlimited","value":"string","key":"string","min":0}},"type":{"type":"string"},"qu
>e
>>u
>>>es":{"type":{"max":"unlimited","value":{"type":"uuid","refTable":"Queue"},"key":{"minIntege
>r
>>"
>>>:0,"maxInteger":4294967295,"type":"integer"},"min":0}},"other_config":{"type":{"max":"unlim
>i
>>t
>>>ed","value":"string","key":"string","min":0}}}},"Queue":{"isRoot":true,"columns":{"external
>_
>>i
>>>ds":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"dscp":{"type":{"k
>e
>>y
>>>":{"minInteger":0,"maxInteger":63,"type":"integer"},"min":0}},"other_config":{"type":{"max"
>:
>>"
>>>unlimited","value":"string","key":"string","min":0}}}},"Open_vSwitch":{"maxRows":1,"isRoot"
>:
>>t
>>>rue,"columns":{"datapath_types":{"type":{"max":"unlimited","min":0,"key":"string"}},"statis
>t
>>i
>>>cs":{"type":{"max":"unlimited","value":"string","key":"string","min":0},"ephemeral":true},"
>e
>>x
>>>ternal_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"cur_cfg":
>{
>>"
>>>type":"integer"},"db_version":{"type":{"key":"string","min":0}},"other_config":{"type":{"ma
>x
>>"
>>>:"unlimited","value":"string","key":"string","min":0}},"next_cfg":{"type":"integer"},"syste
>m
>>_
>>>type":{"type":{"key":"string","min":0}},"system_version":{"type":{"key":"string","min":0}},
>"
>>o
>>>vs_version":{"type":{"key":"string","min":0}},"bridges":{"type":{"max":"unlimited","min":0,
>"
>>k
>>>ey":{"type":"uuid","refTable":"Bridge"}}},"ssl":{"type":{"key":{"type":"uuid","refTable":"S
>S
>>L
>>>"},"min":0}},"manager_options":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","ref
>T
>>a
>>>ble":"Manager"}}},"iface_types":{"type":{"max":"unlimited","min":0,"key":"string"}}}},"Flow
>_
>>S
>>>ample_Collector_Set":{"isRoot":true,"columns":{"external_ids":{"type":{"max":"unlimited","v
>a
>>l
>>>ue":"string","key":"string","min":0}},"bridge":{"type":{"key":{"type":"uuid","refTable":"Br
>i
>>d
>>>ge"}}},"ipfix":{"type":{"key":{"type":"uuid","refTable":"IPFIX"},"min":0}},"id":{"type":{"k
>e
>>y
>>>":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}}},"indexes":[["id","bridge"]]}
>,
>>"
>>>Bridge":{"columns":{"rstp_status":{"type":{"max":"unlimited","value":"string","key":"string
>"
>>,
>>>"min":0},"ephemeral":true},"datapath_version":{"type":"string"},"flow_tables":{"type":{"max
>"
>>:
>>>"unlimited","value":{"type":"uuid","refTable":"Flow_Table"},"key":{"minInteger":0,"maxInteg
>e
>>r
>>>":254,"type":"integer"},"min":0}},"protocols":{"type":{"max":"unlimited","min":0,"key":{"ty
>p
>>e
>>>":"string","enum":["set",["OpenFlow10","OpenFlow11","OpenFlow12","OpenFlow13","OpenFlow14",
>"
>>O
>>>penFlow15"]]}}},"auto_attach":{"type":{"key":{"type":"uuid","refTable":"AutoAttach"},"min":
>0
>>}
>>>},"mcast_snooping_enable":{"type":"boolean"},"flood_vlans":{"type":{"max":4096,"min":0,"key
>"
>>:
>>>{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"stp_enable":{"type":"boolean"},"name
>"
>>:
>>>{"type":"string","mutable":false},"sflow":{"type":{"key":{"type":"uuid","refTable":"sFlow"}
>,
>>"
>>>min":0}},"ports":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Port"}
>}
>>}
>>>,"mirrors":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Mirror"}}},"
>n
>>e
>>>tflow":{"type":{"key":{"type":"uuid","refTable":"NetFlow"},"min":0}},"external_ids":{"type"
>:
>>{
>>>"max":"unlimited","value":"string","key":"string","min":0}},"other_config":{"type":{"max":"
>u
>>n
>>>limited","value":"string","key":"string","min":0}},"datapath_type":{"type":"string"},"fail_
>m
>>o
>>>de":{"type":{"key":{"type":"string","enum":["set",["secure","standalone"]]},"min":0}},"data
>p
>>a
>>>th_id":{"type":{"key":"string","min":0},"ephemeral":true},"controller":{"type":{"max":"unli
>m
>>i
>>>ted","min":0,"key":{"type":"uuid","refTable":"Controller"}}},"ipfix":{"type":{"key":{"type"
>:
>>"
>>>uuid","refTable":"IPFIX"},"min":0}},"rstp_enable":{"type":"boolean"},"status":{"type":{"max
>"
>>:
>>>"unlimited","value":"string","key":"string","min":0},"ephemeral":true}},"indexes":[["name"]
>]
>>}
>>>,"IPFIX":{"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"stri
>n
>>g
>>>","min":0}},"sampling":{"type":{"key":{"minInteger":1,"maxInteger":4294967295,"type":"integ
>e
>>r
>>>"},"min":0}},"cache_active_timeout":{"type":{"key":{"minInteger":0,"maxInteger":4200,"type"
>:
>>"
>>>integer"},"min":0}},"other_config":{"type":{"max":"unlimited","value":"string","key":"strin
>g
>>"
>>>,"min":0}},"targets":{"type":{"max":"unlimited","min":0,"key":"string"}},"obs_domain_id":{"
>t
>>y
>>>pe":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"min":0}},"obs_point_i
>d
>>"
>>>:{"type":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"min":0}},"cache_
>m
>>a
>>>x_flows":{"type":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"min":0}}
>}
>>}
>>>,"SSL":{"maxRows":1,"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","
>k
>>e
>>>y":"string","min":0}},"certificate":{"type":"string"},"bootstrap_ca_cert":{"type":"boolean"
>}
>>,
>>>"ca_cert":{"type":"string"},"private_key":{"type":"string"}}},"Interface":{"columns":{"mac"
>:
>>{
>>>"type":{"key":"string","min":0}},"cfm_fault_status":{"type":{"max":"unlimited","min":0,"key
>"
>>:
>>>"string"},"ephemeral":true},"lldp":{"type":{"max":"unlimited","value":"string","key":"strin
>g
>>"
>>>,"min":0}},"statistics":{"type":{"max":"unlimited","value":"integer","key":"string","min":0
>}
>>,
>>>"ephemeral":true},"cfm_flap_count":{"type":{"key":"integer","min":0}},"type":{"type":"strin
>g
>>"
>>>},"link_resets":{"type":{"key":"integer","min":0},"ephemeral":true},"name":{"type":"string"
>,
>>"
>>>mutable":false},"lacp_current":{"type":{"key":"boolean","min":0},"ephemeral":true},"options
>"
>>:
>>>{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"cfm_health":{"type":{
>"
>>k
>>>ey":{"minInteger":0,"maxInteger":100,"type":"integer"},"min":0},"ephemeral":true},"cfm_mpid
>"
>>:
>>>{"type":{"key":"integer","min":0}},"ingress_policing_rate":{"type":{"key":{"type":"integer"
>,
>>"
>>>minInteger":0}}},"cfm_remote_mpids":{"type":{"max":"unlimited","min":0,"key":"integer"},"ep
>h
>>e
>>>meral":true},"mac_in_use":{"type":{"key":"string","min":0},"ephemeral":true},"status":{"typ
>e
>>"
>>>:{"max":"unlimited","value":"string","key":"string","min":0},"ephemeral":true},"link_speed"
>:
>>{
>>>"type":{"key":"integer","min":0},"ephemeral":true},"link_state":{"type":{"key":{"type":"str
>i
>>n
>>>g","enum":["set",["down","up"]]},"min":0},"ephemeral":true},"ofport":{"type":{"key":"intege
>r
>>"
>>>,"min":0}},"bfd_status":{"type":{"max":"unlimited","value":"string","key":"string","min":0}
>}
>>,
>>>"bfd":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"ofport_request"
>:
>>{
>>>"type":{"key":{"minInteger":1,"maxInteger":65279,"type":"integer"},"min":0}},"ifindex":{"ty
>p
>>e
>>>":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"min":0},"ephemeral":tru
>e
>>}
>>>,"ingress_policing_burst":{"type":{"key":{"type":"integer","minInteger":0}}},"external_ids"
>:
>>{
>>>"type":{"max":"unlimited","value":"string","key":"string","min":0}},"cfm_fault":{"type":{"k
>e
>>y
>>>":"boolean","min":0},"ephemeral":true},"other_config":{"type":{"max":"unlimited","value":"s
>t
>>r
>>>ing","key":"string","min":0}},"admin_state":{"type":{"key":{"type":"string","enum":["set",[
>"
>>d
>>>own","up"]]},"min":0},"ephemeral":true},"mtu":{"type":{"key":"integer","min":0},"ephemeral"
>:
>>t
>>>rue},"cfm_remote_opstate":{"type":{"key":{"type":"string","enum":["set",["down","up"]]},"mi
>n
>>"
>>>:0},"ephemeral":true},"error":{"type":{"key":"string","min":0}},"duplex":{"type":{"key":{"t
>y
>>p
>>>e":"string","enum":["set",["full","half"]]},"min":0},"ephemeral":true}},"indexes":[["name"]
>]
>>}
>>>,"Manager":{"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"st
>r
>>i
>>>ng","min":0}},"is_connected":{"type":"boolean","ephemeral":true},"other_config":{"type":{"m
>a
>>x
>>>":"unlimited","value":"string","key":"string","min":0}},"connection_mode":{"type":{"key":{"
>t
>>y
>>>pe":"string","enum":["set",["in-band","out-of-
>>>band"]]},"min":0}},"target":{"type":"string"},"inactivity_probe":{"type":{"key":"integer","
>m
>>i
>>>n":0}},"status":{"type":{"max":"unlimited","value":"string","key":"string","min":0},"epheme
>r
>>a
>>>l":true},"max_backoff":{"type":{"key":{"type":"integer","minInteger":1000},"min":0}}},"inde
>x
>>e
>>>s":[["target"]]},"Flow_Table":{"columns":{"external_ids":{"type":{"max":"unlimited","value"
>:
>>"
>>>string","key":"string","min":0}},"prefixes":{"type":{"max":3,"min":0,"key":"string"}},"name
>"
>>:
>>>{"type":{"key":"string","min":0}},"overflow_policy":{"type":{"key":{"type":"string","enum":
>[
>>"
>>>set",["evict","refuse"]]},"min":0}},"groups":{"type":{"max":"unlimited","min":0,"key":"stri
>n
>>g
>>>"}},"flow_limit":{"type":{"key":{"type":"integer","minInteger":0},"min":0}}}},"Port":{"colu
>m
>>n
>>>s":{"statistics":{"type":{"max":"unlimited","value":"integer","key":"string","min":0},"ephe
>m
>>e
>>>ral":true},"mac":{"type":{"key":"string","min":0}},"trunks":{"type":{"max":4096,"min":0,"ke
>y
>>"
>>>:{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"rstp_status":{"type":{"max":"unlimi
>t
>>e
>>>d","value":"string","key":"string","min":0},"ephemeral":true},"bond_updelay":{"type":"integ
>e
>>r
>>>"},"bond_downdelay":{"type":"integer"},"bond_active_slave":{"type":{"key":"string","min":0}
>}
>>,
>>>"bond_fake_iface":{"type":"boolean"},"name":{"type":"string","mutable":false},"lacp":{"type
>"
>>:
>>>{"key":{"type":"string","enum":["set",["active","off","passive"]]},"min":0}},"fake_bridge":
>{
>>"
>>>type":"boolean"},"qos":{"type":{"key":{"type":"uuid","refTable":"QoS"},"min":0}},"interface
>s
>>"
>>>:{"type":{"max":"unlimited","key":{"type":"uuid","refTable":"Interface"}}},"rstp_statistics
>"
>>:
>>>{"type":{"max":"unlimited","value":"integer","key":"string","min":0},"ephemeral":true},"ext
>e
>>r
>>>nal_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"vlan_mode":{
>"
>>t
>>>ype":{"key":{"type":"string","enum":["set",["access","native-tagged","native-
>>>untagged","trunk"]]},"min":0}},"tag":{"type":{"key":{"minInteger":0,"maxInteger":4095,"type
>"
>>:
>>>"integer"},"min":0}},"other_config":{"type":{"max":"unlimited","value":"string","key":"stri
>n
>>g
>>>","min":0}},"status":{"type":{"max":"unlimited","value":"string","key":"string","min":0},"e
>p
>>h
>>>emeral":true},"bond_mode":{"type":{"key":{"type":"string","enum":["set",["active-
>>>backup","balance-slb","balance-
>>>tcp"]]},"min":0}}},"indexes":[["name"]]},"NetFlow":{"columns":{"external_ids":{"type":{"max
>"
>>:
>>>"unlimited","value":"string","key":"string","min":0}},"active_timeout":{"type":{"key":{"typ
>e
>>"
>>>:"integer","minInteger":-
>>>1}}},"targets":{"type":{"max":"unlimited","key":"string"}},"add_id_to_interface":{"type":"b
>o
>>o
>>>lean"},"engine_id":{"type":{"key":{"minInteger":0,"maxInteger":255,"type":"integer"},"min":
>0
>>}
>>>},"engine_type":{"type":{"key":{"minInteger":0,"maxInteger":255,"type":"integer"},"min":0}}
>}
>>}
>>>,"Controller":{"columns":{"external_ids":{"type":{"max":"unlimited","value":"string","key":
>"
>>s
>>>tring","min":0}},"local_ip":{"type":{"key":"string","min":0}},"role":{"type":{"key":{"type"
>:
>>"
>>>string","enum":["set",["master","other","slave"]]},"min":0},"ephemeral":true},"is_connected
>"
>>:
>>>{"type":"boolean","ephemeral":true},"other_config":{"type":{"max":"unlimited","value":"stri
>n
>>g
>>>","key":"string","min":0}},"controller_rate_limit":{"type":{"key":{"type":"integer","minInt
>e
>>g
>>>er":100},"min":0}},"controller_burst_limit":{"type":{"key":{"type":"integer","minInteger":2
>5
>>}
>>>,"min":0}},"connection_mode":{"type":{"key":{"type":"string","enum":["set",["in-band","out-
>>>of-
>>>band"]]},"min":0}},"enable_async_messages":{"type":{"key":"boolean","min":0}},"target":{"ty
>p
>>e
>>>":"string"},"local_netmask":{"type":{"key":"string","min":0}},"inactivity_probe":{"type":{"
>k
>>e
>>>y":"integer","min":0}},"status":{"type":{"max":"unlimited","value":"string","key":"string",
>"
>>m
>>>in":0},"ephemeral":true},"local_gateway":{"type":{"key":"string","min":0}},"max_backoff":{"
>t
>>y
>>>pe":{"key":{"type":"integer","minInteger":1000},"min":0}}}},"Mirror":{"columns":{"external_
>i
>>d
>>>s":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"select_all":{"type
>"
>>:
>>>"boolean"},"select_src_port":{"type":{"max":"unlimited","min":0,"key":{"refTable":"Port","r
>e
>>f
>>>Type":"weak","type":"uuid"}}},"output_vlan":{"type":{"key":{"minInteger":1,"maxInteger":409
>5
>>,
>>>"type":"integer"},"min":0}},"statistics":{"type":{"max":"unlimited","value":"integer","key"
>:
>>"
>>>string","min":0},"ephemeral":true},"select_vlan":{"type":{"max":4096,"min":0,"key":{"minInt
>e
>>g
>>>er":0,"maxInteger":4095,"type":"integer"}}},"output_port":{"type":{"key":{"refTable":"Port"
>,
>>"
>>>refType":"weak","type":"uuid"},"min":0}},"name":{"type":"string"},"select_dst_port":{"type"
>:
>>{
>>>"max":"unlimited","min":0,"key":{"refTable":"Port","refType":"weak","type":"uuid"}}}}},"Aut
>o
>>A
>>>ttach":{"columns":{"system_name":{"type":"string"},"mappings":{"type":{"max":"unlimited","v
>a
>>l
>>>ue":{"minInteger":0,"maxInteger":4095,"type":"integer"},"key":{"minInteger":0,"maxInteger":
>1
>>6
>>>777215,"type":"integer"},"min":0}},"system_description":{"type":"string"}}},"sFlow":{"colum
>n
>>s
>>>":{"external_ids":{"type":{"max":"unlimited","value":"string","key":"string","min":0}},"age
>n
>>t
>>>":{"type":{"key":"string","min":0}},"header":{"type":{"key":"integer","min":0}},"polling":{
>"
>>t
>>>ype":{"key":"integer","min":0}},"sampling":{"type":{"key":"integer","min":0}},"targets":{"t
>y
>>p
>>>e":{"max":"unlimited","key":"string"}}}}},"version":"7.12.1","cksum":"2211824403
>>> 22535"},
>>>id=0
>>>> 2016-07-02T15:22:51Z|00017|hmap|DBG|lib/sset.c:53: 6 nodes in bucket (8 
>>>> nodes, 4 buckets)
>>>> 2016-07-02T15:22:51Z|00018|hmap|DBG|lib/sset.c:53: 6 nodes in bucket (32 
>>>> nodes, 16
>>buckets)
>>>> 2016-07-02T15:22:51Z|00019|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>>  send
>>>request, method="monitor",
>>>params=["Open_vSwitch",null,{"QoS":{"columns":["other_config","queues","type"]},"Queue":{"c
>o
>>l
>>>umns":["dscp","other_config"]},"Flow_Sample_Collector_Set":{"columns":["bridge","id","ipfix
>"
>>]
>>>},"Open_vSwitch":{"columns":["bridges","cur_cfg","datapath_types","iface_types","manager_op
>t
>>i
>>>ons","next_cfg","other_config","ssl","statistics"]},"Bridge":{"columns":["auto_attach","con
>t
>>r
>>>oller","datapath_id","datapath_type","datapath_version","fail_mode","flood_vlans","flow_tab
>l
>>e
>>>s","ipfix","mcast_snooping_enable","mirrors","name","netflow","other_config","ports","proto
>c
>>o
>>>ls","rstp_enable","rstp_status","sflow","status","stp_enable"]},"IPFIX":{"columns":["cache_
>a
>>c
>>>tive_timeout","cache_max_flows","obs_domain_id","obs_point_id","other_config","sampling","t
>a
>>r
>>>gets"]},"SSL":{"columns":["bootstrap_ca_cert","ca_cert","certificate","private_key"]},"Mana
>g
>>e
>>>r":{"columns":["connection_mode","other_config","target"]},"Interface":{"columns":["admin_s
>t
>>a
>>>te","bfd","bfd_status","cfm_fault","cfm_fault_status","cfm_flap_count","cfm_health","cfm_mp
>i
>>d
>>>","cfm_remote_mpids","cfm_remote_opstate","duplex","error","ifindex","ingress_policing_burs
>t
>>"
>>>,"ingress_policing_rate","lacp_current","link_resets","link_speed","link_state","lldp","mac
>"
>>,
>>>"mac_in_use","mtu","name","ofport","ofport_request","options","other_config","statistics","
>s
>>t
>>>atus","type"]},"Flow_Table":{"columns":["external_ids","flow_limit","groups","name","overfl
>o
>>w
>>>_policy","prefixes"]},"Port":{"columns":["bond_active_slave","bond_downdelay","bond_fake_if
>a
>>c
>>>e","bond_mode","bond_updelay","fake_bridge","interfaces","lacp","mac","name","other_config"
>,
>>"
>>>qos","rstp_statistics","rstp_status","statistics","status","tag","trunks","vlan_mode"]},"Ne
>t
>>F
>>>low":{"columns":["active_timeout","add_id_to_interface","engine_id","engine_type","targets"
>]
>>}
>>>,"Controller":{"columns":["connection_mode","controller_burst_limit","controller_rate_limit
>"
>>,
>>>"enable_async_messages","inactivity_probe","is_connected","local_gateway","local_ip","local
>_
>>n
>>>etmask","max_backoff","other_config","role","status","target"]},"AutoAttach":{"columns":["m
>a
>>p
>>>pings","system_description","system_name"]},"Mirror":{"columns":["name","output_port","outp
>u
>>t
>>>_vlan","select_all","select_dst_port","select_src_port","select_vlan","statistics"]},"sFlow
>"
>>:
>>>{"columns":["agent","header","polling","sampling","targets"]}}], id=2
>>>> 2016-07-02T15:22:51Z|00020|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>received reply, result={"locked":true}, id=1
>>>> 2016-07-02T15:22:51Z|00021|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>received reply, result={"Open_vSwitch":{"e0730da5-786e-4990-a4ee-
>>>04772db6c420":{"new":{"statistics":["map",[]],"datapath_types":["set",[]],"cur_cfg":0,"next
>_
>>c
>>>fg":0,"other_config":["map",[]],"bridges":["set",[]],"ssl":["set",[]],"manager_options":["s
>e
>>t
>>>",[]],"iface_types":["set",[]]}}}}, id=2
>>>> 2016-07-02T15:22:51Z|00022|netlink_socket|DBG|nl_sock_send__ (Success): 
>>>> nl(len:17,
>>>type=26(family-defined), flags=305[REQUEST][ACK][DUMP], seq=1, pid=3560992085
>>>> 2016-07-02T15:22:51Z|00023|netlink_socket|DBG|nl_sock_recv__ (Success): 
>>>> nl(len:60,
>>>type=24(family-defined), flags=2[MULTI], seq=1, pid=3560992085
>>>> 2016-07-02T15:22:51Z|00024|netlink_socket|DBG|nl_sock_recv__ (Success): 
>>>> nl(len:116,
>>>type=24(family-defined), flags=2[MULTI], seq=1, pid=3560992085
>>>> 2016-07-02T15:22:51Z|00025|netlink_socket|DBG|nl_sock_recv__ (Success): 
>>>> nl(len:20,
>>>type=3(done), flags=2[MULTI], seq=1, pid=3560992085 done(0)
>>>> 2016-07-02T15:22:51Z|00026|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>>  send
>>>request, method="transact",
>>>params=["Open_vSwitch",{"op":"assert","lock":"ovs_vswitchd"},{"row":{"datapath_types":["set
>"
>>,
>>>["netdev","system"]],"iface_types":["set",["dpdk","dpdkr","dpdkvhostuser","geneve","gre","i
>n
>>t
>>>ernal","ipsec_gre","lisp","patch","stt","system","tap","vxlan"]]},"where":[["_uuid","==",["
>u
>>u
>>>id","e0730da5-786e-4990-a4ee-04772db6c420"]]],"table":"Open_vSwitch","op":"update"}],
>>> id=3
>>>> 2016-07-02T15:22:51Z|00002|poll_loop(urcu3)|DBG|wakeup due to [POLLIN] on 
>>>> fd 21 (FIFO
>>>pipe:[26795]) at lib/ovs-rcu.c:286
>>>> 2016-07-02T15:22:51Z|00027|poll_loop|DBG|wakeup due to [POLLIN] on fd 19 
>>>> (<-
>>>>/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:155
>>>> 2016-07-02T15:22:51Z|00028|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>received notification, method="update", 
>>>params=[null,{"Open_vSwitch":{"e0730da5-786e-4990-
>>>a4ee-
>>>04772db6c420":{"old":{"datapath_types":["set",[]],"iface_types":["set",[]]},"new":{"statist
>i
>>c
>>>s":["map",[]],"datapath_types":["set",["netdev","system"]],"cur_cfg":0,"next_cfg":0,"other_
>c
>>o
>>>nfig":["map",[]],"bridges":["set",[]],"ssl":["set",[]],"manager_options":["set",[]],"iface_
>t
>>y
>>>pes":["set",["dpdk","dpdkr","dpdkvhostuser","geneve","gre","internal","ipsec_gre","lisp","p
>a
>>t
>>>ch","stt","system","tap","vxlan"]]}}}}]
>>>> 2016-07-02T15:22:51Z|00029|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock:
>>>received reply, result=[{},{"count":1}], id=3
>>>
>>>
>>>_______________________________________________
>>>dev mailing list
>>>dev@openvswitch.org
>>>http://openvswitch.org/mailman/listinfo/dev
>
>

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to