|
|
@ -1190,9 +1190,13 @@ if "$PRO_EDITION" ; then
|
|
|
|
ngcp-network --host=$ROLE --set-interface=$INTERNAL_DEV
|
|
|
|
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=$ROLE --move-from=lo --move-to=$INTERNAL_DEV --type=ha_int
|
|
|
|
ngcp-network --host=$PEER --set-interface=eth1 --ip=$DEFAULT_IP2 --netmask=$DEFAULT_INTERNAL_NETMASK --type=ha_int
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml
|
|
|
|
cp /etc/ngcp-config/network.yml /mnt/glusterfs/shared_config/network.yml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ngcpcfg build
|
|
|
|
|
|
|
|
else # ROLE = sp2
|
|
|
|
|
|
|
|
cp /mnt/glusterfs/shared_config/network.yml /etc/ngcp-config/network.yml
|
|
|
|
ngcpcfg build
|
|
|
|
ngcpcfg build
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
EOT
|
|
|
|
EOT
|
|
|
|