Update default for BFD/ECMP router extra attributes

During review of the series it was requested to make the default
values for 'enable_default_route_bfd' and
'enable_default_route_ecmp' configurable.

In order to determine the correct value at runtime, Neutron needs
the attributes to be filled with something other than 'True' or
'False' when not provided in the request.

Needed-By: I581f4c5e5cfa275f8a6f0adec405f205e877ac55
Related-Bug: #2002687
Change-Id: I9096685fb79a84e11a8547a5aaa16f7f2df48a56
This commit is contained in:
Frode Nordahl 2023-08-29 11:46:24 +02:00
parent 4232815d20
commit a29e4a513e
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ RESOURCE_ATTRIBUTE_MAP = {
ENABLE_DEFAULT_ROUTE_BFD: {
'allow_post': True,
'allow_put': True,
'default': False,
'default': None,
'is_visible': True,
'enforce_policy': True,
'convert_to': converters.convert_to_boolean_if_not_none,

View File

@ -33,7 +33,7 @@ RESOURCE_ATTRIBUTE_MAP = {
ENABLE_DEFAULT_ROUTE_ECMP: {
'allow_post': True,
'allow_put': True,
'default': False,
'default': None,
'is_visible': True,
'enforce_policy': True,
'convert_to': converters.convert_to_boolean_if_not_none,