
The networking-vpp[1] project has been unmaintained. The code has not been updated for 1.5 year and its CI has been broken for a while. [1] https://opendev.org/x/networking-vpp Change-Id: I7d9511455174830c801277d760ccf95e43d6cd29
55 lines
1.6 KiB
Puppet
55 lines
1.6 KiB
Puppet
# == Class: neutron::plugins::ml2::vpp
|
|
#
|
|
# DEPRECATED !!
|
|
# Install the networking-vpp ML2 mechanism driver and generate config file
|
|
# from parameters in the other classes.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*etcd_host*]
|
|
# (optional) etcd server host name or IP.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*etcd_port*]
|
|
# (optional) etcd server listening port.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*etcd_user*]
|
|
# (optional) User name for etcd authentication
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*etcd_pass*]
|
|
# (optional) Password for etcd authentication
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*l3_hosts*]
|
|
# (optional) List of hostnames to render L3 services on.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*enable_l3_ha*]
|
|
# (optional) Enable L3 HA feature.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class neutron::plugins::ml2::vpp (
|
|
$etcd_host = $::os_service_default,
|
|
$etcd_port = $::os_service_default,
|
|
$etcd_user = $::os_service_default,
|
|
$etcd_pass = $::os_service_default,
|
|
$l3_hosts = $::os_service_default,
|
|
$enable_l3_ha = $::os_service_default,
|
|
) {
|
|
include neutron::deps
|
|
require neutron::plugins::ml2
|
|
|
|
warning('Support for the networking-vpp plugin has been deprecated.')
|
|
|
|
neutron_plugin_ml2 {
|
|
'ml2_vpp/etcd_host': value => $etcd_host;
|
|
'ml2_vpp/etcd_port': value => $etcd_port;
|
|
'ml2_vpp/etcd_user': value => $etcd_user;
|
|
'ml2_vpp/etcd_pass': value => $etcd_pass, secret => true;
|
|
'ml2_vpp/l3_hosts': value => join(any2array($l3_hosts), ',');
|
|
'ml2_vpp/enable_l3_ha': value => $enable_l3_ha;
|
|
}
|
|
}
|