mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
9 lines
203 B
Bash
Executable File
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
|