fuel-ccp-neutron/service/neutron-dhcp-agent.yaml

48 lines
1.2 KiB
YAML

service:
name: neutron-dhcp-agent
container:
host-net: "true"
privileged: "true"
node-selector:
openstack-controller: "true"
probes:
readiness: "true"
liveness: "true"
volumes:
- name: run
type: host
path: /run
- name: netns
type: host
path: /run/netns
- name: metadata-socket
type: host
path: /var/lib/neutron/ccp
daemon:
command: neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini
dependencies:
- neutron-db-sync
- rabbitmq
files:
- neutron.conf
- ml2-conf.ini
- dhcp-agent.ini
- dnsmasq.conf
files:
neutron.conf:
path: /etc/neutron/neutron.conf
content: neutron.conf.j2
perm: "0600"
ml2-conf.ini:
path: /etc/neutron/plugins/ml2/ml2_conf.ini
content: ml2_conf.ini.j2
perm: "0600"
dhcp-agent.ini:
path: /etc/neutron/dhcp_agent.ini
content: dhcp_agent.ini.j2
perm: "0600"
dnsmasq.conf:
path: /etc/neutron/dnsmasq.conf
content: dnsmasq.conf.j2
perm: "0600"