aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-28 20:51:25 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-28 20:51:25 +0000
commit0c1136ad3537b872565bb622df7e7167f6365f4a (patch)
tree74e6a40f15f100792a0ca50f6f884a864328db6d /vnfs
parent65fe4c7e74773094e3390240808d97175f7ccecb (diff)
parentc3f539cf524d1f4613378b213178a4609c459de2 (diff)
Merge "Fix vPacketGen IP address in change_ports script"
Diffstat (limited to 'vnfs')
-rw-r--r--vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh b/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
index adfc1f1e..e4723880 100644
--- a/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
+++ b/vnfs/vLB/scripts/vdnspacketgen_change_streams_ports.sh
@@ -16,7 +16,7 @@ vppctl pac del dns10
#Update destination (vLB) IP
VLB_IPADDR=$(cat /opt/config/vlb_ipaddr.txt)
-IPADDR1=$(ifconfig br0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2)
+IPADDR1=$(cat /opt/config/local_private_ipaddr.txt)
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns1
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns2
sed -i -e "0,/UDP/ s/UDP:.*/UDP: "$IPADDR1" -> "$VLB_IPADDR"/" /opt/dns_streams/stream_dns3