Merge "Update api extension for default sg rules API"

This commit is contained in:
Zuul 2023-05-27 01:36:17 +00:00 committed by Gerrit Code Review
commit 8fe532d7ea

View File

@ -46,6 +46,10 @@ RESOURCE_ATTRIBUTE_MAP = {
'allow_post': True, 'allow_put': False,
'default': None, 'is_visible': True,
'is_sort_key': True, 'is_filter': True},
'remote_address_group_id': {
'allow_post': True, 'allow_put': False,
'default': None, 'is_visible': True,
'is_sort_key': True, 'is_filter': True},
'direction': {
'allow_post': True, 'allow_put': False,
'is_visible': True, 'is_filter': True,
@ -82,6 +86,10 @@ RESOURCE_ATTRIBUTE_MAP = {
'allow_post': True, 'allow_put': False,
'convert_to': converters.convert_to_boolean,
'is_visible': True, 'is_filter': True},
'used_in_non_default_sg': {
'allow_post': True, 'allow_put': False,
'convert_to': converters.convert_to_boolean,
'is_visible': True, 'is_filter': True},
}
}