Change "propagate_uplink_status" default value to True

The API extension ``uplink-status-propagation`` has changed the default
value of ``propagate_uplink_status`` from False to True. Now, when this
extension is enabled, the VF link state will be set, by default, to
"auto", following the PF link state.

Change-Id: I594198741d0ff9df71b5c0053387d229c66154c1
Partial-Bug: #1888487
This commit is contained in:
Rodolfo Alonso Hernandez 2020-07-31 15:58:20 +00:00
parent 750141e6ce
commit 1f06863e2b
3 changed files with 13 additions and 4 deletions

View File

@ -149,9 +149,9 @@ Uplink status propagation
=========================
The ``uplink-status-propagation`` extension adds ``uplink_status_propagation``
attribute to port. If this attribute is set to ``true``, uplink status
propagation is enabled. If this attribute is not specified, it is default to
``false`` which indicates uplink status propagation is disabled.
attribute to port. If this attribute is set to ``false``, uplink status
propagation is disabled. If this attribute is not specified, it is default to
``true`` which indicates uplink status propagation is enabled.
Show port details
=================

View File

@ -28,7 +28,7 @@ RESOURCE_ATTRIBUTE_MAP = {
COLLECTION_NAME: {
PROPAGATE_UPLINK_STATUS: {'allow_post': True,
'allow_put': False,
'default': False,
'default': True,
'convert_to': converters.convert_to_boolean,
'is_visible': True},
},

View File

@ -0,0 +1,9 @@
---
features:
- |
The API extension ``uplink-status-propagation`` has changed the default
value of ``propagate_uplink_status`` from False to True. Now, when this
extension is enabled, the VF link state will be set, by default, to "auto",
following the PF link state.
This change will affect only new ports; existing ports will keep their
current value.