diff options
8 files changed, 39 insertions, 9 deletions
diff --git a/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json b/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json index 64fb7903..e6bf2456 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-1-ofp_packet_out.packet.json @@ -3,8 +3,10 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 4294967292 + "port": 4294967292, + "type": 0 } } ], diff --git a/ryu/tests/unit/ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json index 98e246c4..156d2208 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-12-ofp_flow_stats_reply.packet.json @@ -36,11 +36,14 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 0, - "port": 4294967290 + "port": 4294967290, + "type": 0 } } ], + "len": 24, "type": 4 } } @@ -75,7 +78,9 @@ "instructions": [ { "OFPInstructionGotoTable": { - "table_id": 1 + "len": 8, + "table_id": 1, + "type": 1 } } ], @@ -119,11 +124,14 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 4294967293 + "port": 4294967293, + "type": 0 } } ], + "len": 24, "type": 3 } } diff --git a/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json b/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json index 558affca..7fb726e5 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-2-ofp_flow_mod.packet.json @@ -24,11 +24,14 @@ }, { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 6 + "port": 6, + "type": 0 } } ], + "len": 40, "type": 3 } } diff --git a/ryu/tests/unit/ofproto/json/of13/4-21-ofp_group_mod.packet.json b/ryu/tests/unit/ofproto/json/of13/4-21-ofp_group_mod.packet.json index 6b66df4d..1a3767da 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-21-ofp_group_mod.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-21-ofp_group_mod.packet.json @@ -6,11 +6,14 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 2 + "port": 2, + "type": 0 } } ], + "len": 32, "watch_group": 1, "watch_port": 1, "weight": 1 diff --git a/ryu/tests/unit/ofproto/json/of13/4-3-ofp_flow_mod.packet.json b/ryu/tests/unit/ofproto/json/of13/4-3-ofp_flow_mod.packet.json index 55ff1651..012f650b 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-3-ofp_flow_mod.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-3-ofp_flow_mod.packet.json @@ -10,7 +10,9 @@ "instructions": [ { "OFPInstructionGotoTable": { - "table_id": 1 + "len": 8, + "table_id": 1, + "type": 1 } } ], diff --git a/ryu/tests/unit/ofproto/json/of13/4-34-ofp_group_desc_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/4-34-ofp_group_desc_reply.packet.json index 3c04911f..5c64db50 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-34-ofp_group_desc_reply.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-34-ofp_group_desc_reply.packet.json @@ -9,11 +9,14 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 2 + "port": 2, + "type": 0 } } ], + "len": 32, "watch_group": 1, "watch_port": 1, "weight": 1 diff --git a/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json index 818ca766..1322af7e 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-36-ofp_queue_get_config_reply.packet.json @@ -4,15 +4,18 @@ "queues": [ { "OFPPacketQueue": { + "len": 48, "port": 77, "properties": [ { "OFPQueuePropMinRate": { + "len": 16, "rate": 10 } }, { "OFPQueuePropMaxRate": { + "len": 16, "rate": 900 } } @@ -22,15 +25,18 @@ }, { "OFPPacketQueue": { + "len": 48, "port": 77, "properties": [ { "OFPQueuePropMinRate": { + "len": 16, "rate": 100 } }, { "OFPQueuePropMaxRate": { + "len": 16, "rate": 200 } } diff --git a/ryu/tests/unit/ofproto/json/of13/4-46-ofp_flow_mod.packet.json b/ryu/tests/unit/ofproto/json/of13/4-46-ofp_flow_mod.packet.json index bbcb7d1b..a87554e1 100644 --- a/ryu/tests/unit/ofproto/json/of13/4-46-ofp_flow_mod.packet.json +++ b/ryu/tests/unit/ofproto/json/of13/4-46-ofp_flow_mod.packet.json @@ -18,11 +18,14 @@ "actions": [ { "OFPActionOutput": { + "len": 16, "max_len": 65535, - "port": 6 + "port": 6, + "type": 0 } } ], + "len": 24, "type": 3 } } |