Puppet Class: neutron::plugins::ml2::vpp

Defined in:
manifests/plugins/ml2/vpp.pp

Overview

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.

Parameters:

  • etcd_host (Any) (defaults to: $::os_service_default)
  • etcd_port (Any) (defaults to: $::os_service_default)
  • etcd_user (Any) (defaults to: $::os_service_default)
  • etcd_pass (Any) (defaults to: $::os_service_default)
  • l3_hosts (Any) (defaults to: $::os_service_default)
  • enable_l3_ha (Any) (defaults to: $::os_service_default)


33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'manifests/plugins/ml2/vpp.pp', line 33

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;
  }
}