Merge "Add id query parameter to sg rules"
This commit is contained in:
commit
0fb65458d2
openstack
@ -27,7 +27,7 @@ class SecurityGroupRule(_base.NetworkResource, resource.TagMixin):
|
|||||||
allow_list = True
|
allow_list = True
|
||||||
|
|
||||||
_query_mapping = resource.QueryParameters(
|
_query_mapping = resource.QueryParameters(
|
||||||
'description', 'direction', 'protocol',
|
'description', 'direction', 'id', 'protocol',
|
||||||
'remote_group_id', 'security_group_id',
|
'remote_group_id', 'security_group_id',
|
||||||
'remote_address_group_id',
|
'remote_address_group_id',
|
||||||
'port_range_max', 'port_range_min',
|
'port_range_max', 'port_range_min',
|
||||||
|
@ -51,6 +51,7 @@ class TestSecurityGroupRule(base.TestCase):
|
|||||||
self.assertDictEqual({'any_tags': 'tags-any',
|
self.assertDictEqual({'any_tags': 'tags-any',
|
||||||
'description': 'description',
|
'description': 'description',
|
||||||
'direction': 'direction',
|
'direction': 'direction',
|
||||||
|
'id': 'id',
|
||||||
'ether_type': 'ethertype',
|
'ether_type': 'ethertype',
|
||||||
'limit': 'limit',
|
'limit': 'limit',
|
||||||
'marker': 'marker',
|
'marker': 'marker',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user