Change-Id: Ia31df08f51c7b20cb8ecfaf61b9ab6904ddd4f16
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
ro_is_up
lxc exec RO -- openmano tenant-delete -f osm >/dev/null
-<<<<<<< HEAD
lxc exec RO -- openmano tenant-create osm > /dev/null
- lxc exec RO -- sed -i '/export OPENMANO_TENANT=osm/d' .bashrc
-=======
lxc exec RO -- sed -i '/export OPENMANO_TENANT=osm/d' .bashrc
->>>>>>> MON Installation Changes Updated.
lxc exec RO -- sed -i '$ i export OPENMANO_TENANT=osm' .bashrc
lxc exec RO -- sh -c 'echo "export OPENMANO_TENANT=osm" >> .bashrc'
}
echo
echo "*** Configuring iptables rules ***"
-<<<<<<< HEAD
-awk -v RO_IP="$RO_IP" -v VCA_IP="$VCA_IP" -v UI_IP="$UI_IP" -v openmano_ip="$RO_CONTAINER_IP" -v rift_ip="$SO_CONTAINER_IP" -v juju_ip="$VCA_CONTAINER_IP" '
-BEGIN {innat=0; innatpre=0; osmpre=0; donepre=0; innatpost=0; osmpost=0; donepost=0; innatoutput=0; osmoutput=0; doneoutput=0;}
-=======
awk -v RO_IP="$RO_IP" -v VCA_IP="$VCA_IP" -v UI_IP="$UI_IP" -v openmano_ip="$RO_CONTAINER_IP" -v MON_IP="$MON_IP" -v rift_ip="$SO_CONTAINER_IP" -v juju_ip="$VCA_CONTAINER_IP" '
BEGIN {innat=0; innatpre=0; osmpre=0; donepre=0; innatpost=0; osmpost=0; donepost=0}
->>>>>>> MON Installation Changes Updated.
/^\*nat/ {
innat=1;
print;