1 heat_template_version: 2015-04-30
3 description: Configure hieradata for Neutron Big Switch configuration
7 description: ID of the controller node to apply this config to
9 NeutronBigswitchRestproxyServers:
10 description: 'Big Switch controllers ("IP:port,IP:port")'
12 NeutronBigswitchRestproxyServerAuth:
13 description: 'Big Switch controller credentials ("username:password")'
15 NeutronBigswitchRestproxyAutoSyncOnFailure:
16 description: Resynchronize with the new master server on Big Switch failover.
19 NeutronBigswitchRestproxyConsistencyInterval:
20 description: Keepalive message interval (from Neutron to Big Switch controller).
23 NeutronBigswitchRestproxyNeutronId:
24 description: Unique identifier of the Neutron instance for the Big Switch controller.
27 NeutronBigswitchRestproxyServerSsl:
28 description: Whether Neutron should use SSL to talk to the Big Switch controllers.
31 NeutronBigswitchRestproxySslCertDirectory:
32 description: Directory where Big Switch controller certificate will be stored.
34 default: '/var/lib/neutron'
38 NeutronBigswitchConfig:
39 type: OS::Heat::StructuredConfig
41 group: os-apply-config
45 neutron_bigswitch_data:
47 neutron::plugins::ml2::bigswitch::restproxy::servers: {get_input: restproxy_servers}
48 neutron::plugins::ml2::bigswitch::restproxy::server_auth: {get_input: restproxy_server_auth}
49 neutron::plugins::ml2::bigswitch::restproxy::auto_sync_on_failure: {get_input: restproxy_auto_sync_on_failure}
50 neutron::plugins::ml2::bigswitch::restproxy::consistency_interval: {get_input: restproxy_consistency_interval}
51 neutron::plugins::ml2::bigswitch::restproxy::neutron_id: {get_input: restproxy_neutron_id}
52 neutron::plugins::ml2::bigswitch::restproxy::server_ssl: {get_input: restproxy_server_ssl}
53 neutron::plugins::ml2::bigswitch::restproxy::ssl_cert_directory: {get_input: restproxy_ssl_cert_directory}
55 NeutronBigswitchDeployment:
56 type: OS::Heat::StructuredDeployment
58 name: NeutronBigswitchDeployment
59 config: {get_resource: NeutronBigswitchConfig}
60 server: {get_param: server}
62 restproxy_servers: {get_param: NeutronBigswitchRestproxyServers}
63 restproxy_server_auth: {get_param: NeutronBigswitchRestproxyServerAuth }
64 restproxy_auto_sync_on_failure: {get_param: NeutronBigswitchRestproxyAutoSyncOnFailure}
65 restproxy_consistency_interval: {get_param: NeutronBigswitchRestproxyConsistencyInterval}
66 restproxy_neutron_id: {get_param: NeutronBigswitchRestproxyNeutronId}
67 restproxy_server_ssl: {get_param: NeutronBigswitchRestproxyServerSsl}
68 restproxy_ssl_cert_directory: {get_param: NeutronBigswitchRestproxySslCertDirectory}
72 description: Deployment reference, used to trigger puppet apply on changes
73 value: {get_attr: [NeutronBigswitchDeployment, deploy_stdout]}