diff --git a/service/calico-felix.yaml b/service/calico-felix.yaml index 8d06a4f..10e8534 100644 --- a/service/calico-felix.yaml +++ b/service/calico-felix.yaml @@ -16,6 +16,17 @@ service: - 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 diff --git a/service/neutron-l3-agent.yaml b/service/neutron-l3-agent.yaml index 72a6245..fd0934f 100644 --- a/service/neutron-l3-agent.yaml +++ b/service/neutron-l3-agent.yaml @@ -32,11 +32,13 @@ service: # {% set int = neutron.bootstrap.internal %} # {% if int.enable %} + # {% if neutron.plugin_agent == 'vxlan' %} - name: neutron-bootstrap-int-net-create type: single dependencies: - neutron-server command: openstack network create --provider-network-type vxlan --provider-segment 77 {{ int.net_name }} + # {% endif %} - name: neutron-bootstrap-int-net-subnetpool-create type: single dependencies: