summaryrefslogtreecommitdiff
path: root/include/openvswitch/ofp-msgs.h
diff options
context:
space:
mode:
authorZak Whittington <zwhitt.vmware@gmail.com>2018-10-26 15:06:28 -0700
committerBen Pfaff <blp@ovn.org>2018-10-26 15:17:22 -0700
commit98a9272ba2c4ba973f015fdd0de06d497bf8bb05 (patch)
treef2c54b86e39e5863adca8957bf7e9ab6794087f5 /include/openvswitch/ofp-msgs.h
parent23b9ac1e5b4f8f047cf1fefa6d7ebcbcf7d678f8 (diff)
downloadopenvswitch-98a9272ba2c4ba973f015fdd0de06d497bf8bb05.tar.gz
ofp-msgs: Added ONF_ and NXT_REQUESTFORWARD for OF1.0-1.3
Backported OFPT14_REQUESTFORWARD to OF1.0-1.3. OF 1.0-1.2 use an NXT Nicira extension while OF 1.3 uses an ONF extension (ONF version is specified in a previously published ONF spec sheet). Includes ofp-print tests for multiple inner message types, and multiple OF versions including the NXT and ONF. Also includes more end-to-end ofproto tests for both NXT OF1.0 and also ONF OF1.3. VMware-BZ: 2136594 Signed-off-by: Zak Whittington <zwhitt.vmware@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-msgs.h')
-rw-r--r--include/openvswitch/ofp-msgs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/openvswitch/ofp-msgs.h b/include/openvswitch/ofp-msgs.h
index 8a32a3dc6..cacba41b5 100644
--- a/include/openvswitch/ofp-msgs.h
+++ b/include/openvswitch/ofp-msgs.h
@@ -274,6 +274,10 @@ enum ofpraw {
/* OFPT 1.4+ (31): struct ofp14_table_status, uint8_t[8][]. */
OFPRAW_OFPT14_TABLE_STATUS,
+ /* NXT 1.0-1.2 (132): struct ofp14_requestforward, uint8_t[8][]. */
+ OFPRAW_NXT_REQUESTFORWARD,
+ /* ONFT 1.3 (2350): struct ofp14_requestforward, uint8_t[8][]. */
+ OFPRAW_ONFT13_REQUESTFORWARD,
/* OFPT 1.4+ (32): struct ofp14_requestforward, uint8_t[8][]. */
OFPRAW_OFPT14_REQUESTFORWARD,
@@ -645,7 +649,9 @@ enum ofptype {
* OFPRAW_OFPT14_ROLE_STATUS. */
/* Request forwarding by the switch. */
- OFPTYPE_REQUESTFORWARD, /* OFPRAW_OFPT14_REQUESTFORWARD. */
+ OFPTYPE_REQUESTFORWARD, /* OFPRAW_NXT_REQUESTFORWARD.
+ * OFPRAW_ONFT13_REQUESTFORWARD.
+ * OFPRAW_OFPT14_REQUESTFORWARD. */
/* Asynchronous messages. */
OFPTYPE_TABLE_STATUS, /* OFPRAW_OFPT14_TABLE_STATUS. */