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