Bug 5117 - DOS chars in shell script
[groupbasedpolicy.git] / demos / gbpsfc-env / demo-asymmetric-coexistence / sf-config.sh
index 34389859028d66734bdf4e86cfbe4a56fefea5dc..b06a7564345e550bde4aa7e8b4e1eccca0874384 100644 (file)
@@ -1,17 +1,17 @@
-#!/usr/bin/env bash\r
-\r
-set -e\r
-hostnum=${HOSTNAME#"gbpsfc"}\r
-sw="sw$hostnum"\r
-\r
-if [ "$hostnum" -eq "3" ]; then\r
-    TUNNEL=0xC0A83247\r
-elif [ "$hostnum" -eq "5" ]; then\r
-    TUNNEL=0xC0A83249\r
-else\r
-    echo "Invalid SF for this demo";\r
-    exit\r
-fi\r
-\r
-sudo ovs-vsctl add-br $sw\r
-sudo ovs-vsctl add-port $sw $sw-vxlangpe-0 -- set interface $sw-vxlangpe-0 type=vxlan options:remote_ip=flow options:dst_port=6633 options:nshc1=flow options:nshc2=flow options:nshc3=flow options:nshc4=flow options:nsp=flow options:nsi=flow options:key=flow\r
+#!/usr/bin/env bash
+
+set -e
+hostnum=${HOSTNAME#"gbpsfc"}
+sw="sw$hostnum"
+
+if [ "$hostnum" -eq "3" ]; then
+    TUNNEL=0xC0A83247
+elif [ "$hostnum" -eq "5" ]; then
+    TUNNEL=0xC0A83249
+else
+    echo "Invalid SF for this demo";
+    exit
+fi
+
+sudo ovs-vsctl add-br $sw
+sudo ovs-vsctl add-port $sw $sw-vxlangpe-0 -- set interface $sw-vxlangpe-0 type=vxlan options:remote_ip=flow options:dst_port=6633 options:nshc1=flow options:nshc2=flow options:nshc3=flow options:nshc4=flow options:nsp=flow options:nsi=flow options:key=flow