mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
test_ofctl: Test cases for omitting port_no in get_queue_config
Add test cases of specify the port number for get queues config. Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com> 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
e721c181e0
commit
dcb1efb8e5
@ -0,0 +1,3 @@
|
||||
{
|
||||
"port": null
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
{
|
||||
"port": null
|
||||
}
|
||||
@ -158,6 +158,11 @@ def _add_tests():
|
||||
'request': '3-35-ofp_queue_get_config_request.packet.json',
|
||||
'reply': '3-36-ofp_queue_get_config_reply.packet.json'
|
||||
},
|
||||
{
|
||||
'method': ofctl_v1_2.get_queue_config,
|
||||
'request': 'lib-ofctl-ofp_queue_get_config_request.packet.json',
|
||||
'reply': '3-36-ofp_queue_get_config_reply.packet.json'
|
||||
},
|
||||
{
|
||||
'method': ofctl_v1_2.get_flow_stats,
|
||||
'request': '3-11-ofp_flow_stats_request.packet.json',
|
||||
@ -262,6 +267,11 @@ def _add_tests():
|
||||
'request': '4-35-ofp_queue_get_config_request.packet.json',
|
||||
'reply': '4-36-ofp_queue_get_config_reply.packet.json'
|
||||
},
|
||||
{
|
||||
'method': ofctl_v1_3.get_queue_config,
|
||||
'request': 'lib-ofctl-ofp_queue_get_config_request.packet.json',
|
||||
'reply': '4-36-ofp_queue_get_config_reply.packet.json'
|
||||
},
|
||||
{
|
||||
'method': ofctl_v1_3.get_flow_stats,
|
||||
'request': '4-11-ofp_flow_stats_request.packet.json',
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPQueueGetConfigRequest": {
|
||||
"port": 4294967295
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"OFPQueueGetConfigRequest": {
|
||||
"port": 4294967295
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user