1 heat_template_version: pike
3 description: Configure hieradata for Neutron Big Switch configuration
7 description: ID of the controller node to apply this config to
9 NeutronBigswitchAgentEnabled:
10 description: The state of the neutron-bsn-agent service.
13 NeutronBigswitchLLDPEnabled:
14 description: The state of the neutron-bsn-lldp service.
17 NeutronBigswitchRestproxyServers:
18 description: 'Big Switch controllers ("IP:port,IP:port")'
20 NeutronBigswitchRestproxyServerAuth:
21 description: 'Big Switch controller credentials ("username:password")'
23 NeutronBigswitchRestproxyAutoSyncOnFailure:
24 description: Resynchronize with the new master server on Big Switch failover.
27 NeutronBigswitchRestproxyConsistencyInterval:
28 description: Keepalive message interval (from Neutron to Big Switch controller).
31 NeutronBigswitchRestproxyNeutronId:
32 description: Unique identifier of the Neutron instance for the Big Switch controller.
35 NeutronBigswitchRestproxyServerSsl:
36 description: Whether Neutron should use SSL to talk to the Big Switch controllers.
39 NeutronBigswitchRestproxySslCertDirectory:
40 description: Directory where Big Switch controller certificate will be stored.
42 default: '/var/lib/neutron'
46 NeutronBigswitchConfig:
47 type: OS::Heat::StructuredConfig
52 neutron_bigswitch_data:
54 neutron::agents::bigswitch::agent_enabled: {get_input: neutron_enable_bigswitch_agent}
55 neutron::agents::bigswitch::lldp_enabled: {get_input: neutron_enable_bigswitch_lldp}
56 neutron::plugins::ml2::bigswitch::restproxy::servers: {get_input: restproxy_servers}
57 neutron::plugins::ml2::bigswitch::restproxy::server_auth: {get_input: restproxy_server_auth}
58 neutron::plugins::ml2::bigswitch::restproxy::auto_sync_on_failure: {get_input: restproxy_auto_sync_on_failure}
59 neutron::plugins::ml2::bigswitch::restproxy::consistency_interval: {get_input: restproxy_consistency_interval}
60 neutron::plugins::ml2::bigswitch::restproxy::neutron_id: {get_input: restproxy_neutron_id}
61 neutron::plugins::ml2::bigswitch::restproxy::server_ssl: {get_input: restproxy_server_ssl}
62 neutron::plugins::ml2::bigswitch::restproxy::ssl_cert_directory: {get_input: restproxy_ssl_cert_directory}
64 NeutronBigswitchDeployment:
65 type: OS::Heat::StructuredDeployment
67 name: NeutronBigswitchDeployment
68 config: {get_resource: NeutronBigswitchConfig}
69 server: {get_param: server}
71 neutron_enable_bigswitch_agent: {get_param: NeutronBigswitchAgentEnabled}
72 neutron_enable_bigswitch_lldp: {get_param: NeutronBigswitchLLDPEnabled}
73 restproxy_servers: {get_param: NeutronBigswitchRestproxyServers}
74 restproxy_server_auth: {get_param: NeutronBigswitchRestproxyServerAuth }
75 restproxy_auto_sync_on_failure: {get_param: NeutronBigswitchRestproxyAutoSyncOnFailure}
76 restproxy_consistency_interval: {get_param: NeutronBigswitchRestproxyConsistencyInterval}
77 restproxy_neutron_id: {get_param: NeutronBigswitchRestproxyNeutronId}
78 restproxy_server_ssl: {get_param: NeutronBigswitchRestproxyServerSsl}
79 restproxy_ssl_cert_directory: {get_param: NeutronBigswitchRestproxySslCertDirectory}
83 description: Deployment reference, used to trigger puppet apply on changes
84 value: {get_attr: [NeutronBigswitchDeployment, deploy_stdout]}