1 heat_template_version: ocata
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: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
33 type: ./containers-common.yaml
36 type: ../../puppet/services/neutron-ovs-agent.yaml
38 EndpointMap: {get_param: EndpointMap}
39 ServiceNetMap: {get_param: ServiceNetMap}
40 DefaultPasswords: {get_param: DefaultPasswords}
44 description: Role data for Neutron openvswitch service
46 service_name: {get_attr: [NeutronOvsAgentBase, role_data, service_name]}
47 config_settings: {get_attr: [NeutronOvsAgentBase, role_data, config_settings]}
48 step_config: &step_config
49 get_attr: [NeutronOvsAgentBase, role_data, step_config]
51 config_volume: neutron
52 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
53 step_config: *step_config
54 config_image: &neutron_ovs_agent_image
57 - [ {get_param: DockerNamespace}, {get_param: DockerOpenvswitchImage} ]
59 /var/lib/kolla/config_files/neutron-openvswitch-agent.json:
60 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
64 image: *neutron_ovs_agent_image
71 expression: $.data.common.concat($.data.service)
73 common: {get_attr: [ContainersCommon, volumes]}
75 - /var/lib/kolla/config_files/neutron-openvswitch-agent.json:/var/lib/kolla/config_files/config.json:ro
76 - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
77 - /lib/modules:/lib/modules:ro
80 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
82 - name: Stop and disable neutron_ovs_agent service
84 service: name=neutron-openvswitch-agent state=stopped enabled=no