Merge lp:~thomnico/orange-box-examples/telco into lp:orange-box-examples

Proposed by Nicolas Thomas
Status: Merged
Merged at revision: 42
Proposed branch: lp:~thomnico/orange-box-examples/telco
Merge into: lp:orange-box-examples
Diff against target: 213 lines (+174/-8) (has conflicts)
5 files modified
.bzrignore (+3/-0)
telco/01-deploy.sh (+6/-1)
telco/README (+8/-7)
telco/bundle-telco.yaml (+122/-0)
telco/bzr-sync-local-charms (+35/-0)
Contents conflict in telco/telco-bundle.yaml
To merge this branch: bzr merge lp:~thomnico/orange-box-examples/telco
Reviewer Review Type Date Requested Status
Darryl Weaver Pending
Review via email: mp+239025@code.launchpad.net
To post a comment you must log in.
42. By Darryl Weaver

Removed telco-bundle.yaml in preference to the newer version.
Added Openstack Juno Bundle for testing.
Added Cloudfoundry bundle for testing.
Added openmrs as example Tomcat app, but needs bug fixing.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2014-10-21 10:24:08 +0000
4@@ -0,0 +1,3 @@
5+precise
6+telco/precise
7+telco/trusty
8
9=== modified file 'telco/01-deploy.sh'
10--- telco/01-deploy.sh 2014-08-07 15:14:28 +0000
11+++ telco/01-deploy.sh 2014-10-21 10:24:08 +0000
12@@ -8,4 +8,9 @@
13
14 set -e
15
16-juju-deployer -c telco-bundle.yaml
17+if [[ -d precise/ && -d trusty/ ]]
18+then
19+ juju-deployer -c bundle-telco.yaml
20+else
21+ echo "Run ./bzr-sync-local-charms before running this script"
22+fi
23
24=== modified file 'telco/README'
25--- telco/README 2014-09-23 19:13:00 +0000
26+++ telco/README 2014-10-21 10:24:08 +0000
27@@ -1,9 +1,10 @@
28 Telco demo deployment
29
30-Works on Amazon EC2.
31-Does not currently deploy correctly on the OB, due to a charm error with DNS.
32-
33-Run commands in order:
34-00-bootstrap.sh
35-01-deploy.sh
36-99-cleanup.sh
37+Works on Amazon EC2 and OpenStack
38+
39+Doing a local copy to be able to have the images as it comes from a personnal namespace.
40+
41+TODO:
42+ automate users creation
43+ script document integration with zabbix
44+
45
46=== added file 'telco/bundle-telco.yaml'
47--- telco/bundle-telco.yaml 1970-01-01 00:00:00 +0000
48+++ telco/bundle-telco.yaml 2014-10-21 10:24:08 +0000
49@@ -0,0 +1,122 @@
50+phone-network:
51+ services:
52+ "clearwater-bono":
53+ charm: "local:precise/clearwater-bono"
54+ num_units: 1
55+ options:
56+ zone: clearwater.local
57+ constraints: arch=amd64
58+ expose: true
59+ annotations:
60+ "gui-x": "400"
61+ "gui-y": "900"
62+ "clearwater-ellis":
63+ charm: "local:precise/clearwater-ellis"
64+ num_units: 1
65+ options:
66+ base_number: "1234567000"
67+ number_count: 1000
68+ signup_key: signup
69+ zone: clearwater.local
70+ constraints: arch=amd64
71+ expose: true
72+ annotations:
73+ "gui-x": "400"
74+ "gui-y": "0"
75+ "clearwater-homer":
76+ charm: "local:precise/clearwater-homer"
77+ num_units: 1
78+ options:
79+ zone: clearwater.local
80+ constraints: arch=amd64
81+ expose: true
82+ annotations:
83+ "gui-x": "600"
84+ "gui-y": "300"
85+ "clearwater-homestead":
86+ charm: "local:precise/clearwater-homestead"
87+ num_units: 1
88+ options:
89+ zone: clearwater.local
90+ constraints: arch=amd64
91+ expose: true
92+ annotations:
93+ "gui-x": "200"
94+ "gui-y": "300"
95+ "clearwater-sprout":
96+ charm: "local:precise/clearwater-sprout"
97+ num_units: 1
98+ options:
99+ zone: clearwater.local
100+ constraints: arch=amd64
101+ expose: true
102+ annotations:
103+ "gui-x": "400"
104+ "gui-y": "600"
105+ dns:
106+ charm: "local:precise/dns"
107+ num_units: 1
108+ options:
109+ domain: clearwater.local
110+ annotations:
111+ "gui-x": "1000"
112+ "gui-y": "450"
113+ "telscale-load-balancer":
114+ charm: "cs:~gvagenas-g/trusty/telscale-load-balancer-0"
115+ num_units: 1
116+ expose: true
117+ annotations:
118+ "gui-x": "-78.2210693359375"
119+ "gui-y": "412.7301025390625"
120+ mysql:
121+ charm: "cs:trusty/mysql-5"
122+ num_units: 1
123+ annotations:
124+ "gui-x": "-857.8215242215981"
125+ "gui-y": "698.5485784445332"
126+ sipml5:
127+ charm: "local:trusty/sipml5"
128+ num_units: 1
129+ expose: true
130+ annotations:
131+ "gui-x": "1383.4697265625"
132+ "gui-y": "423.10858154296875"
133+ "telscale-restcomm":
134+ charm: "cs:~gvagenas-g/trusty/telscale-restcomm-0"
135+ num_units: 1
136+ expose: true
137+ annotations:
138+ "gui-x": "-500.625244140625"
139+ "gui-y": "547.9537963867188"
140+ relations:
141+ - - "clearwater-bono:scscf"
142+ - "clearwater-sprout:pcscf"
143+ - - "clearwater-homestead:homestead-cscf"
144+ - "clearwater-sprout:homestead-hss"
145+ - - "clearwater-homer:xdms-user"
146+ - "clearwater-sprout:xdms"
147+ - - "clearwater-ellis:homestead-prov"
148+ - "clearwater-homestead:homestead-prov-user"
149+ - - "clearwater-ellis:xdms"
150+ - "clearwater-homer:xdms-user"
151+ - - "clearwater-ellis:programmable-multiple"
152+ - "dns:programmable-multiple"
153+ - - "clearwater-homer:programmable-multiple"
154+ - "dns:programmable-multiple"
155+ - - "clearwater-bono:programmable-multiple"
156+ - "dns:programmable-multiple"
157+ - - "clearwater-sprout:programmable-multiple"
158+ - "dns:programmable-multiple"
159+ - - "clearwater-homestead:programmable-multiple"
160+ - "dns:programmable-multiple"
161+ - - "sipml5:dns-client"
162+ - "dns:dns-client"
163+ - - "mysql:db"
164+ - "telscale-restcomm:database"
165+ - - "telscale-restcomm:load-balancer"
166+ - "telscale-load-balancer:load-balancer"
167+ - - "telscale-load-balancer:clearwater-ellis"
168+ - "clearwater-ellis:as-catalog"
169+ - - "telscale-restcomm:cscf"
170+ - "clearwater-sprout:as"
171+ series: trusty
172
173=== added file 'telco/bzr-sync-local-charms'
174--- telco/bzr-sync-local-charms 1970-01-01 00:00:00 +0000
175+++ telco/bzr-sync-local-charms 2014-10-21 10:24:08 +0000
176@@ -0,0 +1,35 @@
177+#!/bin/bash
178+
179+
180+set -e
181+
182+ROOT=$PWD
183+mkdir -p precise
184+cd precise
185+for f in clearwater-bono/ clearwater-homer/ clearwater-ralf/ dns/ clearwater-ellis/ clearwater-homestead/ clearwater-sprout/
186+do
187+ if [ -d $f ]
188+ then
189+ cd $f
190+ bzr pull
191+ cd ..
192+ else
193+ bzr branch lp:~thomnico/charms/precise/$f/trunk $f
194+ fi
195+
196+done
197+
198+cd $ROOT
199+mkdir -p trusty
200+cd trusty
201+for f in sipml5
202+do
203+ if [ -d $f ]
204+ then
205+ cd $f
206+ bzr pull
207+ cd ..
208+ else
209+ bzr branch lp:~thomnico/charms/trusty/$f/trunk $f
210+ fi
211+done
212
213=== renamed file 'telco/telco-bundle.yaml' => 'telco/telco-bundle.yaml.THIS'

Subscribers

People subscribed via source and target branches