aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/neutron/templates/neutron-l3-agent.json.j2
blob: 8f76e602d7bf4c3f35605fd5f2f982ec08d9b39c (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
55
56
57
58
59
{
    "command": "/usr/local/bin/neutron-l3-agent-wrapper.sh",
    "config_files": [
        {
            "source": "{{ container_config_directory }}/neutron-l3-agent-wrapper.sh",
            "dest": "/usr/local/bin/neutron-l3-agent-wrapper.sh",
            "owner": "root",
            "perm": "0755"
        },
        {
            "source": "{{ container_config_directory }}/neutron.conf",
            "dest": "/etc/neutron/neutron.conf",
            "owner": "neutron",
            "perm": "0600"
        }{% if enable_neutron_vpnaas | bool %},
        {
            "source": "{{ container_config_directory }}/neutron_vpnaas.conf",
            "dest": "/etc/neutron/neutron_vpnaas.conf",
            "owner": "neutron",
            "perm": "0600"
        }{% endif %}{% if enable_neutron_fwaas | bool %},
        {
            "source": "{{ container_config_directory }}/fwaas_driver.ini",
            "dest": "/etc/neutron/fwaas_driver.ini",
            "owner": "neutron",
            "perm": "0600"
        }{% endif %},
        {
            "source": "{{ container_config_directory }}/l3_agent.ini",
            "dest": "/etc/neutron/l3_agent.ini",
            "owner": "neutron",
            "perm": "0600"
        }{% if neutron_policy_file is defined %},
        {
            "source": "{{ container_config_directory }}/{{ neutron_policy_file }}",
            "dest": "/etc/neutron/{{ neutron_policy_file }}",
            "owner": "neutron",
            "perm": "0600"
        }{% endif %}{% 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
        },
        {
            "path": "/var/lib/neutron/kolla",
            "owner": "neutron:neutron",
            "recurse": true
        }
    ]
}