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