added ubuntu charm for local deployment charm to configure the
[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       charm: "cs:trusty/rabbitmq-server"
64       num_units: 3
65       options: 
66         management_plugin: true
67       to:
68         - "lxc:nodes-api=0"
69         - "lxc:nodes-api=1"
70         - "lxc:nodes-api=2"
71     "keystone": 
72       charm: "cs:trusty/keystone"
73       num_units: 3
74       options: 
75         "admin-password": openstack
76         "admin-token": admin
77         vip: 10.4.1.13
78       to:
79         - "lxc:nodes-api=0"
80         - "lxc:nodes-api=1"
81         - "lxc:nodes-api=2"
82     "openstack-dashboard": 
83       charm: "cs:trusty/openstack-dashboard"
84       num_units: 3
85       options: 
86         secret: admin
87         vip: 10.4.1.11
88         webroot: /
89       to:
90         - "lxc:nodes-api=0"
91         - "lxc:nodes-api=1"
92         - "lxc:nodes-api=2"
93     "nova-compute": 
94       branch: "lp:~openstack-charmers/charms/trusty/nova-compute/next"
95       num_units: 4
96       options: 
97         "enable-live-migration": true
98         "enable-resize": true
99         "migration-auth-type": ssh
100       to:
101         - "nodes-compute=0"
102 #        - "nodes-compute=1"
103         - "nodes-api=0"
104         - "nodes-api=1"
105         - "nodes-api=2"
106     "nova-cloud-controller": 
107       charm: "cs:trusty/nova-cloud-controller"
108       num_units: 3
109       options: 
110         "console-access-protocol": novnc
111         "network-manager": Neutron
112         "quantum-security-groups": "yes"
113         "service-guard": true
114         vip: 10.4.1.16
115       to:
116         - "lxc:nodes-api=0"
117         - "lxc:nodes-api=1"
118         - "lxc:nodes-api=2"
119     "neutron-api": 
120       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
121       num_units: 3
122       options:
123         neutron-security-groups: False
124         manage-neutron-plugin-legacy-mode: False
125         vip: 10.4.1.17
126       to: 
127         - "lxc:nodes-api=0"
128         - "lxc:nodes-api=1"
129         - "lxc:nodes-api=2"
130     neutron-gateway:
131       branch: lp:~narindergupta/charms/trusty/neutron-gateway/ovs-odl
132 #      num_units: 3
133 #      constraints: tags=gateway
134       options:
135 #        "ext-port": "eth1"
136         plugin: ovs-odl
137 #        instance-mtu: 1400
138       to:  
139         - "nodes-api=0"
140     odl-controller:
141       branch: lp:~narindergupta/charms/trusty/odl-controller/liberty
142       options:
143         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"
144 #        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"
145       to: 
146         - "lxc:nodes-api=1"
147     "glance": 
148       charm: "cs:trusty/glance"
149       num_units: 3
150       options: 
151         vip: 10.4.1.12
152       to:
153         - "lxc:nodes-api=0"
154         - "lxc:nodes-api=1"
155         - "lxc:nodes-api=2"
156     neutron-api-odl:
157       branch: lp:~narindergupta/charms/trusty/neutron-api-odl/liberty
158       options:
159         overlay-network-type: 'vxlan gre'
160         security-groups: true
161     openvswitch-odl:
162       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
163   relations:
164     - - "glance:ha"
165       - "hacluster-glance:ha"
166     - - "keystone:ha"
167       - "hacluster-keystone:ha"
168     - - "neutron-api:ha"
169       - "hacluster-neutron:ha"
170     - - "nova-cloud-controller:ha"
171       - "hacluster-nova:ha"
172     - - "openstack-dashboard:ha"
173       - "hacluster-horizon:ha"
174     - - "nova-compute:amqp"
175       - "rabbitmq-server:amqp"
176     - - "neutron-gateway:amqp"
177       - "rabbitmq-server:amqp"
178     - - "nova-cloud-controller:identity-service"
179       - "keystone:identity-service"
180     - - "glance:identity-service"
181       - "keystone:identity-service"
182     - - "neutron-api:identity-service"
183       - "keystone:identity-service"
184     - - "neutron-api:amqp"
185       - "rabbitmq-server:amqp"
186     - - "neutron-gateway:neutron-plugin-api"
187       - "neutron-api:neutron-plugin-api"
188     - - "glance:amqp"
189       - "rabbitmq-server:amqp"
190     - - "nova-cloud-controller:image-service"
191       - "glance:image-service"
192     - - "nova-compute:image-service"
193       - "glance:image-service"
194     - - "nova-cloud-controller:cloud-compute"
195       - "nova-compute:cloud-compute"
196     - - "nova-cloud-controller:amqp"
197       - "rabbitmq-server:amqp"
198     - - "nova-cloud-controller:quantum-network-service"
199       - "neutron-gateway:quantum-network-service"
200     - - "openstack-dashboard:identity-service"
201       - "keystone:identity-service"
202     - - "nova-cloud-controller:neutron-api"
203       - "neutron-api:neutron-api"
204     - - "neutron-gateway:shared-db"
205       - "percona-cluster:shared-db"
206     - - "glance:shared-db"
207       - "percona-cluster:shared-db"
208     - - "keystone:shared-db"
209       - "percona-cluster:shared-db"
210     - - "nova-cloud-controller:shared-db"
211       - "percona-cluster:shared-db"
212     - - "neutron-api:shared-db"
213       - "percona-cluster:shared-db"
214     - - "neutron-api:neutron-plugin-api-subordinate"
215       - "neutron-api-odl:neutron-plugin-api-subordinate"
216     - - "nova-compute:neutron-plugin"
217       - "openvswitch-odl:neutron-plugin"
218     - - "neutron-gateway"
219       - "openvswitch-odl"
220     - - "openvswitch-odl:ovsdb-manager"
221       - "odl-controller:ovsdb-manager"
222     - - "neutron-api-odl:odl-controller"
223       - "odl-controller:controller-api"
224 trusty-liberty-nodes:
225   inherits: openstack-phase1
226   overrides:
227     series: trusty
228
229 trusty-liberty:
230   inherits: openstack-phase2
231   overrides:
232     cluster_count: 3
233     #os-data-network: 10.4.8.0/21
234     region: Canonical
235     source: "cloud:trusty-liberty"
236     "openstack-origin": "cloud:trusty-liberty"
237     series: trusty
238
239 trusty-kilo-nodes:
240   inherits: openstack-phase1
241   overrides:
242     series: trusty
243
244 trusty-kilo:
245   inherits: openstack-phase2
246   overrides:
247     cluster_count: 3
248     #os-data-network: 10.4.8.0/21
249     region: Canonical
250     source: "cloud:trusty-kilo"
251     "openstack-origin": "cloud:trusty-kilo"
252     series: trusty
253
254
255 trusty-juno-nodes:
256   inherits: openstack-phase1
257   overrides:
258     series: trusty
259
260 trusty-juno:
261   inherits: openstack-phase2
262   overrides:
263     cluster_count: 3
264     #os-data-network: 10.4.8.0/21
265     region: Canonical
266     source: "cloud:trusty-juno"
267     "openstack-origin": "cloud:trusty-juno"
268     series: trusty
269
270