Puppet Class: openstack::neutron::common

Defined in:
modules/openstack/manifests/neutron/common.pp

Overview

Parameters:

  • version (Any)
  • openstack_controllers (Array[Stdlib::Fqdn])
  • keystone_api_fqdn (Stdlib::Fqdn)
  • db_pass (Any)
  • db_user (Any)
  • db_host (Any)
  • region (Any)
  • dhcp_domain (Any)
  • ldap_user_pass (Any)
  • rabbit_user (Any)
  • rabbit_pass (Any)
  • tld (Any)
  • log_agent_heartbeats (Any)
  • agent_down_time (Any)
  • bind_port (Stdlib::Port)
  • keystone_admin_uri (Stdlib::HTTPUrl)
  • keystone_public_uri (Stdlib::HTTPUrl)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'modules/openstack/manifests/neutron/common.pp', line 1

class openstack::neutron::common(
    $version,
    Array[Stdlib::Fqdn] $openstack_controllers,
    Stdlib::Fqdn $keystone_api_fqdn,
    $db_pass,
    $db_user,
    $db_host,
    $region,
    $dhcp_domain,
    $ldap_user_pass,
    $rabbit_user,
    $rabbit_pass,
    $tld,
    $log_agent_heartbeats,
    $agent_down_time,
    Stdlib::Port $bind_port,
    Stdlib::HTTPUrl $keystone_admin_uri,
    Stdlib::HTTPUrl $keystone_public_uri,
    ) {

    class { "openstack::neutron::common::${version}":
        openstack_controllers => $openstack_controllers,
        keystone_admin_uri    => $keystone_admin_uri,
        keystone_api_fqdn     => $keystone_api_fqdn,
        keystone_public_uri   => $keystone_public_uri,
        db_pass               => $db_pass,
        db_user               => $db_user,
        db_host               => $db_host,
        region                => $region,
        dhcp_domain           => $dhcp_domain,
        ldap_user_pass        => $ldap_user_pass,
        rabbit_user           => $rabbit_user,
        rabbit_pass           => $rabbit_pass,
        tld                   => $tld,
        log_agent_heartbeats  => $log_agent_heartbeats,
        agent_down_time       => $agent_down_time,
        bind_port             => $bind_port,
    }

    $invalid_files = [
        '/etc/neutron/plugins/ml2/ml2_conf_sriov.ini',
        '/etc/neutron/plugins/ml2/openvswitch_agent.ini',
        '/etc/neutron/plugins/ml2/sriov_agent.ini',
    ]

    file { $invalid_files:
        ensure => 'absent',
    }
}