Puppet Class: octavia::neutron

Defined in:
manifests/neutron.pp

Overview

Class: octavia::neutron

Setup and configure octavia.conf neutron section.

Parameters:

service_name

(Optional) The name of the neutron service in the keystone catalog. Defaults to $::os_service_default

endpoint

(Optional) Custom neutron endpoint if override is necessary. Defaults to $::os_service_default

region_name

(Optional) Region in catalog to use for neutron. Defaults to $::os_service_default

endpoint_type

(Optional) Endpoint type in catalog to use for neutron. Defaults to $::os_service_default

Parameters:

  • service_name (Any) (defaults to: $::os_service_default)
  • endpoint (Any) (defaults to: $::os_service_default)
  • region_name (Any) (defaults to: $::os_service_default)
  • endpoint_type (Any) (defaults to: $::os_service_default)


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'manifests/neutron.pp', line 23

class octavia::neutron (
  $service_name         = $::os_service_default,
  $endpoint             = $::os_service_default,
  $region_name          = $::os_service_default,
  $endpoint_type        = $::os_service_default,
) {

  include octavia::deps

  octavia_config {
    'neutron/service_name':  value => $service_name;
    'neutron/endpoint':      value => $endpoint;
    'neutron/region_name':   value => $region_name;
    'neutron/endpoint_type': value => $endpoint_type;
  }
}