Commit c9565956 authored by Saverio Proto's avatar Saverio Proto

Pass multiple interfaces to the container

parent 9fa5efce
......@@ -22,8 +22,10 @@ ovs-vsctl add-br myphyswitch
vtep-ctl add-ps myphyswitch
vtep-ctl set Physical_Switch myphyswitch tunnel_ips=${MGMTIPV4}
ovs-vsctl add-port myphyswitch ${INTF}
vtep-ctl add-port myphyswitch ${INTF}
for i in ${INTF} ; do
ovs-vsctl add-port myphyswitch ${i}
vtep-ctl add-port myphyswitch ${i}
done
/usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach myphyswitch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment