45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
dsl_version: 0.1.0
|
|
service:
|
|
name: neutron-dhcp-agent
|
|
kind: DaemonSet
|
|
hostNetwork: true
|
|
containers:
|
|
- name: neutron-dhcp-agent
|
|
image: neutron-dhcp-agent
|
|
privileged: true
|
|
volumes:
|
|
- name: ovs-socket
|
|
type: host
|
|
path: /run/openvswitch
|
|
- 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
|
|
- rpc
|
|
- notifications
|
|
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"
|