aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/network/contrail-base.yaml
blob: bdcdbb86123368e4ee5752a600b0d5631a803adf (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
heat_template_version: pike

description: >
  Base parameters for all Contrail Services.

parameters:
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  RoleName:
    default: ''
    description: Role name on which the service is applied
    type: string
  RoleParameters:
    default: {}
    description: Parameters specific to the role
    type: json
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  ContrailAAAMode:
    description: AAAmode can be no-auth, cloud-admin or rbac
    type: string
    default: 'rbac'
  ContrailAAAModeAnalytics:
    description: AAAmode for analytics can be no-auth, cloud-admin or rbac
    type: string
    default: 'no-auth'
  AdminPassword:
    description: Keystone admin user password
    type: string
    hidden: true
  AdminTenantName:
    description: Keystone admin tenant name
    type: string
    default: 'admin'
  AdminToken:
    description: Keystone admin token
    type: string
    hidden: true
  AdminUser:
    description: Keystone admin user name
    type: string
    default: 'admin'
  AuthPortSSL:
    default: 13357
    description: Keystone SSL port
    type: number
  AuthPortSSLPublic:
    default: 13000
    description: Keystone Public SSL port
    type: number
  ContrailAuth:
    default: 'keystone'
    description: Keystone authentication method
    type: string
  ContrailInsecure:
    default: false
    description: Keystone insecure mode
    type: boolean
  ContrailMemcachedServer:
    default: '127.0.0.1:12111'
    description: Memcached server
    type: string
  RabbitPassword:
    description: The password for RabbitMQ
    type: string
    hidden: true
  RabbitUserName:
    default: guest
    description: The username for RabbitMQ
    type: string
  RabbitClientPort:
    default: 5672
    description: Set rabbit subscriber port, change this if using SSL
    type: number

outputs:
  role_data:
    description: Shared role data for the Contrail services.
    value:
      service_name: contrail_base
      config_settings:
        contrail::aaa_mode: {get_param: ContrailAAAMode}
        contrail::analytics_aaa_mode: {get_param: ContrailAAAModeAnalytics}
        contrail::admin_password: {get_param: AdminPassword}
        contrail::admin_tenant_name: {get_param: AdminTenantName}
        contrail::admin_token: {get_param: AdminToken}
        contrail::admin_user: {get_param: AdminUser}
        contrail::auth: {get_param: ContrailAuth}
        contrail::auth_host: {get_param: [EndpointMap, KeystonePublic, host] }
        contrail::auth_port: {get_param: [EndpointMap, KeystoneAdmin, port] }
        contrail::auth_port_ssl: {get_param: AuthPortSSL }
        contrail::auth_port_public: {get_param: [EndpointMap, KeystonePublic, port] }
        contrail::auth_port_ssl_public: {get_param: AuthPortSSLPublic }
        contrail::auth_protocol: {get_param: [EndpointMap, KeystoneInternal, protocol] }
        contrail::api_port: {get_param: [EndpointMap, ContrailConfigInternal, port] }
        contrail::disc_server_port: {get_param: [EndpointMap, ContrailDiscoveryInternal, port] }
        contrail::insecure: {get_param: ContrailInsecure}
        contrail::memcached_server: {get_param: ContrailMemcachedServer}
        contrail::rabbit_password: {get_param: RabbitPassword}
        contrail::rabbit_user: {get_param: RabbitUserName}
        contrail::rabbit_port: {get_param: RabbitClientPort}