summaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts/v_gw_install.sh
diff options
context:
space:
mode:
authorSrivahni <srivahni.chivukula@intel.com>2017-11-16 11:45:23 -0800
committerSrivahni <srivahni.chivukula@intel.com>2017-11-16 11:46:18 -0800
commit6eff578b649bcf82e7302548622e8d7c81d41b9d (patch)
treeb505ac33cb990225a74db651e0e407a0cde30823 /vnfs/vCPE/scripts/v_gw_install.sh
parentfb4d18d98f4d9a90a64499b1c2f7c28d42e518a9 (diff)
Added vxlan tunnel creation
Added vxlan tunnel creation to vGW install script Change-Id: Ie43bbdc66a3ff607f8dd6c203910d45c6052c954 Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Diffstat (limited to 'vnfs/vCPE/scripts/v_gw_install.sh')
-rw-r--r--vnfs/vCPE/scripts/v_gw_install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnfs/vCPE/scripts/v_gw_install.sh b/vnfs/vCPE/scripts/v_gw_install.sh
index 043fba5d..b86e62fd 100644
--- a/vnfs/vCPE/scripts/v_gw_install.sh
+++ b/vnfs/vCPE/scripts/v_gw_install.sh
@@ -219,6 +219,8 @@ set dhcp client intfc ${GW_PUB_NIC} hostname vg-1
tap connect lstack address 192.168.1.1/24
set int state tap-0 up
+create vxlan tunnel src ${MUX_GW_IP} dst ${MUX_IP_ADDR} vni ${VG_VGMUX_TUNNEL_VNI}
+set interface l2 bridge vxlan_tunnel0 10 1
set interface l2 bridge tap-0 10 0
set bridge-domain arp term 10