Cleanup unused key-value in the attribute of l3

The external_fixed_ips is defined "convert_list_to" and "default"
in external_gateway_info attribute of l3 and l3_ext_gw_mode.
However, the "type:dict_or_nodata" validator doesn't manage
"convert_list_to" and "default" keys.
They are unused definitions so this patch removes them.

Change-Id: I9078a655adfd3a3567e4b4bd878e41ab68b1e1f2
This commit is contained in:
Hirofumi Ichihara 2018-06-20 16:04:13 +09:00
parent f5978ab6d7
commit 5180f8fd7f
3 changed files with 5 additions and 5 deletions

View File

@ -96,10 +96,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'network_id': {'type:uuid': None,
'required': True},
'external_fixed_ips': {
'convert_list_to':
converters.convert_kvp_list_to_dict,
'type:fixed_ips': None,
'default': None,
'required': False,
}
}

View File

@ -42,9 +42,7 @@ RESOURCE_ATTRIBUTE_MAP = {
'convert_to':
converters.convert_to_boolean},
'external_fixed_ips': {
'convert_list_to': converters.convert_kvp_list_to_dict,
'type:fixed_ips': None,
'default': None,
'required': False
}
}

View File

@ -0,0 +1,5 @@
---
other:
- |
The ``convert_list_to`` and ``default`` parameters of external_fixed_ips
have been removed from l3 and l3_ext_gw_mode API definitions.