Merge "Revert "Specify cell0 db creation""
[apex-tripleo-heat-templates.git] / puppet / services / neutron-plugin-plumgrid.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Neutron Plumgrid plugin
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   NeutronPassword:
22     description: The password for the neutron service and db account, used by neutron agents.
23     type: string
24     hidden: true
25   NeutronMetadataProxySharedSecret:
26     description: Shared secret to prevent spoofing
27     type: string
28     hidden: true
29   AdminPassword:
30     description: The password for the keystone admin account, used for monitoring, querying neutron etc.
31     type: string
32     hidden: true
33
34   # PLUMgrid specific settings
35   PLUMgridDirectorServer:
36     description: IP address of the PLUMgrid Director Server
37     type: string
38     default: 127.0.0.1
39   PLUMgridDirectorServerPort:
40     description: Port of the PLUMgrid Director Server
41     type: string
42     default: 443
43   PLUMgridUsername:
44     description: Username for PLUMgrid platform
45     type: string
46   PLUMgridPassword:
47     description: Password for PLUMgrid platform
48     type: string
49     hidden: true
50   PLUMgridNovaMetadataIP:
51     description: IP address of Nova Metadata
52     type: string
53     default: 169.254.169.254
54   PLUMgridNovaMetadataPort:
55     description: Port of Nova Metadata
56     type: string
57     default: 8775
58   PLUMgridL2GatewayVendor:
59     description: Vendor for L2 Gateway Switch
60     type: string
61     default: vendor
62   PLUMgridL2GatewayUsername:
63     description: Username for L2 Gateway Switch
64     type: string
65     default: username
66   PLUMgridL2GatewayPassword:
67     description: Password for L2 Gateway Switch
68     type: string
69     hidden: true
70   PLUMgridIdentityVersion:
71     description: Keystone Identity version
72     type: string
73     default: v2.0
74   PLUMgridConnectorType:
75     description: Neutron Network Connector Type
76     type: string
77     default: distributed
78   PLUMgridNeutronPluginVersion:
79     description: PLUMgrid Neutron Plugin version
80     type: string
81     default: present
82   PLUMgridPlumlibVersion:
83     description: PLUMgrid Plumlib version
84     type: string
85     default: present
86
87
88 outputs:
89   role_data:
90     description: Role data for the Neutron Plumgrid plugin
91     value:
92       service_name: neutron_plugin_plumgrid
93       config_settings:
94         neutron::plugins::plumgrid::connection:
95           list_join:
96             - ''
97             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
98               - '://neutron:'
99               - {get_param: NeutronPassword}
100               - '@'
101               - {get_param: [EndpointMap, MysqlInternal, host]}
102               - '/ovs_neutron'
103               - '?bind_address='
104               - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
105         neutron::plugins::plumgrid::controller_priv_host: {get_param: [EndpointMap, KeystoneAdmin, host]}
106         neutron::plugins::plumgrid::admin_password: {get_param: AdminPassword}
107         neutron::plugins::plumgrid::metadata_proxy_shared_secret: {get_param: NeutronMetadataProxySharedSecret}
108         neutron::plugins::plumgrid::director_server: {get_param: PLUMgridDirectorServer}
109         neutron::plugins::plumgrid::director_server_port: {get_param: PLUMgridDirectorServerPort}
110         neutron::plugins::plumgrid::username: {get_param: PLUMgridUsername}
111         neutron::plugins::plumgrid::password: {get_param: PLUMgridPassword}
112         neutron::plugins::plumgrid::nova_metadata_ip: {get_param: PLUMgridNovaMetadataIP}
113         neutron::plugins::plumgrid::nova_metadata_port: {get_param: PLUMgridNovaMetadataPort}
114         neutron::plugins::plumgrid::l2gateway_vendor: {get_param: PLUMgridL2GatewayVendor}
115         neutron::plugins::plumgrid::l2gateway_sw_username: {get_param: PLUMgridL2GatewayUsername}
116         neutron::plugins::plumgrid::l2gateway_sw_password: {get_param: PLUMgridL2GatewayPassword}
117         neutron::plugins::plumgrid::connector_type: {get_param: PLUMgridConnectorType}
118         neutron::plugins::plumgrid::identity_version: {get_param: PLUMgridIdentityVersion}
119         neutron::plugins::plumgrid::package_ensure: {get_param: PLUMgridNeutronPluginVersion}
120         neutron::plugins::plumgrid::plumlib_package_ensure: {get_param: PLUMgridPlumlibVersion}
121
122       step_config: |
123         include tripleo::profile::base::neutron::plugins::plumgrid