[ovs-dev] [PATCH 31/47] ofp-msgs: Allow 1.0-1.2 range

Simon Horman horms at verge.net.au
Wed Aug 1 07:02:14 UTC 2012


This is intended for use with OFPRAW_OFPST_TABLE_REQUEST
in order for it to be symmetric with OpenFlow 1.0, 1.1 and 1.2
versions of OFPRAW_OFPST1TABLE_REPLY.

OpenFlow 1.3 introduces yet another format for OFPRAW_OFPST1TABLE_REPLY.

Signed-off-by: Simon Horman <horms at verge.net.au>

---

v9
* No change

v8
* Initial post
---
 build-aux/extract-ofp-msgs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs
index fe92dae..ad1a8a8 100755
--- a/build-aux/extract-ofp-msgs
+++ b/build-aux/extract-ofp-msgs
@@ -28,7 +28,8 @@ version_map = {"1.0":     (OFP10_VERSION, OFP10_VERSION),
                "1.1+":    (OFP11_VERSION, OFP13_VERSION),
                "1.2+":    (OFP12_VERSION, OFP13_VERSION),
                "1.3+":    (OFP13_VERSION, OFP13_VERSION),
-               "1.0-1.1": (OFP10_VERSION, OFP11_VERSION)}
+               "1.0-1.1": (OFP10_VERSION, OFP11_VERSION),
+               "1.0-1.2": (OFP10_VERSION, OFP12_VERSION)}
 
 def get_line():
     global line
-- 
1.7.10.2.484.gcd07cc5




More information about the dev mailing list