aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/neutron/templates/neutron-openvswitch-agent.json.j2
blob: 5f4f011c5aa1889760a2e338123b0a696eaa2ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
    "command": "neutron-openvswitch-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/neutron.conf",
            "dest": "/etc/neutron/neutron.conf",
            "owner": "neutron",
            "perm": "0600"
        },
{% if enable_neutron_taas | bool %}
        {
            "source": "{{ container_config_directory }}/neutron_taas.conf",
            "dest": "/etc/neutron/neutron_taas.conf",
            "owner": "neutron",
            "perm": "0600"
        },
{% endif %}
{% if check_extra_ml2_plugins is defined and check_extra_ml2_plugins.matched > 0 %}
{%     for plugin in check_extra_ml2_plugins.files %}
        {
            "source": "{{ container_config_directory }}/{{ plugin.path | basename }}",
            "dest": "/etc/neutron/plugins/ml2/{{ plugin.path | basename }}",
            "owner": "neutron",
            "perm": "0600"
        },
{%     endfor %}
{% endif %}
        {% if neutron_policy_file is defined %}{
            "source": "{{ container_config_directory }}/{{ neutron_policy_file }}",
            "dest": "/etc/neutron/{{ neutron_policy_file }}",
            "owner": "neutron",
            "perm": "0600"
        },{% endif %}
        {
            "source": "{{ container_config_directory }}/openvswitch_agent.ini",
            "dest": "/etc/neutron/plugins/ml2/openvswitch_agent.ini",
            "owner": "neutron",
            "perm": "0600"
        }{% if kolla_copy_ca_into_containers | bool %},
        {
            "source": "{{ container_config_directory }}/ca-certificates",
            "dest": "/var/lib/kolla/share/ca-certificates",
            "owner": "root",
            "perm": "0644"
        }{% endif %}
    ],
    "permissions": [
        {
            "path": "/var/log/kolla/neutron",
            "owner": "neutron:neutron",
            "recurse": true
        }
    ]
}