Fix: port attribute name propagate_uplink_status

Change the incorrect port attribute name "uplink_status_propagation"
to "propagate_uplink_status".

Closes-Bug: #1891873

Change-Id: I6d62fed6b427dc626c3395d4f1589720959cd71c
Reviewed-by: pedh <hcn518@gmail.com>
This commit is contained in:
pedh 2020-08-18 19:50:14 +08:00
parent 96e1d028b8
commit 40efa204df
13 changed files with 36 additions and 36 deletions

View File

@ -4435,6 +4435,20 @@ project_id-request:
in: body
required: false
type: string
propagate_uplink_status:
description: |
The uplink status propagation of the port. Valid values are
enabled (``true``) and disabled (``false``).
in: body
required: true
type: boolean
propagate_uplink_status-request:
description: |
The uplink status propagation of the port. Valid values are
enabled (``true``) and disabled (``false``).
in: body
required: false
type: boolean
protocol:
description: |
The IP protocol can be represented by a string, an integer, or ``null``.
@ -5906,20 +5920,6 @@ updated_at_resource:
in: body
required: true
type: string
uplink_status_propagation:
description: |
The uplink status propagation of the port. Valid values are
enabled (``true``) and disabled (``false``).
in: body
required: true
type: boolean
uplink_status_propagation-request:
description: |
The uplink status propagation of the port. Valid values are
enabled (``true``) and disabled (``false``).
in: body
required: false
type: boolean
use_default_subnetpool:
description: |
Whether to allocate this subnet from the default subnet pool.

View File

@ -155,7 +155,7 @@ allowing consumers to associate tags with resources.
Uplink status propagation
=========================
The ``uplink-status-propagation`` extension adds ``uplink_status_propagation``
The ``uplink-status-propagation`` extension adds ``propagate_uplink_status``
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.
@ -225,7 +225,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- uplink_status_propagation: uplink_status_propagation
- propagate_uplink_status: propagate_uplink_status
- mac_learning_enabled: mac_learning_enabled
Response Example
@ -355,7 +355,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- uplink_status_propagation: uplink_status_propagation
- propagate_uplink_status: propagate_uplink_status
- mac_learning_enabled: mac_learning_enabled
Response Example
@ -492,7 +492,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- uplink_status_propagation: uplink_status_propagation
- propagate_uplink_status: propagate_uplink_status
- mac_learning_enabled: mac_learning_enabled
Response Example
@ -548,7 +548,7 @@ Request
- qos_policy_id: qos_policy_id-port-request
- security_groups: port-security_groups-request
- tenant_id: project_id-request
- uplink_status_propagation: uplink_status_propagation-request
- propagate_uplink_status: propagate_uplink_status-request
- mac_learning_enabled: mac_learning_enabled-request
Request Example
@ -603,7 +603,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- uplink_status_propagation: uplink_status_propagation
- propagate_uplink_status: propagate_uplink_status
- mac_learning_enabled: mac_learning_enabled
Response Example
@ -658,7 +658,7 @@ Request
- qos_policy_id: qos_policy_id-port-request
- security_groups: port-security_groups-request
- tenant_id: project_id-request
- uplink_status_propagation: uplink_status_propagation-request
- propagate_uplink_status: propagate_uplink_status-request
- mac_learning_enabled: mac_learning_enabled-request
Request Example
@ -706,7 +706,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- uplink_status_propagation: uplink_status_propagation
- propagate_uplink_status: propagate_uplink_status
- mac_learning_enabled: mac_learning_enabled
Response Example

View File

@ -16,6 +16,6 @@
"dns_domain": "my-domain.org.",
"dns_name": "myport",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -68,6 +68,6 @@
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
"resources": {"NET_BW_EGR_KILOBIT_PER_SEC": 1000}
},
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -57,6 +57,6 @@
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
"resources": {"NET_BW_EGR_KILOBIT_PER_SEC": 1000}
},
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -55,6 +55,6 @@
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
"resources": {"NET_BW_EGR_KILOBIT_PER_SEC": 1000}
},
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -13,6 +13,6 @@
"mac_address": "fa:14:2a:b3:cb:f0"
}
],
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -51,6 +51,6 @@
"updated_at": "2016-03-08T20:19:41",
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -44,6 +44,6 @@
"updated_at": "2016-03-08T20:19:41",
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -51,6 +51,6 @@
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"port_security_enabled": false,
"uplink_status_propagation": false
"propagate_uplink_status": false
}
}

View File

@ -52,7 +52,7 @@
},
"tags": ["tag1,tag2"],
"tenant_id": "",
"uplink_status_propagation": false
"propagate_uplink_status": false
},
{
"admin_state_up": true,
@ -102,7 +102,7 @@
"qos_policy_id": null,
"tags": ["tag1,tag2"],
"tenant_id": "d397de8a63f341818f198abb0966f6f3",
"uplink_status_propagation": false
"propagate_uplink_status": false
}
]
}

View File

@ -40,7 +40,7 @@
"qos_network_policy_id": null,
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"port_security_enabled": false,
"uplink_status_propagation": false
"propagate_uplink_status": false
},
{
"admin_state_up": false,
@ -83,7 +83,7 @@
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
"qos_policy_id": null,
"port_security_enabled": false,
"uplink_status_propagation": false
"propagate_uplink_status": false
}
]
}

View File

@ -45,7 +45,7 @@
"qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
"port_security_enabled": false,
"uplink_status_propagation": false
"propagate_uplink_status": false
},
{
"admin_state_up": true,
@ -92,7 +92,7 @@
"qos_network_policy_id": null,
"qos_policy_id": null,
"port_security_enabled": false,
"uplink_status_propagation": false
"propagate_uplink_status": false
}
]
}