summaryrefslogtreecommitdiffstats
path: root/fuel/build/f_odl_docker/scripts/setup_ovs_for_odl.sh
blob: 42c9451bc4e4020a34d4e2fed4e212bc791c8744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash



ok .. so they created br-int

so lets add a physical nic to it


# First - Removal all the bridges you find

for i in $(ovs-vsctl list-br)
do
	if [ "$i" == "br-int" ];
	then	
		echo "skipped br-int"
	elif [ "$i" == "br-prv"];
	then
		echo "skipped br-pr"
	else
		ovs-vsctl del-br $i
	fi
done