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:
Shinpei Muraoka 2016-05-10 14:29:35 +09:00 committed by FUJITA Tomonori
parent e721c181e0
commit dcb1efb8e5
5 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,3 @@
{
"port": null
}

View File

@ -0,0 +1,3 @@
{
"port": null
}

View File

@ -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',

View File

@ -0,0 +1,5 @@
{
"OFPQueueGetConfigRequest": {
"port": 4294967295
}
}

View File

@ -0,0 +1,5 @@
{
"OFPQueueGetConfigRequest": {
"port": 4294967295
}
}