Merge "fix vpnaas subnet_list_or_none type"
This commit is contained in:
commit
1ad38f81cd
@ -220,7 +220,7 @@ RESOURCE_ATTRIBUTE_MAP = {
|
||||
'is_visible': True},
|
||||
'peer_cidrs': {'allow_post': True, 'allow_put': True,
|
||||
'convert_to': converters.convert_to_list,
|
||||
'validate': {'type:subnet_list_or_none': None},
|
||||
'validate': {'type:list_of_subnets_or_none': None},
|
||||
'is_visible': True,
|
||||
'default': None},
|
||||
'local_ep_group_id': {'allow_post': True, 'allow_put': True,
|
||||
|
@ -1096,7 +1096,7 @@ validators = {'type:dict': validate_dict,
|
||||
'type:list_of_any_key_specs_or_none':
|
||||
validate_any_key_specs_or_none,
|
||||
'type:service_plugin_type': validate_service_plugin_type,
|
||||
'type:subnet_list_or_none': validate_subnet_list_or_none,
|
||||
'type:list_of_subnets_or_none': validate_subnet_list_or_none,
|
||||
}
|
||||
|
||||
|
||||
|
@ -4,5 +4,5 @@ features:
|
||||
``vpnaas``, ``vpn-endpoint-groups`` and ``vpn-flavors``.
|
||||
- Migrate user facing exceptions into neutron-lib along with the API
|
||||
definitions.
|
||||
- A new validator for type ``type:subnet_list_or_none`` to validate
|
||||
- A new validator for type ``type:list_of_subnets_or_none`` to validate
|
||||
data is a list of subnet dicts or ``None`` is added too.
|
||||
|
Loading…
x
Reference in New Issue
Block a user