summaryrefslogtreecommitdiff
path: root/tests/ofproto.at
diff options
context:
space:
mode:
authorMichal Weglicki <michalx.weglicki@intel.com>2018-01-09 07:55:37 +0000
committerBen Pfaff <blp@ovn.org>2018-01-10 15:29:13 -0800
commit971f4b394c6e8480300494787fe919869ff3886c (patch)
tree8dfa01877f05fbc46ebcc85d3c62f3c06e820ad0 /tests/ofproto.at
parentcd32509e4af4f9f7a002a6a5c137718f2173c538 (diff)
downloadopenvswitch-971f4b394c6e8480300494787fe919869ff3886c.tar.gz
netdev: Custom statistics.
- New get_custom_stats interface function is added to netdev. It allows particular netdev implementation to expose custom counters in dictionary format (counter name/counter value). - New statistics are retrieved using experimenter code and are printed as a result to ofctl dump-ports. - New counters are available for OpenFlow 1.4+. - New statistics are printed to output via ofctl only if those are present in reply message. - New statistics definition is added to include/openflow/intel-ext.h. - Custom statistics are implemented only for dpdk-physical port type. - DPDK-physical implementation uses xstats to collect statistics. Only dropped and error counters are exposed. Co-authored-by: Ben Pfaff <blp@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org> Signed-off-by: Michal Weglicki <michalx.weglicki@intel.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/ofproto.at')
-rw-r--r--tests/ofproto.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ofproto.at b/tests/ofproto.at
index 540928f1d..ec1dc5161 100644
--- a/tests/ofproto.at
+++ b/tests/ofproto.at
@@ -111,6 +111,8 @@ OFPST_PORT reply (OF1.4): 1 ports
port LOCAL: rx pkts=0, bytes=0, drop=?, errs=?, frame=?, over=?, crc=?
tx pkts=0, bytes=0, drop=?, errs=?, coll=?
duration=?s
+ CUSTOM Statistics
+ rx_custom_packets_1=0, rx_custom_packets_2=0,
])
OVS_VSWITCHD_STOP
AT_CLEANUP