1 heat_template_version: 2015-04-30
3 description: Controller hieradata for Neutron PLUMgrid configuration
7 description: ID of the controller node to apply this config to
9 PLUMgridDirectorServer:
10 description: IP address of the PLUMgrid Director Server
13 PLUMgridDirectorServerPort:
14 description: Port of the PLUMgrid Director Server
18 description: Username for PLUMgrid platform
21 description: Password for PLUMgrid platform
24 PLUMgridServerTimeOut:
25 description: Request timeout duration (seconds) to PLUMgrid platform
28 PLUMgridNovaMetadataIP:
29 description: IP address of Nova Metadata
31 default: 169.254.169.254
32 PLUMgridNovaMetadataPort:
33 description: Port of Nova Metadata
36 PLUMgridL2GatewayVendor:
37 description: Vendor for L2 Gateway Switch
40 PLUMgridL2GatewayUsername:
41 description: Username for L2 Gateway Switch
44 PLUMgridL2GatewayPassword:
45 description: Password for L2 Gateway Switch
48 PLUMgridIdentityVersion:
49 description: Keystone Identity version
52 PLUMgridConnectorType:
53 description: Neutron Network Connector Type
56 PLUMgridNeutronPluginVersion:
57 description: PLUMgrid Neutron Plugin version
60 PLUMgridPlumlibVersion:
61 description: PLUMgrid Plumlib version
67 ControllerPLUMgridConfig:
68 type: OS::Heat::StructuredConfig
70 group: os-apply-config
74 neutron_plumgrid_data:
76 neutron::plugins::plumgrid::director_server: {get_input: plumgrid_director_server}
77 neutron::plugins::plumgrid::director_server_port: {get_input: plumgrid_director_server_port}
78 neutron::plugins::plumgrid::username: {get_input: plumgrid_username}
79 neutron::plugins::plumgrid::password: {get_input: plumgrid_password}
80 neutron::plugins::plumgrid::nova_metadata_ip: {get_input: plumgrid_nova_metadata_ip}
81 neutron::plugins::plumgrid::nova_metadata_port: {get_input: plumgrid_nova_metadata_port}
82 neutron::plugins::plumgrid::l2gateway_vendor: {get_input: plumgrid_l2gateway_vendor}
83 neutron::plugins::plumgrid::l2gateway_sw_username: {get_input: plumgrid_l2gateway_sw_username}
84 neutron::plugins::plumgrid::l2gateway_sw_password: {get_input: plumgrid_l2gateway_sw_password}
85 neutron::plugins::plumgrid::connector_type: {get_input: plumgrid_connector_type}
86 neutron::plugins::plumgrid::identity_version: {get_input: plumgrid_identity_version}
87 neutron::plugins::plumgrid::package_ensure: {get_input: plumgrid_neutron_plugin_version}
88 neutron::plugins::plumgrid::plumlib_package_ensure: {get_input: plumgrid_plumlib_version}
90 ControllerPLUMgridDeployment:
91 type: OS::Heat::StructuredDeployment
93 config: {get_resource: ControllerPLUMgridConfig}
94 server: {get_param: server}
96 plumgrid_director_server: {get_param: PLUMgridDirectorServer}
97 plumgrid_director_server_port: {get_param: PLUMgridDirectorServerPort}
98 plumgrid_username: {get_param: PLUMgridUsername}
99 plumgrid_password: {get_param: PLUMgridPassword}
100 plumgrid_nova_metadata_ip: {get_param: PLUMgridNovaMetadataIP}
101 plumgrid_nova_metadata_port: {get_param: PLUMgridNovaMetadataPort}
102 plumgrid_l2gateway_vendor: {get_param: PLUMgridL2GatewayVendor}
103 plumgrid_l2gateway_sw_username: {get_param: PLUMgridL2GatewayUsername}
104 plumgrid_l2gateway_sw_password: {get_param: PLUMgridL2GatewayPassword}
105 plumgrid_identity_version: {get_param: PLUMgridIdentityVersion}
106 plumgrid_connector_type: {get_param: PLUMgridConnectorType}
107 plumgrid_neutron_plugin_version: {get_param: PLUMgridNeutronPluginVersion}
108 plumgrid_plumlib_version: {get_param: PLUMgridPlumlibVersion}
112 description: Deployment reference, used to trigger puppet apply on changes
113 value: {get_attr: [ControllerPLUMgridDeployment, deploy_stdout]}