Puppet Class: controller

Defined in:
manifests/network/controller.pp

Overview

Copyright (C) 2014 eNovance SAS <licensing@enovance.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Network Controller node (API + Scheduler)

Parameters:

neutron_db_host

(optional) Host where user should be allowed all privileges for database. Defaults to 127.0.0.1

neutron_db_user

(optional) Name of neutron DB user. Defaults to trove

neutron_db_password

(optional) Password that will be used for the neutron db user. Defaults to 'neutronpassword'

neutron_db_idle_timeout

(optional) Timeout before idle SQL connections are reaped. Defaults to 5000

ks_neutron_password

(optional) Password used by Neutron to connect to Keystone API Defaults to 'neutronpassword'

ks_keystone_admin_host

(optional) Admin Hostname or IP to connect to Keystone API Defaults to '127.0.0.1'

ks_keystone_admin_proto

(optional) Protocol for admin endpoint. Could be 'http' or 'https'. Defaults to 'http'

ks_keystone_public_port

(optional) TCP port to connect to Keystone API from public network Defaults to '5000'

ks_neutron_public_port

(optional) TCP port to connect to Neutron API from public network Defaults to '9696'

api_eth

(optional) Which interface we bind the Neutron server. Defaults to '127.0.0.1'

ks_admin_tenant

(optional) Admin tenant name in Keystone Defaults to 'admin'

nova_url

(optional) URL for connection to nova (Only supports one nova region currently). Defaults to '127.0.0.1:8774/v2'

nova_admin_auth_url

(optional) Authorization URL for connection to nova in admin context. Defaults to '127.0.0.1:5000/v2.0'

nova_admin_username

(optional) Username for connection to nova in admin context Defaults to 'nova'

nova_admin_tenant_name

(optional) The name of the admin nova tenant Defaults to 'services'

nova_admin_password

(optional) Password for connection to nova in admin context. Defaults to 'novapassword'

nova_region_name

(optional) Name of nova region to use. Useful if keystone manages more than one region. Defaults to 'RegionOne'

manage_ext_network

(optionnal) Manage or not external network with provider network API Defaults to false.

firewall_settings

(optional) Allow to add custom parameters to firewall rules Should be an hash. Default to {}

tenant_network_types

(optional) Handled tenant network types Defaults to ['gre'] Possible value ['local', 'flat', 'vlan', 'gre', 'vxlan']

type_drivers

(optional) Drivers to load Defaults to ['gre', 'vlan', 'flat'] Possible value ['local', 'flat', 'vlan', 'gre', 'vxlan']

plugin

(optional) Neutron plugin name Supported values: 'ml2', 'n1kv', 'opencontrail'. Defaults to 'ml2'

l3_ha

(optional) Enable L3 agent HA Defaults to false.

router_distributed

(optional) Create distributed tenant routers by default Right now, DVR is not compatible with l3_ha Defaults to false

ks_keystone_admin_port

(optional) TCP port to connect to Keystone API from admin network Defaults to '35357'

ks_keystone_admin_user

(optional) Admin user to connect to Keystone API Defaults to 'admin'

ks_keystone_admin_password

(optional) Password for admin user to connect to Keystone API Defaults to 'password'

ks_keystone_admin_token

(optional) Token to connect to Keystone API as admin user Defaults to undef

provider_vlan_ranges

(optionnal) VLAN range for provider networks Defaults to ['physnet1:1000:2999']

flat_networks

(optionnal) List of physical_network names with which flat networks can be created. Use * to allow flat networks with arbitrary physical_network names. Should be an array. Default to ['public'].

n1kv_vsm_ip

(required) N1KV VSM (Virtual Supervisor Module) VM's IP. Defaults to 127.0.0.1

n1kv_vsm_password

(required) N1KV VSM (Virtual Supervisor Module) password. Defaults to secrete

tunnel_id_ranges

(optional) GRE tunnel id ranges. used by he ml2 plugin List of colon-separated id ranges Defaults to ['1:10000']

vni_ranges

(optional) VxLan Network ID range. used by the ml2 plugin List of colon-separated id ranges Defaults to ['1:10000']

contrail_api_server_ip

(optional) IP address of the Contrail API Defaults to 127.0.0.1

contrail_api_server_port

(optional) Port of the Contrail API Defaults to 8082

contrail_multi_tenancy

(optional) Should Contrail support multi tenancy Boolean. Defaults to true

contrail_extensions

(optional) Array of extensions enabled for Contrail Array of extensions Defaults to ["]

mechanism_drivers

(optional) Neutron mechanism drivers to run List of drivers. Note: if l3-ha is True, do not include l2population (not compatible in Juno). Defaults to ['linuxbridge', 'openvswitch','l2population']

Parameter Summary