X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=misc%2Fvnfs%2Ffirewall%2Fstart.sh;fp=misc%2Fvnfs%2Ffirewall%2Fstart.sh;h=0000000000000000000000000000000000000000;hb=2fd340a188a942d87882eee269ad720a72a12852;hp=5b9c4c35db7c78087525ae2a771fa7aa57bdb1a8;hpb=9e8ebdb71ad792cfdb195159a95dce631f9fd75b;p=osm%2Fvim-emu.git diff --git a/misc/vnfs/firewall/start.sh b/misc/vnfs/firewall/start.sh deleted file mode 100644 index 5b9c4c3..0000000 --- a/misc/vnfs/firewall/start.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/bash - -#This gives time to the Dockernet to configure the network namespace of the container -sleep 3 - -echo "Ubuntu started" -echo "start ovs" -service openvswitch-switch start - -NAME='fw' - -#echo "setup ovs bridge" -ovs-vsctl add-br $NAME -#ovs-vsctl set bridge $NAME datapath_type=netdev -ovs-vsctl set bridge $NAME protocols=OpenFlow10,OpenFlow12,OpenFlow13 -#ovs-vsctl set-fail-mode $NAME secure -#ovs-vsctl set bridge $NAME other_config:disable-in-band=true - -ovs-vsctl add-port $NAME ${NAME}-eth0 - -#send out through same interface, on single port -ovs-ofctl add-flow $NAME 'in_port=1,action=in_port' - -# iptables -I FORWARD -m physdev --physdev-in eth0 --physdev-out eth1 -d 8.8.8.8 -j DROP - -echo "Firewall started"