1 heat_template_version: pike
4 OpenStack Neutron openvswitch service
9 default: 'tripleoupstream'
11 DockerOpenvswitchImage:
13 default: 'centos-binary-neutron-openvswitch-agent:latest'
17 description: Mapping of service_name -> network name. Typically set
18 via parameter_defaults in the resource registry. This
19 mapping overrides those in ServiceNetMapDefaults.
26 description: Role name on which the service is applied
30 description: Parameters specific to the role
34 description: Mapping of service endpoint -> protocol. Typically set
35 via parameter_defaults in the resource registry.
41 type: ./containers-common.yaml
44 type: ../../puppet/services/neutron-ovs-agent.yaml
46 EndpointMap: {get_param: EndpointMap}
47 ServiceNetMap: {get_param: ServiceNetMap}
48 DefaultPasswords: {get_param: DefaultPasswords}
49 RoleName: {get_param: RoleName}
50 RoleParameters: {get_param: RoleParameters}
54 description: Role data for Neutron openvswitch service
56 service_name: {get_attr: [NeutronOvsAgentBase, role_data, service_name]}
57 config_settings: {get_attr: [NeutronOvsAgentBase, role_data, config_settings]}
58 step_config: &step_config
59 get_attr: [NeutronOvsAgentBase, role_data, step_config]
61 config_volume: neutron
62 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
63 step_config: *step_config
64 config_image: &neutron_ovs_agent_image
67 - [ {get_param: DockerNamespace}, {get_param: DockerOpenvswitchImage} ]
69 /var/lib/kolla/config_files/neutron-openvswitch-agent.json:
70 command: /usr/bin/neutron-openvswitch-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
72 - path: /var/log/neutron
73 owner: neutron:neutron
78 image: *neutron_ovs_agent_image
85 - {get_attr: [ContainersCommon, volumes]}
87 - /var/lib/kolla/config_files/neutron-openvswitch-agent.json:/var/lib/kolla/config_files/config.json:ro
88 - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
89 - /lib/modules:/lib/modules:ro
91 - /var/log/containers/neutron:/var/log/neutron
93 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
95 - name: create persistent logs directory
97 path: /var/log/containers/neutron
100 - name: Stop and disable neutron_ovs_agent service
102 service: name=neutron-openvswitch-agent state=stopped enabled=no