1 heat_template_version: ocata
3 description: Configure hieradata for Big Switch agents on compute node
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.
20 NeutronBigswitchConfig:
21 type: OS::Heat::StructuredConfig
26 neutron_bigswitch_data:
28 neutron::agents::bigswitch::agent_enabled: {get_input: neutron_enable_bigswitch_agent}
29 neutron::agents::bigswitch::lldp_enabled: {get_input: neutron_enable_bigswitch_lldp}
31 NeutronBigswitchDeployment:
32 type: OS::Heat::StructuredDeployment
34 name: NeutronBigswitchDeployment
35 config: {get_resource: NeutronBigswitchConfig}
36 server: {get_param: server}
38 neutron_enable_bigswitch_agent: {get_param: NeutronBigswitchAgentEnabled}
39 neutron_enable_bigswitch_lldp: {get_param: NeutronBigswitchLLDPEnabled}
43 description: Deployment reference, used to trigger puppet apply on changes
44 value: {get_attr: [NeutronBigswitchDeployment, deploy_stdout]}