of14: Add role status unit test
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
d27be429bc
commit
6dd0f63414
BIN
ryu/tests/packet_data/of14/5-65-ofp_role_status.packet
Normal file
BIN
ryu/tests/packet_data/of14/5-65-ofp_role_status.packet
Normal file
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
{
|
||||
"OFPRoleStatus": {
|
||||
"generation_id": 7,
|
||||
"properties": [
|
||||
{
|
||||
"OFPRolePropExperimenter": {
|
||||
"length": 12,
|
||||
"type": 65535,
|
||||
"exp_type": 0,
|
||||
"experimenter": 101,
|
||||
"data": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPRolePropExperimenter": {
|
||||
"length": 16,
|
||||
"type": 65535,
|
||||
"exp_type": 1,
|
||||
"experimenter": 101,
|
||||
"data": [1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPRolePropExperimenter": {
|
||||
"length": 20,
|
||||
"type": 65535,
|
||||
"exp_type": 2,
|
||||
"experimenter": 101,
|
||||
"data": [1, 2]
|
||||
}
|
||||
}
|
||||
],
|
||||
"reason": 0,
|
||||
"role": 2
|
||||
}
|
||||
}
|
@ -111,6 +111,7 @@ implemented = {
|
||||
ofproto_v1_4.OFPT_GET_ASYNC_REQUEST: (False, True),
|
||||
ofproto_v1_4.OFPT_GET_ASYNC_REPLY: (True, False),
|
||||
ofproto_v1_4.OFPT_SET_ASYNC: (False, True),
|
||||
ofproto_v1_4.OFPT_ROLE_STATUS: (True, False),
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user