Fix openvswitch start
start ovs failed with error: jinja2.exceptions.UndefinedError: 'net' is undefined Change-Id: I93df7bf705502dd99acecc39b341aa507dcd216d
This commit is contained in:
parent
3e776f1167
commit
b2de93c897
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user