summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-09-02 15:06:24 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-09-02 19:41:39 +0900
commit6a099204c3432e4fd6827c830f7464c92e7694f3 (patch)
treee120e6186cb89c82b52ba4dd938b6242cb1219cf
parentbfa0a8460c0f6237eb738c29af592ef0c5647384 (diff)
of13: update after OFPMeterBand changes
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/unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json12
-rw-r--r--ryu/tests/unit/ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json4
2 files changed, 12 insertions, 4 deletions
diff --git a/ryu/tests/unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json b/ryu/tests/unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json
index 7bbc29ca..eba4540a 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-45-ofp_meter_mod.packet.json
@@ -4,21 +4,27 @@
{
"OFPMeterBandDrop": {
"burst_size": 10,
- "rate": 1000
+ "len": 16,
+ "rate": 1000,
+ "type": 1
}
},
{
"OFPMeterBandDscpRemark": {
"burst_size": 10,
+ "len": 16,
"prec_level": 1,
- "rate": 1000
+ "rate": 1000,
+ "type": 2
}
},
{
"OFPMeterBandExperimenter": {
"burst_size": 10,
"experimenter": 999,
- "rate": 1000
+ "len": 16,
+ "rate": 1000,
+ "type": 65535
}
}
],
diff --git a/ryu/tests/unit/ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json
index 0e372d9d..08cc97e6 100644
--- a/ryu/tests/unit/ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json
+++ b/ryu/tests/unit/ofproto/json/of13/4-48-ofp_meter_config_reply.packet.json
@@ -7,7 +7,9 @@
{
"OFPMeterBandDrop": {
"burst_size": 10,
- "rate": 1000
+ "len": 16,
+ "rate": 1000,
+ "type": 1
}
}
],