]> git.proxmox.com Git - ovs.git/commit
Add support for OpenFlow 1.5 statistics (OXS).
authorSatyaValli <satyavalli.rama@tcs.com>
Thu, 10 May 2018 16:26:54 +0000 (21:56 +0530)
committerBen Pfaff <blp@ovn.org>
Wed, 16 May 2018 22:29:46 +0000 (15:29 -0700)
commitc7b02b800615c0bf383f3a740fe62b3f1759a997
treecbdf95ba2890c3ef54926ac44efaa5ac35932133
parent7c0cb293eea321b934ff6398dd7e938ce3a0511f
Add support for OpenFlow 1.5 statistics (OXS).

This patch provides implementation Existing flow entry statistics are
redefined as standard OXS(OpenFlow Extensible Statistics) fields for
displaying the arbitrary flow stats.

To support this implementation below messages are newly added

OFPRAW_OFPT15_FLOW_REMOVED,
OFPRAW_OFPST15_AGGREGATE_REQUEST,
OFPRAW_OFPST15_FLOW_REPLY,
OFPRAW_OFPST15_AGGREGATE_REPLY,

The current commit adds support for the new feature in flow statistics
multipart messages, aggregate multipart messages and OXS support for flow
removal message, individual flow description messages.

Signed-off-by: Satya Valli <satyavalli.rama@tcs.com>
Co-authored-by: Lavanya Harivelam <harivelam.lavanya@tcs.com>
Signed-off-by: Lavanya Harivelam <harivelam.lavanya@tcs.com>
Co-authored-by: Surya Muttamsetty <muttamsetty.surya@tcs.com>
Signed-off-by: Surya Muttamsetty <muttamsetty.surya@tcs.com>
Co-authored-by: Manasa Cherukupally <manasa.cherukupally@tcs.com>
Signed-off-by: Manasa Cherukupally <manasa.cherukupally@tcs.com>
Co-authored-by: Pavani Panthagada <p.pavani1@tcs.com>
Signed-off-by: Pavani Panthagada <p.pavani1@tcs.com>
[blp@ovn.org simplified and rewrote much of the code]
Co-authored-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
13 files changed:
NEWS
include/openflow/openflow-1.5.h
include/openvswitch/ofp-flow.h
include/openvswitch/ofp-monitor.h
include/openvswitch/ofp-msgs.h
lib/automake.mk
lib/ofp-flow.c
lib/ofp-monitor.c
lib/ox-stat.c [new file with mode: 0644]
lib/ox-stat.h [new file with mode: 0644]
tests/ofp-print.at
tests/ofproto-dpif.at
tests/ofproto.at