2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00
Files
ovs/tutorial/t-setup
2013-04-19 16:26:24 -07:00

9 lines
203 B
Bash
Executable File

#! /bin/sh -ve
ovs-vsctl add-br br0 -- set Bridge br0 fail-mode=secure
for i in 1 2 3 4; do
ovs-vsctl add-port br0 p$i -- set Interface p$i ofport_request=$i
ovs-ofctl mod-port br0 p$i up
done