Deprecate support for networking-ansible
The networking-ansible project[1] has been unmaintained. The project does not provide any release since Victoria. Because we haven't heard any interest to manage this plugin using puppet-neutron[2], we'll deprecate support for the plugin, and will remove the whole implementation after Zed release. [1] https://opendev.org/x/networking-ansible [2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028503.html Change-Id: I57dc8ed3d55af33081a88e4b810d276ba9d98630
This commit is contained in:
parent
382ad31592
commit
f82a231bad
@ -1,5 +1,6 @@
|
||||
# == Class: neutron::plugins::ml2::networking_ansible
|
||||
#
|
||||
# DEPRECATED !!
|
||||
# Configures the networking-ansible ML2 Mechanism Driver
|
||||
#
|
||||
# === Parameters
|
||||
@ -35,11 +36,14 @@ class neutron::plugins::ml2::networking_ansible(
|
||||
$host_configs,
|
||||
$coordination_uri = $::os_service_default,
|
||||
$package_ensure = 'present'
|
||||
) {
|
||||
) {
|
||||
include neutron::deps
|
||||
include neutron::params
|
||||
require neutron::plugins::ml2
|
||||
|
||||
warning('Support for networking-ansible has been deprecated and \
|
||||
will be removed in a future release.')
|
||||
|
||||
if($::osfamily != 'RedHat') {
|
||||
# Drivers are only packaged for RedHat at this time
|
||||
fail("Unsupported osfamily ${::osfamily}")
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Defined type for networking-ansible configuration for a host/switch
|
||||
# == Define: neutron::plugins::ml2::networking_ansible_host
|
||||
#
|
||||
# == Class: neutron::plugins::ml2::networking_ansible_host
|
||||
# DEPRECATED !!
|
||||
# Defined type for networking-ansible configuration for a host/switch
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
@ -50,6 +51,9 @@ define neutron::plugins::ml2::networking_ansible_host(
|
||||
include neutron::deps
|
||||
require neutron::plugins::ml2
|
||||
|
||||
warning('Support for networking-ansible has been deprecated and \
|
||||
will be removed in a future release.')
|
||||
|
||||
if ((is_service_default($ansible_ssh_pass) and is_service_default($ansible_ssh_private_key_file)) or
|
||||
(!is_service_default($ansible_ssh_pass) and !is_service_default($ansible_ssh_private_key_file))) {
|
||||
fail('One of ansible_ssh_pass OR ansible_ssh_private_key_file should be set')
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
Support for the ``networking-ansible`` plugin has been deprecated, and will
|
||||
be removed in a future release.
|
Loading…
x
Reference in New Issue
Block a user