
The NSX plugin repo looks unmaintained. No release was created since Victoria and the repository does not have a few stable branches (wallaby and xena). Master has not been updated for a while but only a few stable branches are maintained. (eg. [1]) We asked project status in the mailing list[2] and I also tried to directly reach out to the maintainer but we haven't heard any response. Also, VMWare already announced that NSX-T 3.y will be the last release series which supports KVM based OpenStack and they support only their own OpenStack distribution (VIO)[3]. Based on the above items, we assume there would be no user interested in using puppet-neutron to deploy RHEL/Ubuntu based OpenStack with NSX-T integrated, and deprecate support for the plugin, so that we can remove the unused implementation completely after the Zed release. [1] e5b7a2f680604244a800e329d9afbbaedc4097e9 was merged in xena but has never been proposed or merged to master. [2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028573.html [3] https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/rn/vmware-nsxt-data-center-32-release-notes/index.html#feature--api-deprecations-and-behavior-changes Change-Id: I4cfd26bb39155f74008640094585a8328f8a7bca
192 lines
7.1 KiB
Puppet
192 lines
7.1 KiB
Puppet
# == Class: neutron::config
|
|
#
|
|
# This class is used to manage arbitrary Neutron configurations.
|
|
#
|
|
# example xxx_config
|
|
# (optional) Allow configuration of arbitrary Neutron xxx specific configurations.
|
|
# The value is a hash of neutron_config resources. Example:
|
|
# server_config =>
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
#
|
|
# NOTE: { 'DEFAULT/foo': value => 'fooValue'; 'DEFAULT/bar': value => 'barValue'} is invalid.
|
|
#
|
|
# In yaml format, Example:
|
|
# server_config:
|
|
# DEFAULT/foo:
|
|
# value: fooValue
|
|
# DEFAULT/bar:
|
|
# value: barValue
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*server_config*]
|
|
# (optional) Manage configuration of neutron.conf
|
|
#
|
|
# [*api_paste_ini*]
|
|
# (optional) Manage configuration of api-paste.ini
|
|
#
|
|
# [*ovs_agent_config*]
|
|
# (optional) Manage configuration of openvswitch_agent.ini
|
|
#
|
|
# [*sriov_agent_config*]
|
|
# (optional) Manage configuration of sriov_agent.ini
|
|
#
|
|
# [*linuxbridge_agent_config*]
|
|
# (optional) Manage configuration of linuxbridge_agent.ini
|
|
#
|
|
# [*macvtap_agent_config*]
|
|
# (optional) Manage configuration of macvtap_agent.ini
|
|
#
|
|
# [*bgpvpn_bagpipe_config*]
|
|
# (optional) Manage configuration of bagpipe-bgp bgp.conf
|
|
#
|
|
# [*bgpvpn_service_config*]
|
|
# (optional) Manage configuration of networking_bgpvpn.conf
|
|
#
|
|
# [*l2gw_agent_config*]
|
|
# (optional) Manage configuration of l2gateway_agent.ini
|
|
#
|
|
# [*l2gw_service_config*]
|
|
# (optional) Manage configuration of l2gw_plugin.ini
|
|
#
|
|
# [*sfc_service_config*]
|
|
# (optional) Manage configuration of networking-sfc.conf
|
|
#
|
|
# [*l3_agent_config*]
|
|
# (optional) Manage configuration of l3_agent.ini
|
|
#
|
|
# [*dhcp_agent_config*]
|
|
# (optional) Manage configuration of dhcp_agent.ini
|
|
#
|
|
# [*metadata_agent_config*]
|
|
# (optional) Manage configuration of metadata_agent.ini
|
|
#
|
|
# [*ovn_metadata_agent_config*]
|
|
# (optional) Manage configuration of networking-ovn metadata_agent.ini
|
|
#
|
|
# [*metering_agent_config*]
|
|
# (optional) Manage configuration of metering_agent.ini
|
|
#
|
|
# [*vpnaas_agent_config*]
|
|
# (optional) Manage configuration of vpn_agent.ini
|
|
#
|
|
# [*bgp_dragent_config*]
|
|
# (optional) Manage configuration of bgp_dragent.ini
|
|
#
|
|
# [*plugin_opencontrail_config*]
|
|
# (optional) Manage configuration of plugins/opencontrail/ContrailPlugin.ini
|
|
#
|
|
# [*plugin_nuage_config*]
|
|
# (optional) Manage configuration of plugins/nuage/plugin.ini
|
|
#
|
|
# [*plugin_ml2_config*]
|
|
# (optional) Manage configuration of ml2_conf.ini
|
|
#
|
|
# DEPRECATED PARAMETERS
|
|
#
|
|
# [*plugin_nvp_config*]
|
|
# (optional) Manage configuration of /etc/neutron/plugins/nicira/nvp.ini
|
|
#
|
|
# [*plugin_linuxbridge_config*]
|
|
# (optional) Manage configuration of linuxbridge_conf.ini
|
|
#
|
|
# [*plugin_nsx_config*]
|
|
# (optional) Manage configuration of plugins/vmware/nsx.ini
|
|
#
|
|
# NOTE: The configuration MUST NOT be already handled by this module
|
|
# or Puppet catalog compilation will fail with duplicate resources.
|
|
#
|
|
class neutron::config (
|
|
$server_config = {},
|
|
$api_paste_ini = {},
|
|
$ovs_agent_config = {},
|
|
$sriov_agent_config = {},
|
|
$linuxbridge_agent_config = {},
|
|
$macvtap_agent_config = {},
|
|
$bgpvpn_bagpipe_config = {},
|
|
$bgpvpn_service_config = {},
|
|
$l2gw_agent_config = {},
|
|
$l2gw_service_config = {},
|
|
$sfc_service_config = {},
|
|
$l3_agent_config = {},
|
|
$dhcp_agent_config = {},
|
|
$metadata_agent_config = {},
|
|
$ovn_metadata_agent_config = {},
|
|
$metering_agent_config = {},
|
|
$vpnaas_agent_config = {},
|
|
$bgp_dragent_config = {},
|
|
$plugin_opencontrail_config = {},
|
|
$plugin_nuage_config = {},
|
|
$plugin_ml2_config = {},
|
|
# DEPRECATED PARAMETERS
|
|
$plugin_nvp_config = undef,
|
|
$plugin_linuxbridge_config = undef,
|
|
$plugin_nsx_config = undef,
|
|
) {
|
|
|
|
include neutron::deps
|
|
|
|
if $plugin_nvp_config != undef {
|
|
warning('The plugin_nvp_config parameter is deprecated and has no effect.')
|
|
}
|
|
|
|
if $plugin_linuxbridge_config != undef {
|
|
warning('The plugin_linuxbridge_config parameter is deprecated and has no effect.')
|
|
}
|
|
|
|
if $plugin_nsx_config != undef {
|
|
warning('The plugin_nsx_config parameter is deprecated.')
|
|
$plugin_nsx_config_real = $plugin_nsx_config
|
|
} else {
|
|
$plugin_nsx_config_real = {}
|
|
}
|
|
|
|
validate_legacy(Hash, 'validate_hash', $server_config)
|
|
validate_legacy(Hash, 'validate_hash', $api_paste_ini)
|
|
validate_legacy(Hash, 'validate_hash', $ovs_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $sriov_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $linuxbridge_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $macvtap_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $bgpvpn_bagpipe_config)
|
|
validate_legacy(Hash, 'validate_hash', $bgpvpn_service_config)
|
|
validate_legacy(Hash, 'validate_hash', $l2gw_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $l2gw_service_config)
|
|
validate_legacy(Hash, 'validate_hash', $sfc_service_config)
|
|
validate_legacy(Hash, 'validate_hash', $l3_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $dhcp_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $metadata_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $ovn_metadata_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $metering_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $vpnaas_agent_config)
|
|
validate_legacy(Hash, 'validate_hash', $bgp_dragent_config)
|
|
validate_legacy(Hash, 'validate_hash', $plugin_opencontrail_config)
|
|
validate_legacy(Hash, 'validate_hash', $plugin_nuage_config)
|
|
validate_legacy(Hash, 'validate_hash', $plugin_ml2_config)
|
|
validate_legacy(Hash, 'validate_hash', $plugin_nsx_config_real)
|
|
|
|
create_resources('neutron_config', $server_config)
|
|
create_resources('neutron_api_paste_ini', $api_paste_ini)
|
|
create_resources('neutron_agent_ovs', $ovs_agent_config)
|
|
create_resources('neutron_sriov_agent_config', $sriov_agent_config)
|
|
create_resources('neutron_agent_linuxbridge', $linuxbridge_agent_config)
|
|
create_resources('neutron_agent_macvtap', $macvtap_agent_config)
|
|
create_resources('neutron_bgpvpn_bagpipe_config', $bgpvpn_bagpipe_config)
|
|
create_resources('neutron_bgpvpn_service_config', $bgpvpn_service_config)
|
|
create_resources('neutron_l2gw_agent_config', $l2gw_agent_config)
|
|
create_resources('neutron_l2gw_service_config', $l2gw_service_config)
|
|
create_resources('neutron_sfc_service_config', $sfc_service_config)
|
|
create_resources('neutron_l3_agent_config', $l3_agent_config)
|
|
create_resources('neutron_dhcp_agent_config', $dhcp_agent_config)
|
|
create_resources('neutron_metadata_agent_config', $metadata_agent_config)
|
|
create_resources('ovn_metadata_agent_config', $ovn_metadata_agent_config)
|
|
create_resources('neutron_metering_agent_config', $metering_agent_config)
|
|
create_resources('neutron_vpnaas_agent_config', $vpnaas_agent_config)
|
|
create_resources('neutron_bgp_dragent_config', $bgp_dragent_config)
|
|
create_resources('neutron_plugin_opencontrail', $plugin_opencontrail_config)
|
|
create_resources('neutron_plugin_nuage', $plugin_nuage_config)
|
|
create_resources('neutron_plugin_ml2', $plugin_ml2_config)
|
|
create_resources('neutron_plugin_nsx', $plugin_nsx_config_real)
|
|
}
|