summaryrefslogtreecommitdiff
path: root/tutorial/t-setup
blob: 4925d8270264771f78229c52f6c16afed082b51c (plain)
1
2
3
4
5
6
7
8
#! /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