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