Merge "Deprecate support for Arista plugin"

This commit is contained in:
Zuul 2020-05-07 17:29:11 +00:00 committed by Gerrit Code Review
commit 523947743c
3 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,8 @@
# #
# == Class: neutron::plugins::ml2::arista # == Class: neutron::plugins::ml2::arista
# #
# DEPRECATED!
#
# === Parameters # === Parameters
# #
# [*eapi_host*] # [*eapi_host*]
@ -55,6 +57,9 @@ class neutron::plugins::ml2::arista(
include neutron::deps include neutron::deps
require ::neutron::plugins::ml2 require ::neutron::plugins::ml2
warning('Support for Arista plugin is deprecated and will be removed \
in a future release')
neutron_plugin_ml2 { neutron_plugin_ml2 {
'ml2_arista/eapi_host' : value => $eapi_host; 'ml2_arista/eapi_host' : value => $eapi_host;
'ml2_arista/eapi_username': value => $eapi_username; 'ml2_arista/eapi_username': value => $eapi_username;

View File

@ -17,6 +17,8 @@
# #
# == Class: neutron::plugins::ml2::arista::l3_arista # == Class: neutron::plugins::ml2::arista::l3_arista
# #
# DEPRECATED!
#
# === Parameters # === Parameters
# #
# [*primary_l3_host*] # [*primary_l3_host*]
@ -60,6 +62,9 @@ class neutron::plugins::ml2::arista::l3(
include neutron::deps include neutron::deps
require ::neutron::plugins::ml2 require ::neutron::plugins::ml2
warning('Support for Arista plugin is deprecated and will be removed \
in a future release')
if !is_service_default($mlag_config) { if !is_service_default($mlag_config) {
validate_legacy(Boolean, 'validate_bool', $mlag_config) validate_legacy(Boolean, 'validate_bool', $mlag_config)
if $mlag_config and is_service_default($secondary_l3_host) { if $mlag_config and is_service_default($secondary_l3_host) {

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Support for Arista plugin has been deprecated and will be removed in a
future release.