Signed-off-by: Simon Horman <[email protected]>

---
v3
* First post
---
 .../of14/5-53-ofp_table_features_request.packet    | Bin 11072 -> 11128 bytes
 ryu/tests/packet_data_generator/src/x5.erl         |  14 +++++++++-
 .../5-53-ofp_table_features_request.packet.json    |  29 ++++++++++++++++++++-
 3 files changed, 41 insertions(+), 2 deletions(-)

diff --git a/ryu/tests/packet_data/of14/5-53-ofp_table_features_request.packet 
b/ryu/tests/packet_data/of14/5-53-ofp_table_features_request.packet
index 
66887b0765f7e5f2324201e705084679aa722d24..7a7317aae673ed1ee6d584329b3764fb03502005
 100644
GIT binary patch
delta 88
zcmX>Q_9IM)RY<#n0R(s$7(o=vgpERBEaw0J0R<QsQb9r>0OSh*DG(o|j1kBef%2K4
MVjy~RI?GKp0L+07pa1{>

delta 32
jcmewnb|6fMRY==`0R(s$7(o<E#73bomdy)TZm0nOZSDrt

diff --git a/ryu/tests/packet_data_generator/src/x5.erl 
b/ryu/tests/packet_data_generator/src/x5.erl
index beaba47..929cb1d 100644
--- a/ryu/tests/packet_data_generator/src/x5.erl
+++ b/ryu/tests/packet_data_generator/src/x5.erl
@@ -857,7 +857,19 @@ x() ->
                                   arp_tha,ipv6_src,ipv6_dst,ipv6_flabel,
                                   icmpv6_type,icmpv6_code,ipv6_nd_target,
                                   ipv6_nd_sll,ipv6_nd_tll,mpls_label,mpls_tc,
-                                  mpls_bos,pbb_isid]}]},
+                                  mpls_bos,pbb_isid]},
+                          #ofp_table_feature_prop_experimenter{
+                              experimenter = 101,
+                              exp_type = 0,
+                              data = <<>>},
+                          #ofp_table_feature_prop_experimenter{
+                              experimenter = 101,
+                              exp_type = 1,
+                              data = <<1:32>>},
+                          #ofp_table_feature_prop_experimenter{
+                              experimenter = 101,
+                              exp_type = 2,
+                              data = <<1:32,2:32>>}]},
                 #ofp_table_features{
                     table_id = 1,name = <<"Flow Table 0x01">>,
                     metadata_match = <<"\377\377\377\377\377\377\377\377">>,
diff --git 
a/ryu/tests/unit/ofproto/json/of14/5-53-ofp_table_features_request.packet.json 
b/ryu/tests/unit/ofproto/json/of14/5-53-ofp_table_features_request.packet.json
index 09f15cf..e5a1b74 100644
--- 
a/ryu/tests/unit/ofproto/json/of14/5-53-ofp_table_features_request.packet.json
+++ 
b/ryu/tests/unit/ofproto/json/of14/5-53-ofp_table_features_request.packet.json
@@ -4,7 +4,7 @@
          {
             "OFPTableFeaturesStats": {
                "config": 0, 
-               "length": 1112, 
+               "length": 1168, 
                "max_entries": 16777216, 
                "metadata_match": 18446744073709551615, 
                "metadata_write": 18446744073709551615, 
@@ -1591,6 +1591,33 @@
                         ], 
                         "type": 14
                      }
+                  },
+                  {
+                     "OFPTableFeaturePropExperimenter": {
+                         "length": 12, 
+                         "type": 65534, 
+                         "exp_type": 0, 
+                         "experimenter": 101, 
+                         "data": []
+                     }
+                  }, 
+                  {
+                     "OFPTableFeaturePropExperimenter": {
+                         "length": 16, 
+                         "type": 65534, 
+                         "exp_type": 1, 
+                         "experimenter": 101, 
+                         "data": [1]
+                     }
+                  }, 
+                  {
+                     "OFPTableFeaturePropExperimenter": {
+                         "length": 20, 
+                         "type": 65534, 
+                         "exp_type": 2, 
+                         "experimenter": 101, 
+                         "data": [1, 2]
+                     }
                   }
                ], 
                "table_id": 0
-- 
1.8.5.2


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to