1 heat_template_version: ocata
4 OpenStack containerized Neutron L3 agent
9 default: 'tripleoupstream'
11 DockerNeutronL3AgentImage:
13 default: 'centos-binary-neutron-l3-agent:latest'
15 # we configure all neutron services in the same neutron
16 DockerNeutronConfigImage:
18 default: 'centos-binary-neutron-openvswitch-agent:latest'
22 description: Mapping of service_name -> network name. Typically set
23 via parameter_defaults in the resource registry. This
24 mapping overrides those in ServiceNetMapDefaults.
31 description: Mapping of service endpoint -> protocol. Typically set
32 via parameter_defaults in the resource registry.
38 type: ./containers-common.yaml
41 type: ../../puppet/services/neutron-l3.yaml
43 EndpointMap: {get_param: EndpointMap}
44 ServiceNetMap: {get_param: ServiceNetMap}
45 DefaultPasswords: {get_param: DefaultPasswords}
49 description: Role data for Neutron L3 agent
51 service_name: {get_attr: [NeutronL3Base, role_data, service_name]}
52 config_settings: {get_attr: [NeutronL3Base, role_data, config_settings]}
53 step_config: &step_config
54 get_attr: [NeutronL3Base, role_data, step_config]
56 puppet_tags: neutron_config,neutron_l3_agent_config
57 config_volume: neutron
58 step_config: *step_config
62 - [ {get_param: DockerNamespace}, {get_param: DockerNeutronConfigImage} ]
64 /var/lib/kolla/config_files/neutron-l3-agent.json:
65 command: /usr/bin/neutron-l3-agent --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/l3_agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/l3_agent.ini
72 - [ {get_param: DockerNamespace}, {get_param: DockerNeutronL3AgentImage} ]
79 expression: $.data.common.concat($.data.service)
81 common: {get_attr: [ContainersCommon, volumes]}
83 - /var/lib/kolla/config_files/neutron-l3-agent.json:/var/lib/kolla/config_files/config.json:ro
84 - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
85 - /lib/modules:/lib/modules:ro
88 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS