modified the odl bundle with the working one for non ha and tip
[joid.git] / ci / odl / juju-deployer / ovs-odl-ha.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "local:trusty/ubuntu-nodes-controller"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       charm: "local:trusty/ubuntu-nodes-compute"
11       num_units: 1
12       constraints: tags=compute
13     "ntp": 
14       charm: "cs:trusty/ntp"
15   relations:
16     - - "ntp:juju-info"
17       - "nodes-api:juju-info"
18     - - "ntp:juju-info"
19       - "nodes-compute:juju-info"
20 openstack-phase2: 
21   inherits: openstack-phase1
22   services: 
23     "percona-cluster": 
24       charm: "cs:trusty/percona-cluster"
25       num_units: 3
26       options: 
27         "dataset-size": 2G
28         "lp1366997-workaround": true
29         "max-connections": 10000
30         "root-password": 293rhc395m
31         "sst-password": 127rc14t51
32         vip: 10.4.1.15
33       to:
34         - "lxc:nodes-api=0"
35         - "lxc:nodes-api=1"
36         - "lxc:nodes-api=2"
37     "hacluster-keystone":
38       charm: "cs:trusty/hacluster"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     "hacluster-horizon":
43       charm: "cs:trusty/hacluster"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     "hacluster-nova":
48       charm: "cs:trusty/hacluster"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     "hacluster-neutron": 
53       charm: "cs:trusty/hacluster"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     "hacluster-glance":
58       charm: "cs:trusty/hacluster"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     "rabbitmq-server": 
63       branch: lp:charms/trusty/rabbitmq-server
64       num_units: 3
65       to:
66         - "lxc:nodes-api=0"
67         - "lxc:nodes-api=1"
68         - "lxc:nodes-api=2"
69     "keystone": 
70       branch: lp:charms/trusty/keystone
71       num_units: 3
72       options: 
73         "admin-password": openstack
74         "admin-token": admin
75         vip: 10.4.1.13
76       to:
77         - "lxc:nodes-api=0"
78         - "lxc:nodes-api=1"
79         - "lxc:nodes-api=2"
80     "openstack-dashboard": 
81       branch: lp:charms/trusty/openstack-dashboard
82       num_units: 3
83       options: 
84         secret: admin
85         vip: 10.4.1.11
86         webroot: /
87       to:
88         - "lxc:nodes-api=0"
89         - "lxc:nodes-api=1"
90         - "lxc:nodes-api=2"
91     "nova-compute": 
92       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
93       num_units: 1
94       options: 
95         "enable-live-migration": False
96         "manage-neutron-plugin-legacy-mode": False
97       to:
98         - "nodes-compute=0"
99 #        - "nodes-compute=1"
100 #        - "nodes-api=0"
101 #        - "nodes-api=1"
102 #        - "nodes-api=2"
103     "nova-cloud-controller": 
104       branch: lp:charms/trusty/nova-cloud-controller
105       num_units: 3
106       options: 
107         "console-access-protocol": novnc
108         "network-manager": Neutron
109         "quantum-security-groups": "yes"
110         "service-guard": true
111         vip: 10.4.1.16
112       to:
113         - "lxc:nodes-api=0"
114         - "lxc:nodes-api=1"
115         - "lxc:nodes-api=2"
116     "neutron-api": 
117       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
118       num_units: 3
119       options:
120         neutron-security-groups: True
121         manage-neutron-plugin-legacy-mode: False
122         vip: 10.4.1.17
123       to: 
124         - "lxc:nodes-api=0"
125         - "lxc:nodes-api=1"
126         - "lxc:nodes-api=2"
127     neutron-gateway:
128       branch: lp:charms/trusty/neutron-gateway
129       options:
130 #        "ext-port": "eth1"
131         plugin: ovs-odl
132         instance-mtu: 1400
133       to:  
134         - "nodes-api=0"
135     odl-controller:
136       branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk
137       options:
138         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
139 #        install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
140         http-proxy: "http://squid.internal:3128"
141         https-proxy: "http://squid.internal:3128"
142
143       to: 
144         - "lxc:nodes-api=1"
145     "glance": 
146       branch: lp:charms/trusty/glance
147       num_units: 3
148       options: 
149         vip: 10.4.1.12
150       to:
151         - "lxc:nodes-api=0"
152         - "lxc:nodes-api=1"
153         - "lxc:nodes-api=2"
154     neutron-api-odl:
155       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
156       options:
157         overlay-network-type: 'vxlan gre'
158         security-groups: True
159     openvswitch-odl:
160       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
161   relations:
162     - - "glance:ha"
163       - "hacluster-glance:ha"
164     - - "keystone:ha"
165       - "hacluster-keystone:ha"
166     - - "neutron-api:ha"
167       - "hacluster-neutron:ha"
168     - - "nova-cloud-controller:ha"
169       - "hacluster-nova:ha"
170     - - "openstack-dashboard:ha"
171       - "hacluster-horizon:ha"
172     - - "neutron-api:neutron-plugin-api-subordinate"
173       - "neutron-api-odl:neutron-plugin-api-subordinate"
174     - - "nova-compute:neutron-plugin"
175       - "openvswitch-odl:neutron-plugin"
176     - - "neutron-gateway"
177       - "openvswitch-odl"
178     - - "openvswitch-odl:ovsdb-manager"
179       - "odl-controller:ovsdb-manager"
180     - - "neutron-api-odl:odl-controller"
181       - "odl-controller:controller-api"
182     - - "keystone:shared-db"
183       - "percona-cluster:shared-db"
184     - - "nova-cloud-controller:shared-db"
185       - "percona-cluster:shared-db"
186     - - "nova-cloud-controller:amqp"
187       - "rabbitmq-server:amqp"
188     - - "nova-cloud-controller:image-service"
189       - "glance:image-service"
190     - - "nova-cloud-controller:identity-service"
191       - "keystone:identity-service"
192     - - "nova-cloud-controller:cloud-compute"
193       - "nova-compute:cloud-compute"
194     - - "nova-compute:amqp"
195       - "rabbitmq-server:amqp"
196     - - "nova-compute:image-service"
197       - "glance:image-service"
198     - - "glance:shared-db"
199       - "percona-cluster:shared-db"
200     - - "glance:identity-service"
201       - "keystone:identity-service"
202     - - "glance:amqp"
203       - "rabbitmq-server:amqp"
204     - - "openstack-dashboard:identity-service"
205       - "keystone:identity-service"
206     - - "neutron-api:shared-db"
207       - "percona-cluster:shared-db"
208     - - "neutron-api:amqp"
209       - "rabbitmq-server:amqp"
210     - - "nova-cloud-controller:neutron-api"
211       - "neutron-api:neutron-api"
212     - - "neutron-api:identity-service"
213       - "keystone:identity-service"
214     - - "neutron-gateway:amqp"
215       - "rabbitmq-server:amqp"
216     - - "neutron-gateway:neutron-plugin-api"
217       - "neutron-api:neutron-plugin-api"
218     - - "nova-cloud-controller:quantum-network-service"
219       - "neutron-gateway:quantum-network-service"
220 trusty-liberty-nodes:
221   inherits: openstack-phase1
222   overrides:
223     series: trusty
224
225 trusty-liberty:
226   inherits: openstack-phase2
227   overrides:
228     cluster_count: 3
229     #os-data-network: 10.4.8.0/21
230     region: Canonical
231     source: "cloud:trusty-liberty"
232     "openstack-origin": "cloud:trusty-liberty"
233     series: trusty
234
235 trusty-kilo-nodes:
236   inherits: openstack-phase1
237   overrides:
238     series: trusty
239
240 trusty-kilo:
241   inherits: openstack-phase2
242   overrides:
243     cluster_count: 3
244     #os-data-network: 10.4.8.0/21
245     region: Canonical
246     source: "cloud:trusty-kilo"
247     "openstack-origin": "cloud:trusty-kilo"
248     series: trusty
249
250
251 trusty-juno-nodes:
252   inherits: openstack-phase1
253   overrides:
254     series: trusty
255
256 trusty-juno:
257   inherits: openstack-phase2
258   overrides:
259     cluster_count: 3
260     #os-data-network: 10.4.8.0/21
261     region: Canonical
262     source: "cloud:trusty-juno"
263     "openstack-origin": "cloud:trusty-juno"
264     series: trusty
265
266