diff --git a/deployment.sh b/deployment.sh index be2c6ac..6de39d4 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1276,6 +1276,9 @@ if "$PRO_EDITION" ; then ngcp-network --host=$THIS_HOST --peer=$PEER ngcp-network --host=$THIS_HOST --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int + # set *_ext types accordingly for PRO setup + ngcp-network --host=$THIS_HOST --move-from=lo --move-to=$INTERNAL_DEV --type=web_ext \ + --type=sip_ext --type=rtp_ext --type=ssh_ext --type=mon_ext ngcp-network --host=$PEER --peer=$THIS_HOST ngcp-network --host=$PEER --set-interface=lo --shared-ip=none --shared-ipv6=none @@ -1285,8 +1288,7 @@ if "$PRO_EDITION" ; then ngcp-network --host=$PEER --set-interface=$INTERNAL_DEV --ip=$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 + ngcp-network --host=$PEER --set-interface=lo --type=sip_int --type=web_int cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml @@ -1299,6 +1301,9 @@ if "$PRO_EDITION" ; then # finalize the --ip=$IP2 from previous run on first node ngcp-network --host=$THIS_HOST --set-interface=$INTERNAL_DEV --ip=auto --netmask=auto --hwaddr=auto --type=ha_int + # set *_ext types accordingly for PRO setup + ngcp-network --host=$THIS_HOST --set-interface=$INTERNAL_DEV --type=web_ext --type=sip_ext \ + --type=rtp_ext --type=ssh_ext --type=mon_ext ngcpcfg commit "deployed /etc/ngcp-config/network.yml on $ROLE" ngcpcfg push --shared-only