43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
dsl_version: 0.1.0
|
|
service:
|
|
name: calico-felix
|
|
kind: DaemonSet
|
|
hostNetwork: true
|
|
containers:
|
|
- name: calico-felix
|
|
image: calico-felix
|
|
privileged: true
|
|
daemon:
|
|
command: calico-felix --config-file=/etc/calico/felix.cfg
|
|
dependencies:
|
|
- neutron-db-sync
|
|
- neutron-server
|
|
files:
|
|
- neutron.conf
|
|
- ml2-conf.ini
|
|
- felix.cfg
|
|
# {% set int = neutron.bootstrap.internal %}
|
|
# {% if int.enable %}
|
|
# {% if neutron.plugin_agent == 'calico' %}
|
|
post:
|
|
- name: neutron-bootstrap-int-net-create
|
|
type: single
|
|
dependencies:
|
|
- neutron-server
|
|
command: openstack network create --provider-network-type local {{ int.net_name }}
|
|
# {% endif %}
|
|
# {% endif %}
|
|
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"
|
|
felix.cfg:
|
|
path: /etc/calico/felix.cfg
|
|
content: felix.cfg.j2
|
|
perm: "0600"
|