diff options
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-controller_status.packet | bin | 0 -> 56 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_reply.packet | bin | 0 -> 64 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_request.packet | bin | 0 -> 16 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet | bin | 0 -> 24 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet | bin | 0 -> 24 bytes | |||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status.packet.json | 22 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_reply.packet.json | 26 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_request.packet.json | 6 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_reply.packet.json | 7 | ||||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_request.packet.json | 7 |
10 files changed, 68 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status.packet Binary files differnew file mode 100644 index 00000000..9b63794e --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status.packet diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_reply.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_reply.packet Binary files differnew file mode 100644 index 00000000..e859f9b0 --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_reply.packet diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_request.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_request.packet Binary files differnew file mode 100644 index 00000000..4c741757 --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-controller_status_request.packet diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet Binary files differnew file mode 100644 index 00000000..c92ba974 --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet Binary files differnew file mode 100644 index 00000000..82c99197 --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status.packet.json new file mode 100644 index 00000000..d9a74bfe --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status.packet.json @@ -0,0 +1,22 @@ +{ + "OFPControllerStatus": { + "status": { + "OFPControllerStatusStats": { + "channel_status": 1, + "length": 48, + "properties": [ + { + "OFPControllerStatusPropUri": { + "length": 26, + "type": 0, + "uri": "tls:192.168.34.23:6653" + } + } + ], + "reason": 1, + "role": 1, + "short_id": 65535 + } + } + } +} diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_reply.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_reply.packet.json new file mode 100644 index 00000000..002f0f1d --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_reply.packet.json @@ -0,0 +1,26 @@ +{ + "OFPControllerStatusStatsReply": { + "body": [ + { + "OFPControllerStatusStats": { + "channel_status": 1, + "length": 48, + "properties": [ + { + "OFPControllerStatusPropUri": { + "length": 26, + "type": 0, + "uri": "tls:192.168.34.23:6653" + } + } + ], + "reason": 1, + "role": 1, + "short_id": 65535 + } + } + ], + "flags": 0, + "type": 18 + } +} diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_request.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_request.packet.json new file mode 100644 index 00000000..d9a8ef8b --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_request.packet.json @@ -0,0 +1,6 @@ +{ + "OFPControllerStatusStatsRequest": { + "flags": 0, + "type": 18 + } +} diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_reply.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_reply.packet.json new file mode 100644 index 00000000..e8be5895 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_reply.packet.json @@ -0,0 +1,7 @@ +{ + "OFPRoleReply": { + "generation_id": 1234605616436508552, + "role": 1, + "short_id": 43690 + } +} diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_request.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_request.packet.json new file mode 100644 index 00000000..c0c120f6 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_request.packet.json @@ -0,0 +1,7 @@ +{ + "OFPRoleRequest": { + "generation_id": 1234605616436508552, + "role": 1, + "short_id": 43690 + } +} |