Fix openvswitch start

start ovs failed with error:

  jinja2.exceptions.UndefinedError: 'net' is undefined

Change-Id: I93df7bf705502dd99acecc39b341aa507dcd216d
This commit is contained in:
Sergey Reshetnyak 2016-11-14 19:07:58 +03:00
parent 3e776f1167
commit b2de93c897

View File

@ -28,12 +28,12 @@ service:
dependencies:
- vswitchd-bootstrap
- openvswitch-db:local
# {% raw %}{% for net in neutron.physnets %}
# {% for net in neutron.physnets %}
- name: vswitchd-setup-ovs-bridge-{{ net.name }}
command: /usr/local/bin/ovs-ensure-configured.sh {{ net.bridge_name }} {{ net.interface }}
dependencies:
- vswitchd-check-ovs-db
# {% endfor %}{% endraw %}
# {% endfor %}
daemon:
command: /usr/sbin/ovs-vswitchd unix:/run/openvswitch/db.sock --mlockall
dependencies: