test_parser: Add test case for OFP15 controller connection status messages
TODO: Because Open vSwitch (lib/ofp-util) does not support controller connection status messages [EXT-454] yet, re-generate the packet data by using packet_data_generator2 when Open vSwitch supports it. Reference: OpenFlow 1.1+ support status of Open vSwitch https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
0d9dfe33de
commit
0841ac66ed
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet
Normal file
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-role_reply.packet
Normal file
Binary file not shown.
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet
Normal file
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-role_request.packet
Normal file
Binary file not shown.
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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
|
||||
}
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"OFPControllerStatusStatsRequest": {
|
||||
"flags": 0,
|
||||
"type": 18
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPRoleReply": {
|
||||
"generation_id": 1234605616436508552,
|
||||
"role": 1,
|
||||
"short_id": 43690
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"OFPRoleRequest": {
|
||||
"generation_id": 1234605616436508552,
|
||||
"role": 1,
|
||||
"short_id": 43690
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user