summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/flash-all-bridges.sh
diff options
context:
space:
mode:
Diffstat (limited to 'odl-pipeline/lib/flash-all-bridges.sh')
-rwxr-xr-xodl-pipeline/lib/flash-all-bridges.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/odl-pipeline/lib/flash-all-bridges.sh b/odl-pipeline/lib/flash-all-bridges.sh
index db9d50d..d6588aa 100755
--- a/odl-pipeline/lib/flash-all-bridges.sh
+++ b/odl-pipeline/lib/flash-all-bridges.sh
@@ -1,4 +1,11 @@
#!/bin/bash
+#
+# Copyright (c) 2017 All rights reserved
+# This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
export bridges="admin|private|public|storage"
for br in $(ifconfig |grep -v br-external |grep "^br" |grep -E $bridges |awk '{print $1}');do
sudo ip addr flush dev $br;