1 heat_template_version: pike
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:
27 neutron::agents::bigswitch::agent_enabled: {get_input: neutron_enable_bigswitch_agent}
28 neutron::agents::bigswitch::lldp_enabled: {get_input: neutron_enable_bigswitch_lldp}
29 # NOTE(aschultz): required for the puppet module but we don't
30 # actually want them defined on the compute nodes so we're
31 # relying on the puppet module's handling of <SERVICE DEFAULT>
32 # to just not set these but still accept that they were defined.
33 # This will should be fixed in puppet-neutron and removed here,
34 # but for backportability, we need to define something.
35 neutron::plugins::ml2::bigswitch::restproxy::servers: '<SERVICE DEFAULT>'
36 neutron::plugins::ml2::bigswitch::restproxy::server_auth: '<SERVICE DEFAULT>'
39 NeutronBigswitchDeployment:
40 type: OS::Heat::StructuredDeployment
42 name: NeutronBigswitchDeployment
43 config: {get_resource: NeutronBigswitchConfig}
44 server: {get_param: server}
46 neutron_enable_bigswitch_agent: {get_param: NeutronBigswitchAgentEnabled}
47 neutron_enable_bigswitch_lldp: {get_param: NeutronBigswitchLLDPEnabled}
51 description: Deployment reference, used to trigger puppet apply on changes
52 value: {get_attr: [NeutronBigswitchDeployment, deploy_stdout]}