Neutron: Rename VnicTypeBlacklist parameters

... to follow renaming in neutron[1] and puppet-neutron[2].

[1] 055036ba2bc1fd1cfc54ef63dc6cb82037111950
[2] 2c5ed70823415e4cfe35ddf1555ee63df61be9b3

Change-Id: Id1d3e8baf56530cddfe0644ac9345ee2b0607807
This commit is contained in:
Takashi Kajinami 2021-04-26 00:06:11 +09:00
parent 4c38d13403
commit a2619ba572
2 changed files with 35 additions and 6 deletions

View File

@ -84,18 +84,18 @@ parameters:
value in ML2 plugin. And overwrite values from global_physnet_mtu for
selected network.
type: comma_delimited_list
NeutronOvsVnicTypeBlacklist:
NeutronOvsVnicTypeProhibitlist:
description: |
Comma-separated list of VNIC types for which support in Neutron is
administratively prohibited by the OVS mechanism driver.
type: comma_delimited_list
default: ""
NeutronSriovVnicTypeBlacklist:
default: []
NeutronSriovVnicTypeProhibitlist:
description: >
Comma-separated list of VNIC types for which support in Neutron is
administratively prohibited by the SR-IOV mechanism driver.
type: comma_delimited_list
default: ""
default: []
# DEPRECATED: the NeutronFirewallDriver option is deprecated and is currently
# maintained for backwards compatibility. It has no any effect on the
# deployment and will be removed in the W release.
@ -104,6 +104,18 @@ parameters:
description: Firewall driver for realizing neutron security group function
type: string
default: ''
NeutronOvsVnicTypeBlacklist:
description: |
Comma-separated list of VNIC types for which support in Neutron is
administratively prohibited by the OVS mechanism driver.
type: comma_delimited_list
default: []
NeutronSriovVnicTypeBlacklist:
description: >
Comma-separated list of VNIC types for which support in Neutron is
administratively prohibited by the SR-IOV mechanism driver.
type: comma_delimited_list
default: []
parameter_groups:
- label: deprecated
@ -115,9 +127,13 @@ parameter_groups:
parameters:
- NeutronOverlayIPVersion
- NeutronFirewallDriver
- NeutronOvsVnicTypeBlacklist
- NeutronSriovVnicTypeBlacklist
conditions:
physical_network_mtus_set: {not: {equals: [{get_param: NeutronML2PhysicalNetworkMtus}, []]}}
ovs_vnic_type_prohibit_list_set: {not: {equals: [{get_param: NeutronOvsVnicTypeProhibitlist}, []]}}
sriov_vnic_type_prohibit_list_set: {not: {equals: [{get_param: NeutronSriovVnicTypeProhibitlist}, []]}}
resources:
NeutronBase:
@ -145,8 +161,16 @@ outputs:
neutron::plugins::ml2::tunnel_id_ranges: {get_param: NeutronTunnelIdRanges}
neutron::plugins::ml2::vni_ranges: {get_param: NeutronVniRanges}
neutron::plugins::ml2::tenant_network_types: {get_param: NeutronNetworkType}
neutron::plugins::ml2::ovs_driver::vnic_type_blacklist: {get_param: NeutronOvsVnicTypeBlacklist}
neutron::plugins::ml2::sriov_driver::vnic_type_blacklist: {get_param: NeutronSriovVnicTypeBlacklist}
neutron::plugins::ml2::ovs_driver::vnic_type_prohibitlist:
if:
- ovs_vnic_type_prohibit_list_set
- {get_param: NeutronOvsVnicTypeProhibitlist}
- {get_param: NeutronOvsVnicTypeBlacklist}
neutron::plugins::ml2::sriov_driver::vnic_type_prohibitlist:
if:
- sriov_vnic_type_prohibit_list_set
- {get_param: NeutronSriovVnicTypeProhibitlist}
- {get_param: NeutronSriovVnicTypeBlacklist}
neutron::plugins::ml2::overlay_ip_version:
get_param:
- ServiceData

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``Neutron(OVS|Vnic)VnicTypeBlackList`` parameters are deprecated in
favor of the new ``Neutron(OVS|Sriov)VnicTypeProhibitList`` parameters.