summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-07-24 11:55:46 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-07-24 11:57:50 +0900
commit9bbba6862fbe547025e007a1c84a2aa6b0510d98 (patch)
treeab5a85dbdd63b9701f94546b475fc76ee242760a
parent70e4fa08885857a203d1bfd8406ed14e7ab64d2b (diff)
packet_data_generator: uncomment ofp_meter_mod
the latest ryu has an implementation. also, tweak to use more band types. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/packet_data_generator/src/x4.erl22
1 files changed, 12 insertions, 10 deletions
diff --git a/ryu/tests/packet_data_generator/src/x4.erl b/ryu/tests/packet_data_generator/src/x4.erl
index b099fa3d..154bfec3 100644
--- a/ryu/tests/packet_data_generator/src/x4.erl
+++ b/ryu/tests/packet_data_generator/src/x4.erl
@@ -384,16 +384,18 @@ x() ->
}
},
-% ryu doesn't have the implementation
-% #ofp_meter_mod{
-% command = add,
-% flags = [pktps, burst, stats],
-% meter_id = 100,
-% bands = [
-% #ofp_meter_band_drop{rate = 1000, burst_size = 10}
-% ]
-% }
- skip,
+ #ofp_meter_mod{
+ command = add,
+ flags = [pktps, burst, stats],
+ meter_id = 100,
+ bands = [
+ #ofp_meter_band_drop{rate = 1000, burst_size = 10},
+ #ofp_meter_band_dscp_remark{rate = 1000, burst_size = 10,
+ prec_level = 1},
+ #ofp_meter_band_experimenter{rate = 1000, burst_size = 10,
+ experimenter = 999}
+ ]
+ },
#ofp_flow_mod{
cookie = <<0,0,0,0,0,0,0,0>>,