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