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
33 description: Mapping of service endpoint -> protocol. Typically set
34 via parameter_defaults in the resource registry.
40 type: ./containers-common.yaml
43 type: ../../puppet/services/neutron-ovs-agent.yaml
45 EndpointMap: {get_param: EndpointMap}
46 ServiceNetMap: {get_param: ServiceNetMap}
47 DefaultPasswords: {get_param: DefaultPasswords}
48 RoleName: {get_param: RoleName}
49 RoleParameters: {get_param: RoleParameters}
53 description: Role data for Neutron openvswitch service
55 service_name: {get_attr: [NeutronOvsAgentBase, role_data, service_name]}
56 config_settings: {get_attr: [NeutronOvsAgentBase, role_data, config_settings]}
57 step_config: &step_config
58 get_attr: [NeutronOvsAgentBase, role_data, step_config]
60 config_volume: neutron
61 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
62 step_config: *step_config
63 config_image: &neutron_ovs_agent_image
66 - [ {get_param: DockerNamespace}, {get_param: DockerOpenvswitchImage} ]
68 /var/lib/kolla/config_files/neutron-openvswitch-agent.json:
69 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
71 - path: /var/log/neutron
72 owner: neutron:neutron
77 image: *neutron_ovs_agent_image
84 - {get_attr: [ContainersCommon, volumes]}
86 - /var/lib/kolla/config_files/neutron-openvswitch-agent.json:/var/lib/kolla/config_files/config.json:ro
87 - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
88 - /lib/modules:/lib/modules:ro
90 - /var/log/containers/neutron:/var/log/neutron
92 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
94 - name: create persistent logs directory
96 path: /var/log/containers/neutron
99 - name: Stop and disable neutron_ovs_agent service
101 service: name=neutron-openvswitch-agent state=stopped enabled=no