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