From bf9fcd936cfd9cc0acf120b46cf28ec19315f85b Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 1 Mar 2022 22:22:35 +0900 Subject: [PATCH] Deprecate support for networking-bigswitch The networking-bigswitch plugin is unmaintained. The repo[1] has not been updated for 2 years and no release has been created since Train. Because we don't expect any user is using that unmainitained plugin with recent versions of OpenStack, let's deprecate support for the plugin so that we can remove it completely in the next cycle. Closes-Bug: #1962579 Change-Id: Id4b07727af42b6a1d1145b71fc79f4bac7617eb3 --- manifests/agents/bigswitch.pp | 4 +++- manifests/plugins/ml2/bigswitch.pp | 4 +++- manifests/plugins/ml2/bigswitch/restproxy.pp | 2 +- .../deprecate-networking-bigswitch-8b617be7cf6ad2c7.yaml | 5 +++++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/deprecate-networking-bigswitch-8b617be7cf6ad2c7.yaml diff --git a/manifests/agents/bigswitch.pp b/manifests/agents/bigswitch.pp index 810be227c..e31c075a8 100644 --- a/manifests/agents/bigswitch.pp +++ b/manifests/agents/bigswitch.pp @@ -1,5 +1,5 @@ # == Class: neutron::agents::bigswitch -# +# DEPRECATED !! # Installs and configures the Big Switch agent and lldp # # === Parameters @@ -26,6 +26,8 @@ class neutron::agents::bigswitch ( include neutron::deps include neutron::params + warning('Support for networking-bigswitch has been deprecated.') + if($::osfamily != 'Redhat') { fail("Unsupported osfamily ${::osfamily}") } diff --git a/manifests/plugins/ml2/bigswitch.pp b/manifests/plugins/ml2/bigswitch.pp index 1fdebcd5f..cc33bb4c6 100644 --- a/manifests/plugins/ml2/bigswitch.pp +++ b/manifests/plugins/ml2/bigswitch.pp @@ -1,4 +1,4 @@ -# +# DEPRECATED !! # Install the Big Switch ML2 plugin. # # === Parameters @@ -13,6 +13,8 @@ class neutron::plugins::ml2::bigswitch ( $package_ensure = 'present', ) { + warning('Support for networking-bigswitch has been deprecated.') + include neutron::deps include neutron::params require neutron::plugins::ml2 diff --git a/manifests/plugins/ml2/bigswitch/restproxy.pp b/manifests/plugins/ml2/bigswitch/restproxy.pp index 0b501fe42..038b0ff7a 100644 --- a/manifests/plugins/ml2/bigswitch/restproxy.pp +++ b/manifests/plugins/ml2/bigswitch/restproxy.pp @@ -1,4 +1,4 @@ -# +# DEPRECATED !! # Set config file parameters for connecting Neutron server to Big # Switch controllers. # diff --git a/releasenotes/notes/deprecate-networking-bigswitch-8b617be7cf6ad2c7.yaml b/releasenotes/notes/deprecate-networking-bigswitch-8b617be7cf6ad2c7.yaml new file mode 100644 index 000000000..c553080b7 --- /dev/null +++ b/releasenotes/notes/deprecate-networking-bigswitch-8b617be7cf6ad2c7.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - | + Support for networking-bigswitch has been deprecated because the plugin is + unmaintained.