Fix Clearwater release to release-101 tag (Glaweow release)

Also fix to ellis deployment script for support long hostnames
(over 32 chars length)

Change-Id: I72c663397bafc0b904794212c845f2498c842533
This commit is contained in:
Snihyr Kostyantyn 2016-07-28 16:58:26 +03:00
parent 3be200f07b
commit 23ce54601c
7 changed files with 15 additions and 13 deletions

View File

@ -17,7 +17,8 @@ Network Functions Virtualization (NFV) environment.
*How to connect Softphone application to Clearwater environment*
* Find `Ellis` IP in environment deployment log, open Ellis's floating IP in new tab
* Find `Ellis` IP in environment deployment log, open Ellis's floating IP in new tab.
Ellis can start with short delay after deployment finish.
* Create new user via Ellis interface (secret code: secret)
* Create new profile in Softphone app, use Private Identity account data
* Use outbound proxy IP from environment deployment log
@ -27,4 +28,4 @@ Network Functions Virtualization (NFV) environment.
* Checkout `https://github.com/Metaswitch/clearwater-live-test`_ repo
* Install pre-requisites
* Run `rake test[<DNS ZONE NAME>] SIGNUP_CODE=secret TRANSPORT=TCP PROXY=<OUTBOUND PROXY IP> ELLIS=<ELLIS IP>`
* Run `rake test[<DNS ZONE NAME>] SIGNUP_CODE=secret TRANSPORT=TCP PROXY=<OUTBOUND PROXY IP> ELLIS=<ELLIS IP>`

View File

@ -4,7 +4,7 @@ deploy() {
set -x
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.
@ -55,4 +55,4 @@ service dnsmasq force-reload
}
# Log all output to file.
deploy 2>&1|tee -a /var/log/clearwater-bono.log
deploy 2>&1|tee -a /var/log/clearwater-bono.log

View File

@ -3,7 +3,7 @@
deploy() {
set -x
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.
@ -47,6 +47,7 @@ sudo /usr/share/clearwater/clearwater-config-manager/scripts/upload_shared_confi
# Tweak /etc/clearwater/shared_config to use homer's management hostname instead of signaling.
# This works around https://github.com/Metaswitch/ellis/issues/153.
sed -e 's/^xdms_hostname=.*$/xdms_hostname=homer-0.%ZONE%:7888/g' -i /etc/clearwater/shared_config
sed -i 's|# server_names_hash_bucket_size.*|server_names_hash_bucket_size 64;|g' /etc/nginx/nginx.conf
service clearwater-infrastructure restart
service ellis stop
# Allocate a allocate a pool of numbers to assign to users.
@ -80,4 +81,4 @@ service dnsmasq force-reload
}
# Log all output to file.
deploy 2>&1 | tee -a /var/log/clearwater-ellis.log
deploy 2>&1 | tee -a /var/log/clearwater-ellis.log

View File

@ -5,7 +5,7 @@ deploy() {
exec > >(tee -a /var/log/clearwater-homer.log) 2>&1
set -x
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.
@ -52,4 +52,4 @@ service dnsmasq force-reload
}
# Log all output to file.
deploy 2>&1 | tee -a /var/log/clearwater-homer.log
deploy 2>&1 | tee -a /var/log/clearwater-homer.log

View File

@ -4,7 +4,7 @@ deploy() {
set -x
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.
@ -51,4 +51,4 @@ service dnsmasq force-reload
}
# Log all output to file.
deploy 2>&1 | tee -a /var/log/clearwater-homestead.log
deploy 2>&1 | tee -a /var/log/clearwater-homestead.log

View File

@ -4,7 +4,7 @@ deploy() {
set -x
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.
@ -65,4 +65,4 @@ service dnsmasq force-reload
}
# Log all output to file.
deploy 2>&1 | tee -a /var/log/clearwater-ralf.log
deploy 2>&1 | tee -a /var/log/clearwater-ralf.log

View File

@ -6,7 +6,7 @@ set -x
# linking to it from runlevel 2 and 3
# Configure the APT software source.
echo 'deb http://repo.cw-ngv.com/stable binary/' > /etc/apt/sources.list.d/clearwater.list
echo 'deb http://repo.cw-ngv.com/archive/repo101 binary/' > /etc/apt/sources.list.d/clearwater.list
curl -L http://repo.cw-ngv.com/repo_key | apt-key add -
apt-get update
# Configure /etc/clearwater/local_config.