From 899d3c7f657d6b36d5572154d92336fcbb1e24c1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 19 Oct 2012 16:03:28 +0000 Subject: [PATCH] deployment: adjust ngcp-network to get all expected config settings Let's see whether this brings us to 100% of what we need. From: Michael Prokop --- deployment.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/deployment.sh b/deployment.sh index 078b87c..a7534ad 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1184,13 +1184,20 @@ if "$PRO_EDITION" ; then if [ "$ROLE" = "sp1" ] ; then cp /etc/ngcp-config/network.yml /etc/ngcp-config/network.yml.factory_default - ngcp-network --host=$ROLE --set-interface=lo --set-interface=$DEFAULT_INSTALL_DEV --set-interface=$INTERNAL_DEV + ngcp-network --host=$ROLE --set-interface=lo --ip=auto --netmask=auto --hwaddr=auto --ipv6='::1' --type=web_int + ngcp-network --host=$ROLE --set-interface=lo --shared-ip=none --shared-ipv6=none + ngcp-network --host=$ROLE --set-interface=$DEFAULT_INSTALL_DEV --ip=auto --netmask=auto --hwaddr=auto + ngcp-network --host=$ROLE --set-interface=$INTERNAL_DEV --ip=auto --netmask=auto --hwaddr=auto ngcp-network --host=$ROLE --peer=$PEER - ngcp-network --host=$PEER --peer=$ROLE --set-interface=lo - ngcp-network --host=$ROLE --set-interface=$INTERNAL_DEV ngcp-network --host=$ROLE --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int + + ngcp-network --host=$PEER --peer=$ROLE + ngcp-network --host=$PEER --set-interface=lo --shared-ip=none --shared-ipv6=none + ngcp-network --host=$PEER --set-interface=lo --ipv6='::1' --ip=auto --netmask=auto --hwaddr=auto ngcp-network --host=$PEER --set-interface=eth1 --ip=$DEFAULT_IP2 --netmask=$DEFAULT_INTERNAL_NETMASK --type=ha_int ngcp-network --host=$PEER --role=proxy --role=lb --role=mgmt + ngcp-network --host=$PEER --set-interface=lo --type=sip_int --type=web_ext --type=sip_ext \ + --type=rtp_ext --type=ssh_ext --type=mon_ext --type=web_int cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml