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

Proposed by Nicolas Thomas
Status: Merged
Approved by: Nicolas Thomas
Approved revision: 136
Merge reported by: Scott Croft
Merged at revision: not available
Proposed branch: lp:~thomnico/orange-box-examples/remove-telco-demo
Merge into: lp:orange-box-examples
Diff against target: 899 lines (+0/-840)
10 files modified
openstack/ha/icehouse/trusty-icehouse-ra-ha.sh (+0/-20)
openstack/ha/icehouse/trusty-icehouse-ra.yaml (+0/-288)
telco/01-deploy.sh (+0/-13)
telco/BulkUsersCreation.sh (+0/-21)
telco/README (+0/-39)
telco/bundle-telco-store.yaml (+0/-126)
telco/bundle-telco.yaml (+0/-127)
telco/integrate-with-ext-zabbix (+0/-59)
telco/mydomain-bundle.sh (+0/-144)
telco/redirect-google-dns-to-ob (+0/-3)
To merge this branch: bzr merge lp:~thomnico/orange-box-examples/remove-telco-demo
Reviewer Review Type Date Requested Status
Nicolas Thomas (community) Approve
Review via email: mp+272083@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Nicolas Thomas (thomnico) :
review: Approve
Revision history for this message
Nicolas Thomas (thomnico) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed directory 'openstack/ha/icehouse'
2=== removed file 'openstack/ha/icehouse/trusty-icehouse-ra-ha.sh'
3--- openstack/ha/icehouse/trusty-icehouse-ra-ha.sh 2015-03-24 21:54:55 +0000
4+++ openstack/ha/icehouse/trusty-icehouse-ra-ha.sh 1970-01-01 00:00:00 +0000
5@@ -1,20 +0,0 @@
6-#!/bin/bash
7-
8-set -eux
9-
10-CONFIG_FILE="./trusty-icehouse-ra.yaml"
11-DEPLOYER_OPTIONS="-s 600 -w 1200 -t 9999"
12-WAIT_TIME="600"
13-
14-# Bootstrap the environment
15-juju status || juju bootstrap
16-#sleep "${WAIT_TIME}"
17-juju-deployer -c "${CONFIG_FILE}" -d trusty-icehouse-baremetal-services $DEPLOYER_OPTIONS
18-sleep "${WAIT_TIME}"
19-juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-haclusters $DEPLOYER_OPTIONS
20-sleep "${WAIT_TIME}"
21-juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-lxc-services $DEPLOYER_OPTIONS
22-sleep "${WAIT_TIME}"
23-juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-base-relations $DEPLOYER_OPTIONS
24-sleep "${WAIT_TIME}"
25-juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-ha-relations $DEPLOYER_OPTIONS
26
27=== removed file 'openstack/ha/icehouse/trusty-icehouse-ra.yaml'
28--- openstack/ha/icehouse/trusty-icehouse-ra.yaml 2015-03-24 21:54:55 +0000
29+++ openstack/ha/icehouse/trusty-icehouse-ra.yaml 1970-01-01 00:00:00 +0000
30@@ -1,288 +0,0 @@
31-trusty-icehouse-baremetal-services:
32- series: trusty
33- services:
34- nova-compute:
35- charm: nova-compute
36- branch: lp:charms/trusty/nova-compute
37- num_units: 7
38- options:
39- config-flags: "auto_assign_floating_ip=False"
40- enable-live-migration: True
41- enable-resize: True
42- virt-type: qemu
43- ceph-osd:
44- charm: ceph-osd
45- branch: lp:charms/trusty/ceph-osd
46- num_units: 7
47- to:
48- - nova-compute=0
49- - nova-compute=1
50- - nova-compute=2
51- - nova-compute=3
52- - nova-compute=4
53- - nova-compute=5
54- - nova-compute=6
55- options:
56- osd-devices: /dev/sdb
57- osd-reformat: "yes"
58- neutron-gateway:
59- charm: quantum-gateway
60- branch: lp:charms/trusty/quantum-gateway
61- num_units: 1
62- options:
63- instance-mtu: 1350
64- ext-port: eth1
65- plugin: ovs
66- to: 0
67- neutron-openvswitch:
68- charm: neutron-openvswitch
69- branch: lp:charms/trusty/neutron-openvswitch
70- ceilometer-agent:
71- charm: ceilometer-agent
72- branch: lp:charms/trusty/ceilometer-agent
73-
74-trusty-icehouse-lxc-services:
75- inherits: trusty-icehouse-baremetal-services
76- series: trusty
77- services:
78- mysql:
79- charm: percona-cluster
80- branch: lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
81- num_units: 3
82- options:
83- vip: 192.168.1.95
84- root-password: ubuntu
85- sst-password: ubuntu
86- ha-bindiface: eth0
87- access-network: "192.168.1.0/24"
88- to:
89- - lxc:nova-compute=3
90- - lxc:nova-compute=4
91- - lxc:nova-compute=5
92- rabbitmq-server:
93- charm: rabbitmq-server
94- branch: lp:charms/trusty/rabbitmq-server
95- num_units: 3
96- to:
97- - lxc:nova-compute=6
98- - lxc:nova-compute=0
99- - lxc:nova-compute=1
100- keystone:
101- charm: keystone
102- branch: lp:charms/trusty/keystone
103- num_units: 3
104- options:
105- enable-pki: "false"
106- admin-password: openstack
107- admin-token: openstacktesting
108- debug: 'True'
109- log-level: DEBUG
110- vip: 192.168.1.90
111- ha-bindiface: eth0
112- to:
113- - lxc:nova-compute=2
114- - lxc:nova-compute=3
115- - lxc:nova-compute=4
116- openstack-dashboard:
117- charm: openstack-dashboard
118- branch: lp:charms/trusty/openstack-dashboard
119- num_units: 3
120- options:
121- vip: 192.168.1.93
122- ha-bindiface: eth0
123- to:
124- - lxc:nova-compute=5
125- - lxc:nova-compute=6
126- - lxc:nova-compute=0
127- nova-cloud-controller:
128- charm: nova-cloud-controller
129- branch: lp:charms/trusty/nova-cloud-controller
130- num_units: 3
131- options:
132- vip: 192.168.1.97
133- ha-bindiface: eth0
134- network-manager: Quantum
135- quantum-security-groups: "yes"
136- neutron-external-network: Public_Network
137- to:
138- - lxc:nova-compute=1
139- - lxc:nova-compute=2
140- - lxc:nova-compute=3
141- neutron-api:
142- charm: neutron-api
143- branch: lp:charms/trusty/neutron-api
144- num_units: 3
145- options:
146- neutron-security-groups: True
147- neutron-external-network: Public_Network
148- l2-population: False
149- vip: 192.168.1.96
150- to:
151- - lxc:nova-compute=4
152- - lxc:nova-compute=5
153- - lxc:nova-compute=6
154- cinder:
155- charm: cinder
156- branch: lp:charms/trusty/cinder
157- num_units: 3
158- options:
159- block-device: "None"
160- ceph-osd-replication-count: 3
161- glance-api-version: 2
162- vip: 192.168.1.94
163- to:
164- - lxc:nova-compute=0
165- - lxc:nova-compute=1
166- - lxc:nova-compute=2
167- glance:
168- charm: glance
169- branch: lp:charms/trusty/glance
170- num_units: 3
171- options:
172- ceph-osd-replication-count: 3
173- vip: 192.168.1.92
174- ha-bindiface: eth0
175- to:
176- - lxc:nova-compute=3
177- - lxc:nova-compute=4
178- - lxc:nova-compute=5
179- ceph:
180- charm: ceph
181- branch: lp:charms/trusty/ceph
182- num_units: 3
183- options:
184- monitor-count: 3
185- fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
186- monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
187- osd-devices: /dev/sdb
188- osd-reformat: "yes"
189- to:
190- - lxc:nova-compute=6
191- - lxc:nova-compute=0
192- - lxc:nova-compute=1
193- ceilometer:
194- charm: ceilometer
195- branch: lp:charms/trusty/ceilometer
196- to:
197- - lxc:nova-compute=2
198- mongodb:
199- charm: mongodb
200- branch: lp:charms/mongodb
201- to:
202- - lxc:nova-compute=3
203- heat:
204- charm: heat
205- branch: lp:charms/trusty/heat
206- to:
207- - lxc:nova-compute=4
208-
209-trusty-icehouse-haclusters:
210- series: trusty
211- services:
212- mysql-hacluster:
213- charm: hacluster
214- branch: lp:charms/trusty/hacluster
215- options:
216- corosync_mcastaddr: 226.94.1.1
217- corosync_key: "3r8Y1zILzqADvJB7eLJGPrCI4g5Tg+uZ0+qq1kXNe0273yZlee9k2VT1twsyaSx3tNDDIcfuM/ykQNFRLw6dOWdXPbzgqIM5M5FExYQlXv2+s3kowRL0xuanVWXucaKu+t3jDDxmVnhj0SY/ixl3Gg0XrW4qXFoK05uMoIhK8Js="
218- keystone-hacluster:
219- charm: hacluster
220- branch: lp:charms/trusty/hacluster
221- options:
222- corosync_mcastaddr: 226.94.1.5
223- corosync_key: "6aVson6XvaprzAppLB6UA4OUgZIyNtW+qVwbanQta0aLMagwbPNomTniLr3ZyVGtEL7A0c48tJvaA+lafL2HzGq+43/aKnUbG5k7d4sKaQXP/sKLhCpyj+04DddBRAVsBJ6r9tG45CGF+H+qUykL1rOT0EesZhDqBiBGrV+DXes="
224- dashboard-hacluster:
225- charm: hacluster
226- branch: lp:charms/trusty/hacluster
227- options:
228- corosync_mcastaddr: 226.94.1.9
229- corosync_key: "9aNUFk+o0Hqt/6i46ltcycMogHm+bgOkhsIwBwuXX3YQZfvioZZZqggi9R9Ccj1OqIrxLA+GTstghYcc/hjULhIl3BIX6HAdePhX7sI8khTCiPTN/w4MIy3nW1CjFaeWW31CIhrXnTcq11l0MEB3vKNlN5/b7/kqvagB6oSjw4s="
230- ncc-hacluster:
231- charm: hacluster
232- branch: lp:charms/trusty/hacluster
233- options:
234- corosync_mcastaddr: 226.94.1.6
235- corosync_key: "xZP7GDWV0e8Qs0GxWThXirNNYlScgi3sRTdZk/IXKDqkNFcwdCWfRQnqrHU/6mb6sz6OIoZzX2MtfMQIDcXuPqQyvKuv7YbRyGHmQwAWDUA4ed759VWAO39kHkfWp9y5RRk/wcHakTcWYMwm70upDGJEP00YT3xem3NQy27AC1w="
236- neutron-api-hacluster:
237- charm: hacluster
238- branch: lp:charms/trusty/hacluster
239- options:
240- corosync_mcastaddr: 226.94.1.7
241- corosync_key: "7ys/duGU2j/gGcRnKVLGSiWF8zIYQG9yy0MPMwfLtHaGQ3pYnGnMbXQD8o2HbVuzY/YPHHeAO2gQ
242-/oS+7XGmNqPwiTyavlPBDVEfCx8nYIhXLntngIbeoa2VW9C63cYLmsnI4fn3Lo/S9UuEWilV295O
243-wO0v+er33MVR/6Qy+Ik="
244- cinder-hacluster:
245- charm: hacluster
246- branch: lp:charms/trusty/hacluster
247- options:
248- corosync_mcastaddr: 226.94.1.8
249- corosync_key: "wllBMGAfdCsotmXGbCbJ0LhAuOPQ9ZEIIAXIWWeNLwrmC7C9jmm92RSL1kYGCRRWaL7W7AziA6aBy//rZxeZ3z0YkM0QFD+4Vg7vtM6JaBoOFlJgVd6mbYUfVbI6IMqGiUDJ8hh5sKmN7kwQLNNwASGlJiMo5s9ErWviVM6/OrQ="
250- glance-hacluster:
251- charm: hacluster
252- branch: lp:charms/trusty/hacluster
253- options:
254- corosync_mcastaddr: 226.94.1.7
255- corosync_key: "eO34WuxbQ/FaQvYb/ffTtX+0phNfNZlmhRrC8gLYJMf/b52Ny3cRXjgp5P1lEfZFHjrhQ3lWQOqENuBVcejS1OYt574Xq2l1XLEHoEPbktovDhaS9yxIU7SYULdlx7j/BNtW7evY0pRBr23MYWEI3hETHVdtOeqgW1IB3zgoyco="
256-
257-trusty-icehouse-base-relations:
258- inherits:
259- - trusty-icehouse-baremetal-services
260- - trusty-icehouse-lxc-services
261- - trusty-icehouse-haclusters
262- relations:
263- - [ ceph-osd, ceph ]
264- - [ mysql, mysql-hacluster ]
265- - [ keystone, keystone-hacluster ]
266- - [ nova-cloud-controller, ncc-hacluster ]
267- - [ glance, glance-hacluster ]
268- - [ cinder, cinder-hacluster ]
269- - [ openstack-dashboard, dashboard-hacluster ]
270- - [ neutron-api, neutron-api-hacluster ]
271-
272-trusty-icehouse-ha-relations:
273- inherits:
274- - trusty-icehouse-baremetal-services
275- - trusty-icehouse-lxc-services
276- - trusty-icehouse-haclusters
277- - trusty-icehouse-base-relations
278- relations:
279- - [ keystone, mysql ]
280- - [ nova-cloud-controller, mysql ]
281- - [ nova-cloud-controller, rabbitmq-server ]
282- - [ nova-cloud-controller, glance ]
283- - [ nova-cloud-controller, keystone ]
284- - [ nova-compute, nova-cloud-controller ]
285- - [ 'nova-compute:shared-db', 'mysql:shared-db' ]
286- - [ nova-compute, 'rabbitmq-server:amqp' ]
287- - [ nova-compute, glance ]
288- - [ nova-compute, ceph ]
289- - [ glance, mysql ]
290- - [ glance, keystone ]
291- - [ glance, ceph ]
292- - [ glance, cinder ]
293- - [ glance, rabbitmq-server ]
294- - [ cinder, mysql ]
295- - [ cinder, rabbitmq-server ]
296- - [ cinder, nova-cloud-controller ]
297- - [ cinder, keystone ]
298- - [ cinder, ceph ]
299- - [ neutron-gateway, mysql ]
300- - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ]
301- - [ neutron-gateway, nova-cloud-controller ]
302- - [ openstack-dashboard, keystone ]
303- - [ ceilometer, keystone ]
304- - [ ceilometer, rabbitmq-server ]
305- - [ ceilometer, mongodb ]
306- - [ ceilometer-agent, nova-compute ]
307- - [ ceilometer-agent, ceilometer ]
308- - [ heat, mysql ]
309- - [ heat, keystone ]
310- - [ heat, rabbitmq-server ]
311- - [ neutron-api, rabbitmq-server ]
312- - [ neutron-api, mysql ]
313- - [ neutron-api, nova-cloud-controller ]
314- - [ neutron-api, keystone ]
315- - [ neutron-api, neutron-gateway ]
316- - [ neutron-api, neutron-openvswitch ]
317- - [ neutron-openvswitch, rabbitmq-server ]
318- - [ neutron-openvswitch, nova-compute ]
319
320=== removed file 'telco/01-deploy.sh'
321--- telco/01-deploy.sh 2015-01-26 21:59:10 +0000
322+++ telco/01-deploy.sh 1970-01-01 00:00:00 +0000
323@@ -1,13 +0,0 @@
324-#!/bin/bash
325-
326-#Install juju-deployer package
327-#sudo apt-get install -y juju-deployer
328-
329-#Deploy the bundle
330-#TODO: soft link to bundle to stable and bleeding edge charm revisions
331-
332-set -e
333-
334-export JUJU_REPOSITORY=$PWD
335-juju-deployer -r 3 -c bundle-telco.yaml
336-
337
338=== removed file 'telco/BulkUsersCreation.sh'
339--- telco/BulkUsersCreation.sh 2015-01-26 13:48:58 +0000
340+++ telco/BulkUsersCreation.sh 1970-01-01 00:00:00 +0000
341@@ -1,21 +0,0 @@
342-#!/bin/bash -e
343-
344-## Try ping homer and homestead from ellis before adding user to check dns resolution
345-
346-juju ssh clearwater-homestead/0 '. /etc/clearwater/config; for DN in {0000..0099} ; do echo sip:$DN@$home_domain,$DN@$home_domain,$home_domain,7kkzTyGW ; done > users.csv'
347-
348-juju ssh clearwater-homestead/0 "/usr/share/clearwater/homestead/src/metaswitch/crest/tools/bulk_autocomplete.py users.csv"
349-juju ssh clearwater-homestead/0 "/usr/share/clearwater/homestead/src/metaswitch/crest/tools/bulk_create.py users.auto.csv"
350-
351-juju ssh clearwater-homestead/0 "./users.auto.create_homestead.sh"
352-
353-TMP=`mktemp -d`
354-juju scp clearwater-homestead/0:~/*xdm* $TMP/
355-juju scp $TMP/*xdm* clearwater-homer/0:~/
356-juju ssh clearwater-homer/0 "./users.auto.create_xdm.sh"
357-
358-DOMAIN=`juju ssh clearwater-homestead/0 '. /etc/clearwater/config; echo $home_domain'`
359-echo 'users range from 0000@'$DOMAIN
360-echo 'to 0099@'$DOMAIN
361-echo ' with password 7kkzTyGW created'
362-echo "See clearwater doc to configure your clients"
363
364=== added file 'telco/README'
365--- telco/README 1970-01-01 00:00:00 +0000
366+++ telco/README 2015-09-23 10:59:49 +0000
367@@ -0,0 +1,3 @@
368+This is deprecated in favor of a shareable example
369+Go to : https://github.com/thomnico/juju-nfv-clearwater-restcomm
370+And enjoy/contribute to the magic
371\ No newline at end of file
372
373=== removed file 'telco/README'
374--- telco/README 2015-02-05 10:03:07 +0000
375+++ telco/README 1970-01-01 00:00:00 +0000
376@@ -1,39 +0,0 @@
377-Telco demo deployment
378-
379-Works on Amazon EC2 and OpenStack
380-
381-Doing a local copy to be able to have the images as it comes from a personnal namespace.
382-
383-Once started and if you create a zabbix machine run:
384-
385-integrate-with-ext-zabbix <IP of the zabbix machine>
386-
387-
388-If bzr-sync-local-charms failed do this :
389-juju-deployer -c bundle-telco-store.yaml
390-
391-#Or drag and drop the only drawback is not having the logos on the gui.
392-
393-Use clearwater by using the login at:
394-Show: http://www.projectclearwater.org/wp-content/uploads/2013/05/project-clearwater-architecture-april-2014-2.png
395-Architecture
396-
397-http://ellis-IP/
398-Go to signup page:
399-e-mail/name: your choice.
400-signup code : signup
401-password suggestion: AAbbCCdd
402-
403-
404-Run: BulkUsersCreation.sh
405-
406-Use restcomm using the login at:
407-http://restcomm-IP:8080/restcomm-management
408-email: administrator@company.com
409-pass: RestComm
410-
411-Show the designer:
412-http://www.restcomm.com/developers/
413-
414-
415-
416
417=== removed file 'telco/bundle-telco-store.yaml'
418--- telco/bundle-telco-store.yaml 2015-01-26 15:01:14 +0000
419+++ telco/bundle-telco-store.yaml 1970-01-01 00:00:00 +0000
420@@ -1,126 +0,0 @@
421-phone-network:
422- services:
423- "clearwater-bono":
424- charm: "cs:~thomnico/precise/clearwater-bono"
425- num_units: 1
426- options:
427- zone: clearwater.local
428- constraints: arch=amd64 mem=2G
429- expose: true
430- annotations:
431- "gui-x": "400"
432- "gui-y": "900"
433- "clearwater-ellis":
434- charm: "cs:~thomnico/precise/clearwater-ellis"
435- num_units: 1
436- options:
437- base_number: "1234567000"
438- number_count: 1000
439- signup_key: signup
440- zone: clearwater.local
441- constraints: arch=amd64 mem=2G
442- expose: true
443- annotations:
444- "gui-x": "400"
445- "gui-y": "0"
446- "clearwater-homer":
447- charm: "cs:~thomnico/precise/clearwater-homer"
448- num_units: 1
449- options:
450- zone: clearwater.local
451- constraints: arch=amd64 mem=2G
452- expose: true
453- annotations:
454- "gui-x": "600"
455- "gui-y": "300"
456- "clearwater-homestead":
457- charm: "cs:~thomnico/precise/clearwater-homestead"
458- num_units: 1
459- options:
460- zone: clearwater.local
461- constraints: arch=amd64 mem=2G
462- expose: true
463- annotations:
464- "gui-x": "200"
465- "gui-y": "300"
466- "clearwater-sprout":
467- charm: "cs:~thomnico/precise/clearwater-sprout"
468- num_units: 1
469- options:
470- zone: clearwater.local
471- constraints: arch=amd64 mem=2G
472- expose: true
473- annotations:
474- "gui-x": "400"
475- "gui-y": "600"
476- dns:
477- charm: "cs:~thomnico/precise/dns"
478- num_units: 1
479- constraints: arch=amd64 mem=2G
480- options:
481- domain: clearwater.local
482- annotations:
483- "gui-x": "1000"
484- "gui-y": "450"
485- "telscale-load-balancer":
486- charm: "cs:~gvagenas-g/trusty/telscale-load-balancer-0"
487- num_units: 1
488- constraints: arch=amd64 mem=2G
489- expose: true
490- annotations:
491- "gui-x": "-78.2210693359375"
492- "gui-y": "412.7301025390625"
493- mysql:
494- charm: "cs:trusty/mysql-5"
495- num_units: 1
496- constraints: arch=amd64 mem=2G
497- annotations:
498- "gui-x": "-857.8215242215981"
499- "gui-y": "698.5485784445332"
500- sipml5:
501- charm: "cs:~thomnico/trusty/sipml5-1"
502- num_units: 1
503- expose: true
504- annotations:
505- "gui-x": "1383.4697265625"
506- "gui-y": "423.10858154296875"
507- "telscale-restcomm":
508- charm: "cs:~gvagenas-g/trusty/telscale-restcomm-0"
509- num_units: 1
510- constraints: arch=amd64 mem=2G
511- expose: true
512- annotations:
513- "gui-x": "-500.625244140625"
514- "gui-y": "547.9537963867188"
515- relations:
516- - - "clearwater-bono:scscf"
517- - "clearwater-sprout:pcscf"
518- - - "clearwater-homestead:homestead-cscf"
519- - "clearwater-sprout:homestead-hss"
520- - - "clearwater-homer:xdms-user"
521- - "clearwater-sprout:xdms"
522- - - "clearwater-ellis:homestead-prov"
523- - "clearwater-homestead:homestead-prov-user"
524- - - "clearwater-ellis:xdms"
525- - "clearwater-homer:xdms-user"
526- - - "clearwater-ellis:programmable-multiple"
527- - "dns:programmable-multiple"
528- - - "clearwater-homer:programmable-multiple"
529- - "dns:programmable-multiple"
530- - - "clearwater-bono:programmable-multiple"
531- - "dns:programmable-multiple"
532- - - "clearwater-sprout:programmable-multiple"
533- - "dns:programmable-multiple"
534- - - "clearwater-homestead:programmable-multiple"
535- - "dns:programmable-multiple"
536- - - "sipml5:dns-client"
537- - "dns:dns-client"
538- - - "mysql:db"
539- - "telscale-restcomm:database"
540- - - "telscale-restcomm:load-balancer"
541- - "telscale-load-balancer:load-balancer"
542- - - "telscale-load-balancer:clearwater-ellis"
543- - "clearwater-ellis:as-catalog"
544- - - "telscale-restcomm:cscf"
545- - "clearwater-sprout:as"
546- series: trusty
547
548=== removed file 'telco/bundle-telco.yaml'
549--- telco/bundle-telco.yaml 2015-02-18 16:44:51 +0000
550+++ telco/bundle-telco.yaml 1970-01-01 00:00:00 +0000
551@@ -1,127 +0,0 @@
552-phone-network:
553- services:
554- "clearwater-bono":
555- charm: "cs:~thomnico/precise/clearwater-bono"
556- num_units: 1
557- options:
558- zone: clearwater.local
559- constraints: arch=amd64 mem=2G
560- expose: true
561- annotations:
562- "gui-x": "400"
563- "gui-y": "900"
564- "clearwater-ellis":
565- charm: "cs:~thomnico/precise/clearwater-ellis"
566- num_units: 1
567- options:
568- base_number: "1234567000"
569- number_count: 1000
570- signup_key: signup
571- zone: clearwater.local
572- constraints: arch=amd64 mem=2G
573- expose: true
574- annotations:
575- "gui-x": "400"
576- "gui-y": "0"
577- "clearwater-homer":
578- charm: "cs:~thomnico/precise/clearwater-homer"
579- num_units: 1
580- options:
581- zone: clearwater.local
582- constraints: arch=amd64 mem=2G
583- expose: true
584- annotations:
585- "gui-x": "600"
586- "gui-y": "300"
587- "clearwater-homestead":
588- charm: "cs:~thomnico/precise/clearwater-homestead"
589- num_units: 1
590- options:
591- zone: clearwater.local
592- constraints: arch=amd64 mem=2G
593- expose: true
594- annotations:
595- "gui-x": "200"
596- "gui-y": "300"
597- "clearwater-sprout":
598- charm: "cs:~thomnico/precise/clearwater-sprout"
599- num_units: 1
600- options:
601- zone: clearwater.local
602- constraints: arch=amd64 mem=2G
603- expose: true
604- annotations:
605- "gui-x": "400"
606- "gui-y": "600"
607- dns:
608- charm: "cs:~thomnico/precise/dns"
609- num_units: 1
610- constraints: arch=amd64 mem=2G
611- expose: true
612- options:
613- domain: clearwater.local
614- annotations:
615- "gui-x": "1000"
616- "gui-y": "450"
617- "telscale-load-balancer":
618- charm: "cs:~thomnico/trusty/telscale-load-balancer"
619- num_units: 1
620- expose: true
621- constraints: arch=amd64 mem=2G
622- annotations:
623- "gui-x": "-500.2210693359375"
624- "gui-y": "412.7301025390625"
625- mysql:
626- charm: "cs:trusty/mysql-5"
627- num_units: 1
628- constraints: arch=amd64 mem=2G
629- annotations:
630- "gui-x": "-500.8215242215981"
631- "gui-y": "698.5485784445332"
632- sipml5:
633- charm: "cs:~thomnico/trusty/sipml5"
634- num_units: 1
635- expose: true
636- annotations:
637- "gui-x": "1383.4697265625"
638- "gui-y": "423.10858154296875"
639- "telscale-restcomm":
640- charm: "cs:~thomnico/trusty/telscale-restcomm"
641- num_units: 1
642- constraints: arch=amd64 mem=2G
643- expose: true
644- annotations:
645- "gui-x": "-500.625244140625"
646- "gui-y": "547.9537963867188"
647- relations:
648- - - "clearwater-bono:scscf"
649- - "clearwater-sprout:pcscf"
650- - - "clearwater-homestead:homestead-cscf"
651- - "clearwater-sprout:homestead-hss"
652- - - "clearwater-homer:xdms-user"
653- - "clearwater-sprout:xdms"
654- - - "clearwater-ellis:homestead-prov"
655- - "clearwater-homestead:homestead-prov-user"
656- - - "clearwater-ellis:xdms"
657- - "clearwater-homer:xdms-user"
658- - - "clearwater-ellis:programmable-multiple"
659- - "dns:programmable-multiple"
660- - - "clearwater-homer:programmable-multiple"
661- - "dns:programmable-multiple"
662- - - "clearwater-bono:programmable-multiple"
663- - "dns:programmable-multiple"
664- - - "clearwater-sprout:programmable-multiple"
665- - "dns:programmable-multiple"
666- - - "clearwater-homestead:programmable-multiple"
667- - "dns:programmable-multiple"
668- - - "sipml5:dns-client"
669- - "dns:dns-client"
670- - - "mysql:db"
671- - "telscale-restcomm:database"
672- - - "telscale-restcomm:load-balancer"
673- - "telscale-load-balancer:load-balancer"
674- - - "telscale-load-balancer:clearwater-ellis"
675- - "clearwater-ellis:as-catalog"
676- - - "telscale-restcomm:cscf"
677- - "clearwater-sprout:as"
678- series: trusty
679
680=== removed file 'telco/integrate-with-ext-zabbix'
681--- telco/integrate-with-ext-zabbix 2014-10-29 14:48:40 +0000
682+++ telco/integrate-with-ext-zabbix 1970-01-01 00:00:00 +0000
683@@ -1,59 +0,0 @@
684-#!/bin/bash
685-#
686-# integrate with an external zabbix on a machine
687-# Copyright (C) 2014 Canonical Ltd.
688-#
689-# Authors: nicolas.thomas@canonical.com
690-#
691-# This program is free software: you can redistribute it and/or modify
692-# it under the terms of the GNU General Public License as published by
693-# the Free Software Foundation, version 3 of the License.
694-#
695-# This program is distributed in the hope that it will be useful,
696-# but WITHOUT ANY WARRANTY; without even the implied warranty of
697-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
698-# GNU General Public License for more details.
699-#
700-# You should have received a copy of the GNU General Public License
701-
702-set -ex
703-
704-VM_IP=$1
705-
706-if [[ -z "$VM_IP" ]]
707-then
708- echo "must give name/ip of the system to configure on"
709- exit 2
710-fi
711-
712-SSH="ssh -o StrictHostKeyChecking=no ubuntu@$VM_IP "
713-
714-export JUJU_ENDPOINT=`juju api-endpoints`
715-export ADMIN_PASS=`cat ${JUJU_HOME:-~/.juju}/environments/$(juju switch).jenv|grep admin-secret|awk '{print $2;}'`
716-
717-
718-## Connect to zabbix to juju API
719-
720-TMP=`mktemp `
721-cat > $TMP <<EOF
722-juju-api:
723- endpoint: "wss://$JUJU_ENDPOINT"
724- admin-secret: $ADMIN_PASS
725-EOF
726-#echo 'juju-api:'; echo ' endpoint: "'$JUJU_ENDPOINT'"'; echo ' admin-secret: '$ADMIN_PASS > $TMP
727-
728-scp -o StrictHostKeyChecking=no $TMP ubuntu@$VM_IP:/tmp/.jujuapi.yaml
729-
730-$SSH "sudo mv /tmp/.jujuapi.yaml /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
731-$SSH "sudo chown zabbix:zabbix /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
732-$SSH "sudo chmod 644 /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
733-
734-##usr/lib/zabbix/externalscripts/.jujuapi.yaml "
735-
736-juju deploy cs:~samuel-cozannet/precise/zabbix-agent || echo "already deployed keep going"
737-juju set zabbix-agent server-host=$VM_IP
738-
739-juju add-relation clearwater-ellis zabbix-agent || echo "already related to ellis keep going"
740-
741-echo "You can now connect Got to th gui and connect clearwater services to zabbix-agent"
742-
743
744=== removed file 'telco/mydomain-bundle.sh'
745--- telco/mydomain-bundle.sh 2015-05-27 14:51:22 +0000
746+++ telco/mydomain-bundle.sh 1970-01-01 00:00:00 +0000
747@@ -1,144 +0,0 @@
748-#!/bin/bash -e
749-
750-
751-mydomain=$1
752-cat > bundle-$mydomain.yaml <<EOF
753-phone-network:
754- services:
755- "clearwater-bono":
756- charm: "cs:~thomnico/precise/clearwater-bono"
757- num_units: 1
758- options:
759- zone: $mydomain
760- constraints: arch=amd64 mem=2G
761- expose: true
762- annotations:
763- "gui-x": "400"
764- "gui-y": "900"
765- "clearwater-ellis":
766- charm: "cs:~thomnico/precise/clearwater-ellis"
767- num_units: 1
768- options:
769- base_number: "1234567000"
770- number_count: 1000
771- signup_key: signup
772- zone: $mydomain
773- constraints: arch=amd64 mem=2G
774- expose: true
775- annotations:
776- "gui-x": "400"
777- "gui-y": "0"
778- to:
779- - lxc:clearwater-bono=0
780- clearwater-homer:
781- charm: "cs:~thomnico/precise/clearwater-homer"
782- num_units: 1
783- options:
784- zone: $mydomain
785- constraints: arch=amd64 mem=2G
786- expose: true
787- annotations:
788- "gui-x": "600"
789- "gui-y": "300"
790- "clearwater-homestead":
791- charm: "cs:~thomnico/precise/clearwater-homestead"
792- num_units: 1
793- options:
794- zone: $mydomain
795- constraints: arch=amd64 mem=2G
796- expose: true
797- annotations:
798- "gui-x": "200"
799- "gui-y": "300"
800- to: lxc:clearwater-homer=0
801- clearwater-sprout:
802- charm: "cs:~thomnico/precise/clearwater-sprout"
803- num_units: 1
804- options:
805- zone: $mydomain
806- constraints: arch=amd64 mem=2G
807- expose: true
808- annotations:
809- "gui-x": "400"
810- "gui-y": "600"
811- dns:
812- charm: "cs:~thomnico/precise/dns"
813- num_units: 1
814- constraints: arch=amd64 mem=2G
815- expose: true
816- options:
817- domain: $mydomain
818- annotations:
819- "gui-x": "1000"
820- "gui-y": "450"
821- to: lxc:clearwater-bono=0
822- telscale-load-balancer:
823- charm: "cs:~thomnico/trusty/telscale-load-balancer"
824- num_units: 1
825- expose: true
826- constraints: arch=amd64 mem=2G
827- annotations:
828- "gui-x": "-500.2210693359375"
829- "gui-y": "412.7301025390625"
830- mysql:
831- charm: "cs:trusty/mysql-5"
832- num_units: 1
833- constraints: arch=amd64 mem=2G
834- annotations:
835- "gui-x": "-500.8215242215981"
836- "gui-y": "698.5485784445332"
837- to: lxc:telscale-load-balancer=0
838- sipml5:
839- charm: "cs:~thomnico/trusty/sipml5"
840- num_units: 1
841- expose: true
842- annotations:
843- "gui-x": "1383.4697265625"
844- "gui-y": "423.10858154296875"
845- to: lxc:clearwater-bono=0
846- telscale-restcomm:
847- charm: "cs:~thomnico/trusty/telscale-restcomm"
848- num_units: 1
849- constraints: arch=amd64 mem=2G
850- expose: true
851- annotations:
852- "gui-x": "-500.625244140625"
853- "gui-y": "547.9537963867188"
854- to: lxc:telscale-load-balancer=0
855- relations:
856- - - "clearwater-bono:scscf"
857- - "clearwater-sprout:pcscf"
858- - - "clearwater-homestead:homestead-cscf"
859- - "clearwater-sprout:homestead-hss"
860- - - "clearwater-homer:xdms-user"
861- - "clearwater-sprout:xdms"
862- - - "clearwater-ellis:homestead-prov"
863- - "clearwater-homestead:homestead-prov-user"
864- - - "clearwater-ellis:xdms"
865- - "clearwater-homer:xdms-user"
866- - - "clearwater-ellis:programmable-multiple"
867- - "dns:programmable-multiple"
868- - - "clearwater-homer:programmable-multiple"
869- - "dns:programmable-multiple"
870- - - "clearwater-bono:programmable-multiple"
871- - "dns:programmable-multiple"
872- - - "clearwater-sprout:programmable-multiple"
873- - "dns:programmable-multiple"
874- - - "clearwater-homestead:programmable-multiple"
875- - "dns:programmable-multiple"
876- - - "sipml5:dns-client"
877- - "dns:dns-client"
878- - - "mysql:db"
879- - "telscale-restcomm:database"
880- - - "telscale-restcomm:load-balancer"
881- - "telscale-load-balancer:load-balancer"
882- - - "telscale-load-balancer:clearwater-ellis"
883- - "clearwater-ellis:as-catalog"
884- - - "telscale-restcomm:cscf"
885- - "clearwater-sprout:as"
886- series: trusty
887-EOF
888-
889-echo "You can know drag/drop bundle-$mydomain.yaml"
890-echo "Or juju-quickstart bundle-$mydomain.yaml"
891-echo " "
892
893=== removed file 'telco/redirect-google-dns-to-ob'
894--- telco/redirect-google-dns-to-ob 2015-01-07 02:09:22 +0000
895+++ telco/redirect-google-dns-to-ob 1970-01-01 00:00:00 +0000
896@@ -1,3 +0,0 @@
897-#!/bin/bash
898-
899-sudo iptables -t nat -A PREROUTING -i br0 -d 8.8.8.8 -j DNAT --to-destination 10.14.4.1

Subscribers

People subscribed via source and target branches