a5badc89f2
Refer to neutron docs [1][2] [1]: https://docs.openstack.org/neutron/pike/admin/archives/adv-config.html#l3-metering-service-driver [2]: https://wiki.openstack.org/wiki/Neutron/Metering/Bandwidth Co-Authored-By: ZhijunWei <wzj334965317@outlook.com> Change-Id: I4a676d041bc2a86497cb139d9347365738b156df
37 lines
1.1 KiB
Django/Jinja
37 lines
1.1 KiB
Django/Jinja
{
|
|
"command": "neutron-metering-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/metering_agent.ini",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/neutron.conf",
|
|
"dest": "/etc/neutron/neutron.conf",
|
|
"owner": "neutron",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/metering_agent.ini",
|
|
"dest": "/etc/neutron/metering_agent.ini",
|
|
"owner": "neutron",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/policy.json",
|
|
"dest": "/etc/neutron/policy.json",
|
|
"owner": "neutron",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/neutron",
|
|
"owner": "neutron:neutron",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/neutron/kolla",
|
|
"owner": "neutron:neutron",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|