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
=== removed directory 'openstack/ha/icehouse'
=== removed file 'openstack/ha/icehouse/trusty-icehouse-ra-ha.sh'
--- openstack/ha/icehouse/trusty-icehouse-ra-ha.sh 2015-03-24 21:54:55 +0000
+++ openstack/ha/icehouse/trusty-icehouse-ra-ha.sh 1970-01-01 00:00:00 +0000
@@ -1,20 +0,0 @@
1#!/bin/bash
2
3set -eux
4
5CONFIG_FILE="./trusty-icehouse-ra.yaml"
6DEPLOYER_OPTIONS="-s 600 -w 1200 -t 9999"
7WAIT_TIME="600"
8
9# Bootstrap the environment
10juju status || juju bootstrap
11#sleep "${WAIT_TIME}"
12juju-deployer -c "${CONFIG_FILE}" -d trusty-icehouse-baremetal-services $DEPLOYER_OPTIONS
13sleep "${WAIT_TIME}"
14juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-haclusters $DEPLOYER_OPTIONS
15sleep "${WAIT_TIME}"
16juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-lxc-services $DEPLOYER_OPTIONS
17sleep "${WAIT_TIME}"
18juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-base-relations $DEPLOYER_OPTIONS
19sleep "${WAIT_TIME}"
20juju-deployer -c ./trusty-icehouse-ra.yaml -d trusty-icehouse-ha-relations $DEPLOYER_OPTIONS
210
=== removed file 'openstack/ha/icehouse/trusty-icehouse-ra.yaml'
--- openstack/ha/icehouse/trusty-icehouse-ra.yaml 2015-03-24 21:54:55 +0000
+++ openstack/ha/icehouse/trusty-icehouse-ra.yaml 1970-01-01 00:00:00 +0000
@@ -1,288 +0,0 @@
1trusty-icehouse-baremetal-services:
2 series: trusty
3 services:
4 nova-compute:
5 charm: nova-compute
6 branch: lp:charms/trusty/nova-compute
7 num_units: 7
8 options:
9 config-flags: "auto_assign_floating_ip=False"
10 enable-live-migration: True
11 enable-resize: True
12 virt-type: qemu
13 ceph-osd:
14 charm: ceph-osd
15 branch: lp:charms/trusty/ceph-osd
16 num_units: 7
17 to:
18 - nova-compute=0
19 - nova-compute=1
20 - nova-compute=2
21 - nova-compute=3
22 - nova-compute=4
23 - nova-compute=5
24 - nova-compute=6
25 options:
26 osd-devices: /dev/sdb
27 osd-reformat: "yes"
28 neutron-gateway:
29 charm: quantum-gateway
30 branch: lp:charms/trusty/quantum-gateway
31 num_units: 1
32 options:
33 instance-mtu: 1350
34 ext-port: eth1
35 plugin: ovs
36 to: 0
37 neutron-openvswitch:
38 charm: neutron-openvswitch
39 branch: lp:charms/trusty/neutron-openvswitch
40 ceilometer-agent:
41 charm: ceilometer-agent
42 branch: lp:charms/trusty/ceilometer-agent
43
44trusty-icehouse-lxc-services:
45 inherits: trusty-icehouse-baremetal-services
46 series: trusty
47 services:
48 mysql:
49 charm: percona-cluster
50 branch: lp:~openstack-charmers/charms/trusty/percona-cluster/trunk
51 num_units: 3
52 options:
53 vip: 192.168.1.95
54 root-password: ubuntu
55 sst-password: ubuntu
56 ha-bindiface: eth0
57 access-network: "192.168.1.0/24"
58 to:
59 - lxc:nova-compute=3
60 - lxc:nova-compute=4
61 - lxc:nova-compute=5
62 rabbitmq-server:
63 charm: rabbitmq-server
64 branch: lp:charms/trusty/rabbitmq-server
65 num_units: 3
66 to:
67 - lxc:nova-compute=6
68 - lxc:nova-compute=0
69 - lxc:nova-compute=1
70 keystone:
71 charm: keystone
72 branch: lp:charms/trusty/keystone
73 num_units: 3
74 options:
75 enable-pki: "false"
76 admin-password: openstack
77 admin-token: openstacktesting
78 debug: 'True'
79 log-level: DEBUG
80 vip: 192.168.1.90
81 ha-bindiface: eth0
82 to:
83 - lxc:nova-compute=2
84 - lxc:nova-compute=3
85 - lxc:nova-compute=4
86 openstack-dashboard:
87 charm: openstack-dashboard
88 branch: lp:charms/trusty/openstack-dashboard
89 num_units: 3
90 options:
91 vip: 192.168.1.93
92 ha-bindiface: eth0
93 to:
94 - lxc:nova-compute=5
95 - lxc:nova-compute=6
96 - lxc:nova-compute=0
97 nova-cloud-controller:
98 charm: nova-cloud-controller
99 branch: lp:charms/trusty/nova-cloud-controller
100 num_units: 3
101 options:
102 vip: 192.168.1.97
103 ha-bindiface: eth0
104 network-manager: Quantum
105 quantum-security-groups: "yes"
106 neutron-external-network: Public_Network
107 to:
108 - lxc:nova-compute=1
109 - lxc:nova-compute=2
110 - lxc:nova-compute=3
111 neutron-api:
112 charm: neutron-api
113 branch: lp:charms/trusty/neutron-api
114 num_units: 3
115 options:
116 neutron-security-groups: True
117 neutron-external-network: Public_Network
118 l2-population: False
119 vip: 192.168.1.96
120 to:
121 - lxc:nova-compute=4
122 - lxc:nova-compute=5
123 - lxc:nova-compute=6
124 cinder:
125 charm: cinder
126 branch: lp:charms/trusty/cinder
127 num_units: 3
128 options:
129 block-device: "None"
130 ceph-osd-replication-count: 3
131 glance-api-version: 2
132 vip: 192.168.1.94
133 to:
134 - lxc:nova-compute=0
135 - lxc:nova-compute=1
136 - lxc:nova-compute=2
137 glance:
138 charm: glance
139 branch: lp:charms/trusty/glance
140 num_units: 3
141 options:
142 ceph-osd-replication-count: 3
143 vip: 192.168.1.92
144 ha-bindiface: eth0
145 to:
146 - lxc:nova-compute=3
147 - lxc:nova-compute=4
148 - lxc:nova-compute=5
149 ceph:
150 charm: ceph
151 branch: lp:charms/trusty/ceph
152 num_units: 3
153 options:
154 monitor-count: 3
155 fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
156 monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
157 osd-devices: /dev/sdb
158 osd-reformat: "yes"
159 to:
160 - lxc:nova-compute=6
161 - lxc:nova-compute=0
162 - lxc:nova-compute=1
163 ceilometer:
164 charm: ceilometer
165 branch: lp:charms/trusty/ceilometer
166 to:
167 - lxc:nova-compute=2
168 mongodb:
169 charm: mongodb
170 branch: lp:charms/mongodb
171 to:
172 - lxc:nova-compute=3
173 heat:
174 charm: heat
175 branch: lp:charms/trusty/heat
176 to:
177 - lxc:nova-compute=4
178
179trusty-icehouse-haclusters:
180 series: trusty
181 services:
182 mysql-hacluster:
183 charm: hacluster
184 branch: lp:charms/trusty/hacluster
185 options:
186 corosync_mcastaddr: 226.94.1.1
187 corosync_key: "3r8Y1zILzqADvJB7eLJGPrCI4g5Tg+uZ0+qq1kXNe0273yZlee9k2VT1twsyaSx3tNDDIcfuM/ykQNFRLw6dOWdXPbzgqIM5M5FExYQlXv2+s3kowRL0xuanVWXucaKu+t3jDDxmVnhj0SY/ixl3Gg0XrW4qXFoK05uMoIhK8Js="
188 keystone-hacluster:
189 charm: hacluster
190 branch: lp:charms/trusty/hacluster
191 options:
192 corosync_mcastaddr: 226.94.1.5
193 corosync_key: "6aVson6XvaprzAppLB6UA4OUgZIyNtW+qVwbanQta0aLMagwbPNomTniLr3ZyVGtEL7A0c48tJvaA+lafL2HzGq+43/aKnUbG5k7d4sKaQXP/sKLhCpyj+04DddBRAVsBJ6r9tG45CGF+H+qUykL1rOT0EesZhDqBiBGrV+DXes="
194 dashboard-hacluster:
195 charm: hacluster
196 branch: lp:charms/trusty/hacluster
197 options:
198 corosync_mcastaddr: 226.94.1.9
199 corosync_key: "9aNUFk+o0Hqt/6i46ltcycMogHm+bgOkhsIwBwuXX3YQZfvioZZZqggi9R9Ccj1OqIrxLA+GTstghYcc/hjULhIl3BIX6HAdePhX7sI8khTCiPTN/w4MIy3nW1CjFaeWW31CIhrXnTcq11l0MEB3vKNlN5/b7/kqvagB6oSjw4s="
200 ncc-hacluster:
201 charm: hacluster
202 branch: lp:charms/trusty/hacluster
203 options:
204 corosync_mcastaddr: 226.94.1.6
205 corosync_key: "xZP7GDWV0e8Qs0GxWThXirNNYlScgi3sRTdZk/IXKDqkNFcwdCWfRQnqrHU/6mb6sz6OIoZzX2MtfMQIDcXuPqQyvKuv7YbRyGHmQwAWDUA4ed759VWAO39kHkfWp9y5RRk/wcHakTcWYMwm70upDGJEP00YT3xem3NQy27AC1w="
206 neutron-api-hacluster:
207 charm: hacluster
208 branch: lp:charms/trusty/hacluster
209 options:
210 corosync_mcastaddr: 226.94.1.7
211 corosync_key: "7ys/duGU2j/gGcRnKVLGSiWF8zIYQG9yy0MPMwfLtHaGQ3pYnGnMbXQD8o2HbVuzY/YPHHeAO2gQ
212/oS+7XGmNqPwiTyavlPBDVEfCx8nYIhXLntngIbeoa2VW9C63cYLmsnI4fn3Lo/S9UuEWilV295O
213wO0v+er33MVR/6Qy+Ik="
214 cinder-hacluster:
215 charm: hacluster
216 branch: lp:charms/trusty/hacluster
217 options:
218 corosync_mcastaddr: 226.94.1.8
219 corosync_key: "wllBMGAfdCsotmXGbCbJ0LhAuOPQ9ZEIIAXIWWeNLwrmC7C9jmm92RSL1kYGCRRWaL7W7AziA6aBy//rZxeZ3z0YkM0QFD+4Vg7vtM6JaBoOFlJgVd6mbYUfVbI6IMqGiUDJ8hh5sKmN7kwQLNNwASGlJiMo5s9ErWviVM6/OrQ="
220 glance-hacluster:
221 charm: hacluster
222 branch: lp:charms/trusty/hacluster
223 options:
224 corosync_mcastaddr: 226.94.1.7
225 corosync_key: "eO34WuxbQ/FaQvYb/ffTtX+0phNfNZlmhRrC8gLYJMf/b52Ny3cRXjgp5P1lEfZFHjrhQ3lWQOqENuBVcejS1OYt574Xq2l1XLEHoEPbktovDhaS9yxIU7SYULdlx7j/BNtW7evY0pRBr23MYWEI3hETHVdtOeqgW1IB3zgoyco="
226
227trusty-icehouse-base-relations:
228 inherits:
229 - trusty-icehouse-baremetal-services
230 - trusty-icehouse-lxc-services
231 - trusty-icehouse-haclusters
232 relations:
233 - [ ceph-osd, ceph ]
234 - [ mysql, mysql-hacluster ]
235 - [ keystone, keystone-hacluster ]
236 - [ nova-cloud-controller, ncc-hacluster ]
237 - [ glance, glance-hacluster ]
238 - [ cinder, cinder-hacluster ]
239 - [ openstack-dashboard, dashboard-hacluster ]
240 - [ neutron-api, neutron-api-hacluster ]
241
242trusty-icehouse-ha-relations:
243 inherits:
244 - trusty-icehouse-baremetal-services
245 - trusty-icehouse-lxc-services
246 - trusty-icehouse-haclusters
247 - trusty-icehouse-base-relations
248 relations:
249 - [ keystone, mysql ]
250 - [ nova-cloud-controller, mysql ]
251 - [ nova-cloud-controller, rabbitmq-server ]
252 - [ nova-cloud-controller, glance ]
253 - [ nova-cloud-controller, keystone ]
254 - [ nova-compute, nova-cloud-controller ]
255 - [ 'nova-compute:shared-db', 'mysql:shared-db' ]
256 - [ nova-compute, 'rabbitmq-server:amqp' ]
257 - [ nova-compute, glance ]
258 - [ nova-compute, ceph ]
259 - [ glance, mysql ]
260 - [ glance, keystone ]
261 - [ glance, ceph ]
262 - [ glance, cinder ]
263 - [ glance, rabbitmq-server ]
264 - [ cinder, mysql ]
265 - [ cinder, rabbitmq-server ]
266 - [ cinder, nova-cloud-controller ]
267 - [ cinder, keystone ]
268 - [ cinder, ceph ]
269 - [ neutron-gateway, mysql ]
270 - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ]
271 - [ neutron-gateway, nova-cloud-controller ]
272 - [ openstack-dashboard, keystone ]
273 - [ ceilometer, keystone ]
274 - [ ceilometer, rabbitmq-server ]
275 - [ ceilometer, mongodb ]
276 - [ ceilometer-agent, nova-compute ]
277 - [ ceilometer-agent, ceilometer ]
278 - [ heat, mysql ]
279 - [ heat, keystone ]
280 - [ heat, rabbitmq-server ]
281 - [ neutron-api, rabbitmq-server ]
282 - [ neutron-api, mysql ]
283 - [ neutron-api, nova-cloud-controller ]
284 - [ neutron-api, keystone ]
285 - [ neutron-api, neutron-gateway ]
286 - [ neutron-api, neutron-openvswitch ]
287 - [ neutron-openvswitch, rabbitmq-server ]
288 - [ neutron-openvswitch, nova-compute ]
2890
=== removed file 'telco/01-deploy.sh'
--- telco/01-deploy.sh 2015-01-26 21:59:10 +0000
+++ telco/01-deploy.sh 1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
1#!/bin/bash
2
3#Install juju-deployer package
4#sudo apt-get install -y juju-deployer
5
6#Deploy the bundle
7#TODO: soft link to bundle to stable and bleeding edge charm revisions
8
9set -e
10
11export JUJU_REPOSITORY=$PWD
12juju-deployer -r 3 -c bundle-telco.yaml
13
140
=== removed file 'telco/BulkUsersCreation.sh'
--- telco/BulkUsersCreation.sh 2015-01-26 13:48:58 +0000
+++ telco/BulkUsersCreation.sh 1970-01-01 00:00:00 +0000
@@ -1,21 +0,0 @@
1#!/bin/bash -e
2
3## Try ping homer and homestead from ellis before adding user to check dns resolution
4
5juju 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'
6
7juju ssh clearwater-homestead/0 "/usr/share/clearwater/homestead/src/metaswitch/crest/tools/bulk_autocomplete.py users.csv"
8juju ssh clearwater-homestead/0 "/usr/share/clearwater/homestead/src/metaswitch/crest/tools/bulk_create.py users.auto.csv"
9
10juju ssh clearwater-homestead/0 "./users.auto.create_homestead.sh"
11
12TMP=`mktemp -d`
13juju scp clearwater-homestead/0:~/*xdm* $TMP/
14juju scp $TMP/*xdm* clearwater-homer/0:~/
15juju ssh clearwater-homer/0 "./users.auto.create_xdm.sh"
16
17DOMAIN=`juju ssh clearwater-homestead/0 '. /etc/clearwater/config; echo $home_domain'`
18echo 'users range from 0000@'$DOMAIN
19echo 'to 0099@'$DOMAIN
20echo ' with password 7kkzTyGW created'
21echo "See clearwater doc to configure your clients"
220
=== added file 'telco/README'
--- telco/README 1970-01-01 00:00:00 +0000
+++ telco/README 2015-09-23 10:59:49 +0000
@@ -0,0 +1,3 @@
1This is deprecated in favor of a shareable example
2Go to : https://github.com/thomnico/juju-nfv-clearwater-restcomm
3And enjoy/contribute to the magic
0\ No newline at end of file4\ No newline at end of file
15
=== removed file 'telco/README'
--- telco/README 2015-02-05 10:03:07 +0000
+++ telco/README 1970-01-01 00:00:00 +0000
@@ -1,39 +0,0 @@
1Telco demo deployment
2
3Works on Amazon EC2 and OpenStack
4
5Doing a local copy to be able to have the images as it comes from a personnal namespace.
6
7Once started and if you create a zabbix machine run:
8
9integrate-with-ext-zabbix <IP of the zabbix machine>
10
11
12If bzr-sync-local-charms failed do this :
13juju-deployer -c bundle-telco-store.yaml
14
15#Or drag and drop the only drawback is not having the logos on the gui.
16
17Use clearwater by using the login at:
18Show: http://www.projectclearwater.org/wp-content/uploads/2013/05/project-clearwater-architecture-april-2014-2.png
19Architecture
20
21http://ellis-IP/
22Go to signup page:
23e-mail/name: your choice.
24signup code : signup
25password suggestion: AAbbCCdd
26
27
28Run: BulkUsersCreation.sh
29
30Use restcomm using the login at:
31http://restcomm-IP:8080/restcomm-management
32email: administrator@company.com
33pass: RestComm
34
35Show the designer:
36http://www.restcomm.com/developers/
37
38
39
400
=== removed file 'telco/bundle-telco-store.yaml'
--- telco/bundle-telco-store.yaml 2015-01-26 15:01:14 +0000
+++ telco/bundle-telco-store.yaml 1970-01-01 00:00:00 +0000
@@ -1,126 +0,0 @@
1phone-network:
2 services:
3 "clearwater-bono":
4 charm: "cs:~thomnico/precise/clearwater-bono"
5 num_units: 1
6 options:
7 zone: clearwater.local
8 constraints: arch=amd64 mem=2G
9 expose: true
10 annotations:
11 "gui-x": "400"
12 "gui-y": "900"
13 "clearwater-ellis":
14 charm: "cs:~thomnico/precise/clearwater-ellis"
15 num_units: 1
16 options:
17 base_number: "1234567000"
18 number_count: 1000
19 signup_key: signup
20 zone: clearwater.local
21 constraints: arch=amd64 mem=2G
22 expose: true
23 annotations:
24 "gui-x": "400"
25 "gui-y": "0"
26 "clearwater-homer":
27 charm: "cs:~thomnico/precise/clearwater-homer"
28 num_units: 1
29 options:
30 zone: clearwater.local
31 constraints: arch=amd64 mem=2G
32 expose: true
33 annotations:
34 "gui-x": "600"
35 "gui-y": "300"
36 "clearwater-homestead":
37 charm: "cs:~thomnico/precise/clearwater-homestead"
38 num_units: 1
39 options:
40 zone: clearwater.local
41 constraints: arch=amd64 mem=2G
42 expose: true
43 annotations:
44 "gui-x": "200"
45 "gui-y": "300"
46 "clearwater-sprout":
47 charm: "cs:~thomnico/precise/clearwater-sprout"
48 num_units: 1
49 options:
50 zone: clearwater.local
51 constraints: arch=amd64 mem=2G
52 expose: true
53 annotations:
54 "gui-x": "400"
55 "gui-y": "600"
56 dns:
57 charm: "cs:~thomnico/precise/dns"
58 num_units: 1
59 constraints: arch=amd64 mem=2G
60 options:
61 domain: clearwater.local
62 annotations:
63 "gui-x": "1000"
64 "gui-y": "450"
65 "telscale-load-balancer":
66 charm: "cs:~gvagenas-g/trusty/telscale-load-balancer-0"
67 num_units: 1
68 constraints: arch=amd64 mem=2G
69 expose: true
70 annotations:
71 "gui-x": "-78.2210693359375"
72 "gui-y": "412.7301025390625"
73 mysql:
74 charm: "cs:trusty/mysql-5"
75 num_units: 1
76 constraints: arch=amd64 mem=2G
77 annotations:
78 "gui-x": "-857.8215242215981"
79 "gui-y": "698.5485784445332"
80 sipml5:
81 charm: "cs:~thomnico/trusty/sipml5-1"
82 num_units: 1
83 expose: true
84 annotations:
85 "gui-x": "1383.4697265625"
86 "gui-y": "423.10858154296875"
87 "telscale-restcomm":
88 charm: "cs:~gvagenas-g/trusty/telscale-restcomm-0"
89 num_units: 1
90 constraints: arch=amd64 mem=2G
91 expose: true
92 annotations:
93 "gui-x": "-500.625244140625"
94 "gui-y": "547.9537963867188"
95 relations:
96 - - "clearwater-bono:scscf"
97 - "clearwater-sprout:pcscf"
98 - - "clearwater-homestead:homestead-cscf"
99 - "clearwater-sprout:homestead-hss"
100 - - "clearwater-homer:xdms-user"
101 - "clearwater-sprout:xdms"
102 - - "clearwater-ellis:homestead-prov"
103 - "clearwater-homestead:homestead-prov-user"
104 - - "clearwater-ellis:xdms"
105 - "clearwater-homer:xdms-user"
106 - - "clearwater-ellis:programmable-multiple"
107 - "dns:programmable-multiple"
108 - - "clearwater-homer:programmable-multiple"
109 - "dns:programmable-multiple"
110 - - "clearwater-bono:programmable-multiple"
111 - "dns:programmable-multiple"
112 - - "clearwater-sprout:programmable-multiple"
113 - "dns:programmable-multiple"
114 - - "clearwater-homestead:programmable-multiple"
115 - "dns:programmable-multiple"
116 - - "sipml5:dns-client"
117 - "dns:dns-client"
118 - - "mysql:db"
119 - "telscale-restcomm:database"
120 - - "telscale-restcomm:load-balancer"
121 - "telscale-load-balancer:load-balancer"
122 - - "telscale-load-balancer:clearwater-ellis"
123 - "clearwater-ellis:as-catalog"
124 - - "telscale-restcomm:cscf"
125 - "clearwater-sprout:as"
126 series: trusty
1270
=== removed file 'telco/bundle-telco.yaml'
--- telco/bundle-telco.yaml 2015-02-18 16:44:51 +0000
+++ telco/bundle-telco.yaml 1970-01-01 00:00:00 +0000
@@ -1,127 +0,0 @@
1phone-network:
2 services:
3 "clearwater-bono":
4 charm: "cs:~thomnico/precise/clearwater-bono"
5 num_units: 1
6 options:
7 zone: clearwater.local
8 constraints: arch=amd64 mem=2G
9 expose: true
10 annotations:
11 "gui-x": "400"
12 "gui-y": "900"
13 "clearwater-ellis":
14 charm: "cs:~thomnico/precise/clearwater-ellis"
15 num_units: 1
16 options:
17 base_number: "1234567000"
18 number_count: 1000
19 signup_key: signup
20 zone: clearwater.local
21 constraints: arch=amd64 mem=2G
22 expose: true
23 annotations:
24 "gui-x": "400"
25 "gui-y": "0"
26 "clearwater-homer":
27 charm: "cs:~thomnico/precise/clearwater-homer"
28 num_units: 1
29 options:
30 zone: clearwater.local
31 constraints: arch=amd64 mem=2G
32 expose: true
33 annotations:
34 "gui-x": "600"
35 "gui-y": "300"
36 "clearwater-homestead":
37 charm: "cs:~thomnico/precise/clearwater-homestead"
38 num_units: 1
39 options:
40 zone: clearwater.local
41 constraints: arch=amd64 mem=2G
42 expose: true
43 annotations:
44 "gui-x": "200"
45 "gui-y": "300"
46 "clearwater-sprout":
47 charm: "cs:~thomnico/precise/clearwater-sprout"
48 num_units: 1
49 options:
50 zone: clearwater.local
51 constraints: arch=amd64 mem=2G
52 expose: true
53 annotations:
54 "gui-x": "400"
55 "gui-y": "600"
56 dns:
57 charm: "cs:~thomnico/precise/dns"
58 num_units: 1
59 constraints: arch=amd64 mem=2G
60 expose: true
61 options:
62 domain: clearwater.local
63 annotations:
64 "gui-x": "1000"
65 "gui-y": "450"
66 "telscale-load-balancer":
67 charm: "cs:~thomnico/trusty/telscale-load-balancer"
68 num_units: 1
69 expose: true
70 constraints: arch=amd64 mem=2G
71 annotations:
72 "gui-x": "-500.2210693359375"
73 "gui-y": "412.7301025390625"
74 mysql:
75 charm: "cs:trusty/mysql-5"
76 num_units: 1
77 constraints: arch=amd64 mem=2G
78 annotations:
79 "gui-x": "-500.8215242215981"
80 "gui-y": "698.5485784445332"
81 sipml5:
82 charm: "cs:~thomnico/trusty/sipml5"
83 num_units: 1
84 expose: true
85 annotations:
86 "gui-x": "1383.4697265625"
87 "gui-y": "423.10858154296875"
88 "telscale-restcomm":
89 charm: "cs:~thomnico/trusty/telscale-restcomm"
90 num_units: 1
91 constraints: arch=amd64 mem=2G
92 expose: true
93 annotations:
94 "gui-x": "-500.625244140625"
95 "gui-y": "547.9537963867188"
96 relations:
97 - - "clearwater-bono:scscf"
98 - "clearwater-sprout:pcscf"
99 - - "clearwater-homestead:homestead-cscf"
100 - "clearwater-sprout:homestead-hss"
101 - - "clearwater-homer:xdms-user"
102 - "clearwater-sprout:xdms"
103 - - "clearwater-ellis:homestead-prov"
104 - "clearwater-homestead:homestead-prov-user"
105 - - "clearwater-ellis:xdms"
106 - "clearwater-homer:xdms-user"
107 - - "clearwater-ellis:programmable-multiple"
108 - "dns:programmable-multiple"
109 - - "clearwater-homer:programmable-multiple"
110 - "dns:programmable-multiple"
111 - - "clearwater-bono:programmable-multiple"
112 - "dns:programmable-multiple"
113 - - "clearwater-sprout:programmable-multiple"
114 - "dns:programmable-multiple"
115 - - "clearwater-homestead:programmable-multiple"
116 - "dns:programmable-multiple"
117 - - "sipml5:dns-client"
118 - "dns:dns-client"
119 - - "mysql:db"
120 - "telscale-restcomm:database"
121 - - "telscale-restcomm:load-balancer"
122 - "telscale-load-balancer:load-balancer"
123 - - "telscale-load-balancer:clearwater-ellis"
124 - "clearwater-ellis:as-catalog"
125 - - "telscale-restcomm:cscf"
126 - "clearwater-sprout:as"
127 series: trusty
1280
=== removed file 'telco/integrate-with-ext-zabbix'
--- telco/integrate-with-ext-zabbix 2014-10-29 14:48:40 +0000
+++ telco/integrate-with-ext-zabbix 1970-01-01 00:00:00 +0000
@@ -1,59 +0,0 @@
1#!/bin/bash
2#
3# integrate with an external zabbix on a machine
4# Copyright (C) 2014 Canonical Ltd.
5#
6# Authors: nicolas.thomas@canonical.com
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, version 3 of the License.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18
19set -ex
20
21VM_IP=$1
22
23if [[ -z "$VM_IP" ]]
24then
25 echo "must give name/ip of the system to configure on"
26 exit 2
27fi
28
29SSH="ssh -o StrictHostKeyChecking=no ubuntu@$VM_IP "
30
31export JUJU_ENDPOINT=`juju api-endpoints`
32export ADMIN_PASS=`cat ${JUJU_HOME:-~/.juju}/environments/$(juju switch).jenv|grep admin-secret|awk '{print $2;}'`
33
34
35## Connect to zabbix to juju API
36
37TMP=`mktemp `
38cat > $TMP <<EOF
39juju-api:
40 endpoint: "wss://$JUJU_ENDPOINT"
41 admin-secret: $ADMIN_PASS
42EOF
43#echo 'juju-api:'; echo ' endpoint: "'$JUJU_ENDPOINT'"'; echo ' admin-secret: '$ADMIN_PASS > $TMP
44
45scp -o StrictHostKeyChecking=no $TMP ubuntu@$VM_IP:/tmp/.jujuapi.yaml
46
47$SSH "sudo mv /tmp/.jujuapi.yaml /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
48$SSH "sudo chown zabbix:zabbix /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
49$SSH "sudo chmod 644 /usr/lib/zabbix/externalscripts/.jujuapi.yaml"
50
51##usr/lib/zabbix/externalscripts/.jujuapi.yaml "
52
53juju deploy cs:~samuel-cozannet/precise/zabbix-agent || echo "already deployed keep going"
54juju set zabbix-agent server-host=$VM_IP
55
56juju add-relation clearwater-ellis zabbix-agent || echo "already related to ellis keep going"
57
58echo "You can now connect Got to th gui and connect clearwater services to zabbix-agent"
59
600
=== removed file 'telco/mydomain-bundle.sh'
--- telco/mydomain-bundle.sh 2015-05-27 14:51:22 +0000
+++ telco/mydomain-bundle.sh 1970-01-01 00:00:00 +0000
@@ -1,144 +0,0 @@
1#!/bin/bash -e
2
3
4mydomain=$1
5cat > bundle-$mydomain.yaml <<EOF
6phone-network:
7 services:
8 "clearwater-bono":
9 charm: "cs:~thomnico/precise/clearwater-bono"
10 num_units: 1
11 options:
12 zone: $mydomain
13 constraints: arch=amd64 mem=2G
14 expose: true
15 annotations:
16 "gui-x": "400"
17 "gui-y": "900"
18 "clearwater-ellis":
19 charm: "cs:~thomnico/precise/clearwater-ellis"
20 num_units: 1
21 options:
22 base_number: "1234567000"
23 number_count: 1000
24 signup_key: signup
25 zone: $mydomain
26 constraints: arch=amd64 mem=2G
27 expose: true
28 annotations:
29 "gui-x": "400"
30 "gui-y": "0"
31 to:
32 - lxc:clearwater-bono=0
33 clearwater-homer:
34 charm: "cs:~thomnico/precise/clearwater-homer"
35 num_units: 1
36 options:
37 zone: $mydomain
38 constraints: arch=amd64 mem=2G
39 expose: true
40 annotations:
41 "gui-x": "600"
42 "gui-y": "300"
43 "clearwater-homestead":
44 charm: "cs:~thomnico/precise/clearwater-homestead"
45 num_units: 1
46 options:
47 zone: $mydomain
48 constraints: arch=amd64 mem=2G
49 expose: true
50 annotations:
51 "gui-x": "200"
52 "gui-y": "300"
53 to: lxc:clearwater-homer=0
54 clearwater-sprout:
55 charm: "cs:~thomnico/precise/clearwater-sprout"
56 num_units: 1
57 options:
58 zone: $mydomain
59 constraints: arch=amd64 mem=2G
60 expose: true
61 annotations:
62 "gui-x": "400"
63 "gui-y": "600"
64 dns:
65 charm: "cs:~thomnico/precise/dns"
66 num_units: 1
67 constraints: arch=amd64 mem=2G
68 expose: true
69 options:
70 domain: $mydomain
71 annotations:
72 "gui-x": "1000"
73 "gui-y": "450"
74 to: lxc:clearwater-bono=0
75 telscale-load-balancer:
76 charm: "cs:~thomnico/trusty/telscale-load-balancer"
77 num_units: 1
78 expose: true
79 constraints: arch=amd64 mem=2G
80 annotations:
81 "gui-x": "-500.2210693359375"
82 "gui-y": "412.7301025390625"
83 mysql:
84 charm: "cs:trusty/mysql-5"
85 num_units: 1
86 constraints: arch=amd64 mem=2G
87 annotations:
88 "gui-x": "-500.8215242215981"
89 "gui-y": "698.5485784445332"
90 to: lxc:telscale-load-balancer=0
91 sipml5:
92 charm: "cs:~thomnico/trusty/sipml5"
93 num_units: 1
94 expose: true
95 annotations:
96 "gui-x": "1383.4697265625"
97 "gui-y": "423.10858154296875"
98 to: lxc:clearwater-bono=0
99 telscale-restcomm:
100 charm: "cs:~thomnico/trusty/telscale-restcomm"
101 num_units: 1
102 constraints: arch=amd64 mem=2G
103 expose: true
104 annotations:
105 "gui-x": "-500.625244140625"
106 "gui-y": "547.9537963867188"
107 to: lxc:telscale-load-balancer=0
108 relations:
109 - - "clearwater-bono:scscf"
110 - "clearwater-sprout:pcscf"
111 - - "clearwater-homestead:homestead-cscf"
112 - "clearwater-sprout:homestead-hss"
113 - - "clearwater-homer:xdms-user"
114 - "clearwater-sprout:xdms"
115 - - "clearwater-ellis:homestead-prov"
116 - "clearwater-homestead:homestead-prov-user"
117 - - "clearwater-ellis:xdms"
118 - "clearwater-homer:xdms-user"
119 - - "clearwater-ellis:programmable-multiple"
120 - "dns:programmable-multiple"
121 - - "clearwater-homer:programmable-multiple"
122 - "dns:programmable-multiple"
123 - - "clearwater-bono:programmable-multiple"
124 - "dns:programmable-multiple"
125 - - "clearwater-sprout:programmable-multiple"
126 - "dns:programmable-multiple"
127 - - "clearwater-homestead:programmable-multiple"
128 - "dns:programmable-multiple"
129 - - "sipml5:dns-client"
130 - "dns:dns-client"
131 - - "mysql:db"
132 - "telscale-restcomm:database"
133 - - "telscale-restcomm:load-balancer"
134 - "telscale-load-balancer:load-balancer"
135 - - "telscale-load-balancer:clearwater-ellis"
136 - "clearwater-ellis:as-catalog"
137 - - "telscale-restcomm:cscf"
138 - "clearwater-sprout:as"
139 series: trusty
140EOF
141
142echo "You can know drag/drop bundle-$mydomain.yaml"
143echo "Or juju-quickstart bundle-$mydomain.yaml"
144echo " "
1450
=== removed file 'telco/redirect-google-dns-to-ob'
--- telco/redirect-google-dns-to-ob 2015-01-07 02:09:22 +0000
+++ telco/redirect-google-dns-to-ob 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3sudo 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