On Wed, Jun 08, 2016 at 06:45:25PM +0800, Benli Ye wrote: > It is meaningful for user to check the stats of IPFIX. > Using IPFIX stats, user can know how much flows the system > can support. It is also can be used for performance check > of IPFIX.
Thanks for posting v3! I think that this is close. I suggest folding in the appended incremental change. I get test failures with this applied. I'm attaching them. Can you take a look? Thanks, Ben. diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index 489933e..747c5bc 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -1362,7 +1362,7 @@ struct ofproto_class { *flow_exporters_options, size_t n_flow_exporters_options); /* - * Get IPFIX stats on 'ofproto' according to the exporter of birdge + * Get IPFIX stats on 'ofproto' according to the exporter of bridge * IPFIX or flow based IPFIX. * * OFPERR_NXST_NOT_CONFIGURED as a return value indicates that bridge diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in index b53fe8e..9ec47a1 100644 --- a/utilities/ovs-ofctl.8.in +++ b/utilities/ovs-ofctl.8.in @@ -264,13 +264,13 @@ This command uses an Open vSwitch extension that is only in Open vSwitch 2.6 and later. . .IP "\fBdump\-ipfix\-flow \fIswitch -Prints to the console the statistics of flow based IPFIX for -\fIswitch\fR. If flow based IPFIX is configured on the \fIswitch\fR, +Prints to the console the statistics of flow-based IPFIX for +\fIswitch\fR. If flow-based IPFIX is configured on the \fIswitch\fR, statistics of all the collector set ids on the \fIswitch\fR will be printed. Otherwise, print error message. .IP -Refer to ovs-vswitchd.conf.db(8) for more details on configuring flow -based IPFIX and collector set id. +Refer to \fBovs-vswitchd.conf.db\fR(5) for more details on configuring +flow-based IPFIX and collector set ids. .IP This command uses an Open vSwitch extension that is only in Open vSwitch 2.6 and later. @@ -2322,7 +2322,7 @@ When sending samples to IPFIX collectors, the unsigned 32-bit integer Observation Point ID sent in every IPFIX flow record. Defaults to 0. .RE .IP -Refer to \fBovs\-vswitchd.conf.db\fR(8) for more details on +Refer to \fBovs\-vswitchd.conf.db\fR(5) for more details on configuring sample collector sets. .IP This action was added in Open vSwitch 1.10.90.
# -*- compilation -*- 1046. ofproto-dpif.at:5830: testing ofproto-dpif - Bridge IPFIX statistics check ... ../../tests/ofproto-dpif.at:5831: ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema ../../tests/ofproto-dpif.at:5831: ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock stderr: 2016-06-09T21:32:37Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/ovsdb-server.log ../../tests/ofproto-dpif.at:5831: sed < stderr ' /vlog|INFO|opened log file/d /ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d' ../../tests/ofproto-dpif.at:5831: ovs-vsctl --no-wait init ../../tests/ofproto-dpif.at:5831: ovs-vswitchd --enable-dummy --disable-system --detach --no-chdir --pidfile --log-file -vvconn -vofproto_dpif -vunixctl stderr: 2016-06-09T21:32:37Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/ovs-vswitchd.log 2016-06-09T21:32:37Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA node 0 2016-06-09T21:32:37Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU cores 2016-06-09T21:32:37Z|00004|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/db.sock: connecting... 2016-06-09T21:32:37Z|00005|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/db.sock: connected ../../tests/ofproto-dpif.at:5831: sed < stderr ' /ovs_numa|INFO|Discovered /d /vlog|INFO|opened log file/d /vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d /reconnect|INFO|/d /ofproto|INFO|using datapath ID/d /netdev_linux|INFO|.*device has unknown hardware address family/d /ofproto|INFO|datapath ID changed to fedcba9876543210/d /dpdk|INFO|DPDK Disabled - to change this requires a restart./d' ../../tests/ofproto-dpif.at:5831: add_of_br 0 ovs-vsctl -- add-port br0 p1 -- set Interface p1 type=dummy ofport_request=1 -- add-port br0 p2 -- set Interface p2 type=dummy ofport_request=2 ../../tests/ofproto-dpif.at:5835: ovs-ofctl dump-ipfix-bridge br0 ../../tests/ofproto-dpif.at:5841: ovs-vsctl -- set bridge br0 ipfix=@fix -- \ --id=@fix create ipfix targets=\"127.0.0.1:4739\" \ sampling=1 stdout: c2b8fc05-828a-4b75-b3f3-b7baaabd4f0d ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5847: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5851: ovs-ofctl dump-ipfix-bridge br0 --- - 2016-06-09 14:32:37.914766248 -0700 +++ /home/blp/nicira/ovs/_build/tests/testsuite.dir/at-groups/1046/stdout 2016-06-09 14:32:37.910580357 -0700 @@ -1,4 +1,4 @@ NXST_IPFIX_BRIDGE reply (xid=0x2): - bridge ipfix: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 ok=0, tx pkts=12 - pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=12 + bridge ipfix: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 ok=0, tx pkts=10 + pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=10 ovsdb-server.log: > 2016-06-09T21:32:37.833Z|00001|vlog|INFO|opened log file > /home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/ovsdb-server.log > 2016-06-09T21:32:37.836Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) > 2.5.90 ovs-vswitchd.log: > 2016-06-09T21:32:37.845Z|00001|vlog|INFO|opened log file > /home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/ovs-vswitchd.log > 2016-06-09T21:32:37.845Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA > node 0 > 2016-06-09T21:32:37.845Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 > CPU cores > 2016-06-09T21:32:37.846Z|00004|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/db.sock: > connecting... > 2016-06-09T21:32:37.846Z|00005|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/db.sock: > connected > 2016-06-09T21:32:37.848Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.5.90 > 2016-06-09T21:32:37.857Z|00007|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > supports recirculation > 2016-06-09T21:32:37.857Z|00008|ofproto_dpif|INFO|dummy@ovs-dummy: MPLS label > stack length probed as 3 > 2016-06-09T21:32:37.857Z|00009|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > supports unique flow ids > 2016-06-09T21:32:37.857Z|00010|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_state > 2016-06-09T21:32:37.857Z|00011|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_zone > 2016-06-09T21:32:37.857Z|00012|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_mark > 2016-06-09T21:32:37.857Z|00013|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_label > 2016-06-09T21:32:37.857Z|00014|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_state_nat > 2016-06-09T21:32:37.858Z|00015|bridge|INFO|bridge br0: added interface br0 on > port 65534 > 2016-06-09T21:32:37.858Z|00016|bridge|INFO|bridge br0: using datapath ID > fedcba9876543210 > 2016-06-09T21:32:37.858Z|00017|connmgr|INFO|br0: added service controller > "punix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1046/br0.mgmt" > 2016-06-09T21:32:37.863Z|00018|bridge|INFO|bridge br0: added interface p2 on > port 2 > 2016-06-09T21:32:37.863Z|00019|bridge|INFO|bridge br0: added interface p1 on > port 1 > 2016-06-09T21:32:37.865Z|00020|vconn|DBG|unix: sent (Success): OFPT_HELLO > (OF1.6) (xid=0x1): > version bitmap: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 > 2016-06-09T21:32:37.865Z|00021|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1): > version bitmap: 0x01 > 2016-06-09T21:32:37.865Z|00022|vconn|DBG|unix: negotiated OpenFlow version > 0x01 (we support version 0x07 and earlier, peer supports version 0x01) > 2016-06-09T21:32:37.865Z|00023|vconn|DBG|unix: received: NXST_IPFIX_BRIDGE > request (xid=0x2): > 2016-06-09T21:32:37.865Z|00024|connmgr|INFO|br0<->unix: sending > NXST_NOT_CONFIGURED error reply to NXST_IPFIX_BRIDGE request message > 2016-06-09T21:32:37.865Z|00025|vconn|DBG|unix: sent (Success): OFPT_ERROR > (xid=0x2): NXST_NOT_CONFIGURED > NXST_IPFIX_BRIDGE request (xid=0x2): > 2016-06-09T21:32:37.886Z|00026|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.886Z|00027|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.888Z|00028|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.888Z|00029|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.888Z|00030|collectors|WARN|127.0.0.1:37675<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:37.889Z|00031|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.889Z|00032|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.890Z|00033|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.890Z|00034|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.891Z|00035|collectors|WARN|127.0.0.1:37675<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:37.892Z|00036|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.892Z|00037|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.893Z|00038|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.893Z|00039|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.893Z|00040|collectors|WARN|127.0.0.1:37675<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:37.894Z|00041|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.894Z|00042|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.896Z|00043|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.896Z|00044|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.896Z|00045|collectors|WARN|127.0.0.1:37675<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:37.897Z|00046|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.897Z|00047|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.898Z|00048|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.898Z|00049|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.899Z|00050|collectors|WARN|127.0.0.1:37675<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:37.900Z|00051|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.900Z|00052|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.901Z|00053|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.901Z|00054|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.902Z|00055|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.902Z|00056|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.904Z|00057|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.904Z|00058|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.905Z|00059|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.905Z|00060|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.906Z|00061|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.906Z|00062|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.907Z|00063|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.907Z|00064|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.909Z|00065|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.909Z|00066|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.910Z|00067|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.910Z|00068|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.912Z|00069|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:37.912Z|00070|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:37.913Z|00071|vconn|DBG|unix: sent (Success): OFPT_HELLO > (OF1.6) (xid=0x2): > version bitmap: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 > 2016-06-09T21:32:37.913Z|00072|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1): > version bitmap: 0x01 > 2016-06-09T21:32:37.913Z|00073|vconn|DBG|unix: negotiated OpenFlow version > 0x01 (we support version 0x07 and earlier, peer supports version 0x01) > 2016-06-09T21:32:37.913Z|00074|vconn|DBG|unix: received: NXST_IPFIX_BRIDGE > request (xid=0x2): > 2016-06-09T21:32:37.913Z|00075|vconn|DBG|unix: sent (Success): > NXST_IPFIX_BRIDGE reply (xid=0x2): > bridge ipfix: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 > ok=0, tx pkts=10 > pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=10 1046. ofproto-dpif.at:5830: 1046. ofproto-dpif - Bridge IPFIX statistics check (ofproto-dpif.at:5830): FAILED (ofproto-dpif.at:5851)
# -*- compilation -*- 1048. ofproto-dpif.at:5922: testing ofproto-dpif - Flow IPFIX statistics check ... ../../tests/ofproto-dpif.at:5923: ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema ../../tests/ofproto-dpif.at:5923: ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock stderr: 2016-06-09T21:32:37Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/ovsdb-server.log ../../tests/ofproto-dpif.at:5923: sed < stderr ' /vlog|INFO|opened log file/d /ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d' ../../tests/ofproto-dpif.at:5923: ovs-vsctl --no-wait init ../../tests/ofproto-dpif.at:5923: ovs-vswitchd --enable-dummy --disable-system --detach --no-chdir --pidfile --log-file -vvconn -vofproto_dpif -vunixctl stderr: 2016-06-09T21:32:37Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/ovs-vswitchd.log 2016-06-09T21:32:37Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA node 0 2016-06-09T21:32:37Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU cores 2016-06-09T21:32:37Z|00004|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/db.sock: connecting... 2016-06-09T21:32:37Z|00005|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/db.sock: connected ../../tests/ofproto-dpif.at:5923: sed < stderr ' /ovs_numa|INFO|Discovered /d /vlog|INFO|opened log file/d /vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d /reconnect|INFO|/d /ofproto|INFO|using datapath ID/d /netdev_linux|INFO|.*device has unknown hardware address family/d /ofproto|INFO|datapath ID changed to fedcba9876543210/d /dpdk|INFO|DPDK Disabled - to change this requires a restart./d' ../../tests/ofproto-dpif.at:5923: add_of_br 0 ovs-vsctl -- add-port br0 p1 -- set Interface p1 type=dummy ofport_request=1 -- add-port br0 p2 -- set Interface p2 type=dummy ofport_request=2 ../../tests/ofproto-dpif.at:5927: ovs-ofctl dump-ipfix-flow br0 ../../tests/ofproto-dpif.at:5933: ovs-vsctl list bridge br0 stdout: _uuid : eaf36d83-5248-40eb-8cb2-986fb29dd36c auto_attach : [] controller : [] datapath_id : "fedcba9876543210" datapath_type : dummy datapath_version : "<built-in>" external_ids : {} fail_mode : secure flood_vlans : [] flow_tables : {} ipfix : [] mcast_snooping_enable: false mirrors : [] name : "br0" netflow : [] other_config : {datapath-id="fedcba9876543210", hwaddr="aa:55:aa:55:00:00"} ports : [8058cf59-6e3c-43a3-a885-390646047f16, 8651ca7b-1368-4112-8e3d-93f18bece25f, d5bea39b-b239-4330-a275-b4c43c4fef21] protocols : ["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13", "OpenFlow14", "OpenFlow15", "OpenFlow16"] rstp_enable : false rstp_status : {} sflow : [] status : {} stp_enable : false ../../tests/ofproto-dpif.at:5936: ovs-vsctl -- create Flow_Sample_Collector_Set id=1 bridge=$bridge_uuid stdout: c0e816b8-6849-4608-8707-ce943d17a4cb ../../tests/ofproto-dpif.at:5941: ovs-vsctl -- set Flow_Sample_Collector_Set $collector_set_uuid ipfix=@i -- \ --id=@i create IPFIX targets=\"127.0.0.1:4739\" stdout: 1f457760-74d9-4309-8a59-0b39d9bd3a0a ../../tests/ofproto-dpif.at:5948: ovs-ofctl add-flows br0 flows.txt stdout: ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5952: ovs-appctl netdev-dummy/receive p1 'in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)' ../../tests/ofproto-dpif.at:5956: ovs-ofctl dump-ipfix-flow br0 --- - 2016-06-09 14:32:38.048294941 -0700 +++ /home/blp/nicira/ovs/_build/tests/testsuite.dir/at-groups/1048/stdout 2016-06-09 14:32:38.042580362 -0700 @@ -1,4 +1,4 @@ NXST_IPFIX_FLOW reply (xid=0x2): 1 ids - id 1: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 ok=0, tx pkts=12 - pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=12 + id 1: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 ok=0, tx pkts=10 + pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=10 ovsdb-server.log: > 2016-06-09T21:32:37.957Z|00001|vlog|INFO|opened log file > /home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/ovsdb-server.log > 2016-06-09T21:32:37.959Z|00002|ovsdb_server|INFO|ovsdb-server (Open vSwitch) > 2.5.90 ovs-vswitchd.log: > 2016-06-09T21:32:37.968Z|00001|vlog|INFO|opened log file > /home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/ovs-vswitchd.log > 2016-06-09T21:32:37.968Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA > node 0 > 2016-06-09T21:32:37.968Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 > CPU cores > 2016-06-09T21:32:37.968Z|00004|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/db.sock: > connecting... > 2016-06-09T21:32:37.968Z|00005|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/db.sock: > connected > 2016-06-09T21:32:37.971Z|00006|bridge|INFO|ovs-vswitchd (Open vSwitch) 2.5.90 > 2016-06-09T21:32:37.980Z|00007|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > supports recirculation > 2016-06-09T21:32:37.980Z|00008|ofproto_dpif|INFO|dummy@ovs-dummy: MPLS label > stack length probed as 3 > 2016-06-09T21:32:37.980Z|00009|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > supports unique flow ids > 2016-06-09T21:32:37.980Z|00010|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_state > 2016-06-09T21:32:37.980Z|00011|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_zone > 2016-06-09T21:32:37.980Z|00012|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_mark > 2016-06-09T21:32:37.980Z|00013|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_label > 2016-06-09T21:32:37.980Z|00014|ofproto_dpif|INFO|dummy@ovs-dummy: Datapath > does not support ct_state_nat > 2016-06-09T21:32:37.980Z|00015|bridge|INFO|bridge br0: added interface br0 on > port 65534 > 2016-06-09T21:32:37.980Z|00016|bridge|INFO|bridge br0: using datapath ID > fedcba9876543210 > 2016-06-09T21:32:37.980Z|00017|connmgr|INFO|br0: added service controller > "punix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1048/br0.mgmt" > 2016-06-09T21:32:37.986Z|00018|bridge|INFO|bridge br0: added interface p2 on > port 2 > 2016-06-09T21:32:37.986Z|00019|bridge|INFO|bridge br0: added interface p1 on > port 1 > 2016-06-09T21:32:37.988Z|00020|vconn|DBG|unix: sent (Success): OFPT_HELLO > (OF1.6) (xid=0x1): > version bitmap: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 > 2016-06-09T21:32:37.988Z|00021|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1): > version bitmap: 0x01 > 2016-06-09T21:32:37.988Z|00022|vconn|DBG|unix: negotiated OpenFlow version > 0x01 (we support version 0x07 and earlier, peer supports version 0x01) > 2016-06-09T21:32:37.988Z|00023|vconn|DBG|unix: received: NXST_IPFIX_FLOW > request (xid=0x2): > 2016-06-09T21:32:37.988Z|00024|connmgr|INFO|br0<->unix: sending > NXST_NOT_CONFIGURED error reply to NXST_IPFIX_FLOW request message > 2016-06-09T21:32:37.988Z|00025|vconn|DBG|unix: sent (Success): OFPT_ERROR > (xid=0x2): NXST_NOT_CONFIGURED > NXST_IPFIX_FLOW request (xid=0x2): > 2016-06-09T21:32:38.005Z|00026|vconn|DBG|unix: sent (Success): OFPT_HELLO > (OF1.6) (xid=0x2): > version bitmap: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 > 2016-06-09T21:32:38.005Z|00027|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1): > version bitmap: 0x01 > 2016-06-09T21:32:38.005Z|00028|vconn|DBG|unix: negotiated OpenFlow version > 0x01 (we support version 0x07 and earlier, peer supports version 0x01) > 2016-06-09T21:32:38.005Z|00029|vconn|DBG|unix: received: OFPT_FLOW_MOD > (xid=0x2): ADD in_port=1 > actions=sample(probability=65535,collector_set_id=1,obs_domain_id=0,obs_point_id=0),output:2 > 2016-06-09T21:32:38.005Z|00030|vconn|DBG|unix: received: OFPT_BARRIER_REQUEST > (xid=0x3): > 2016-06-09T21:32:38.005Z|00031|vconn|DBG|unix: sent (Success): > OFPT_BARRIER_REPLY (xid=0x3): > 2016-06-09T21:32:38.006Z|00032|connmgr|INFO|br0<->unix: 1 flow_mods in the > last 0 s (1 adds) > 2016-06-09T21:32:38.021Z|00033|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.021Z|00034|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.023Z|00035|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.023Z|00036|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.023Z|00037|collectors|WARN|127.0.0.1:48220<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:38.024Z|00038|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.024Z|00039|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.025Z|00040|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.025Z|00041|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.025Z|00042|collectors|WARN|127.0.0.1:48220<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:38.027Z|00043|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.027Z|00044|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.028Z|00045|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.028Z|00046|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.028Z|00047|collectors|WARN|127.0.0.1:48220<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:38.029Z|00048|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.029Z|00049|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.030Z|00050|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.031Z|00051|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.031Z|00052|collectors|WARN|127.0.0.1:48220<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:38.032Z|00053|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.032Z|00054|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.033Z|00055|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.033Z|00056|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.033Z|00057|collectors|WARN|127.0.0.1:48220<->127.0.0.1:4739: > sending to collector failed (Connection refused) > 2016-06-09T21:32:38.034Z|00058|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.034Z|00059|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.036Z|00060|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.036Z|00061|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.037Z|00062|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.037Z|00063|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.038Z|00064|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.038Z|00065|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.039Z|00066|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.039Z|00067|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.041Z|00068|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.041Z|00069|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.042Z|00070|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.042Z|00071|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.043Z|00072|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.043Z|00073|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.044Z|00074|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.044Z|00075|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.045Z|00076|unixctl|DBG|received request > netdev-dummy/receive["p1","in_port(1),eth(src=50:54:00:00:00:09,dst=50:54:00:00:00:0a),eth_type(0x0800)"], > id=0 > 2016-06-09T21:32:38.045Z|00077|unixctl|DBG|replying with success, id=0: "" > 2016-06-09T21:32:38.047Z|00078|vconn|DBG|unix: sent (Success): OFPT_HELLO > (OF1.6) (xid=0x3): > version bitmap: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 > 2016-06-09T21:32:38.047Z|00079|vconn|DBG|unix: received: OFPT_HELLO (xid=0x1): > version bitmap: 0x01 > 2016-06-09T21:32:38.047Z|00080|vconn|DBG|unix: negotiated OpenFlow version > 0x01 (we support version 0x07 and earlier, peer supports version 0x01) > 2016-06-09T21:32:38.047Z|00081|vconn|DBG|unix: received: NXST_IPFIX_FLOW > request (xid=0x2): > 2016-06-09T21:32:38.047Z|00082|vconn|DBG|unix: sent (Success): > NXST_IPFIX_FLOW reply (xid=0x2): 1 ids > id 1: flows=20, current flows=0, sampled pkts=20, ipv4 ok=0, ipv6 ok=0, > tx pkts=10 > pkts errs=20, ipv4 errs=20, ipv6 errs=0, tx errs=10 1048. ofproto-dpif.at:5922: 1048. ofproto-dpif - Flow IPFIX statistics check (ofproto-dpif.at:5922): FAILED (ofproto-dpif.at:5956)
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev