include the similar naming convention across the labs.
[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       branch: "lp:charms/trusty/ubuntu"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       branch: "lp:charms/trusty/ubuntu"
11       num_units: 1
12       constraints: tags=compute
13     neutron-gateway:
14       branch: lp:~sdn-charmers/charms/trusty/neutron-gateway/ovs-odl
15 #      constraints: tags=gateway
16       options:
17 #        "ext-port": eth1
18         plugin: ovs-odl
19 #        instance-mtu: 1400
20       to: nodes-api=0
21     "ntp": 
22       charm: "cs:trusty/ntp"
23     openvswitch-odl:
24       branch: lp:~alai/charms/trusty/openvswitch-odl/trunk
25     "hacluster-keystone": 
26       charm: "cs:trusty/hacluster"
27       options:
28         corosync_key: |
29           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
30     "hacluster-horizon": 
31       charm: "cs:trusty/hacluster"
32       options:
33         corosync_key: |
34           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
35     "hacluster-nova": 
36       charm: "cs:trusty/hacluster"
37       options:
38         corosync_key: |
39           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
40     "hacluster-neutron": 
41       charm: "cs:trusty/hacluster"
42       options:
43         corosync_key: |
44           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
45     "hacluster-glance": 
46       charm: "cs:trusty/hacluster"
47       options:
48         corosync_key: |
49           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
50   relations:
51     - - "ntp:juju-info"
52       - "nodes-api:juju-info"
53     - - "ntp:juju-info"
54       - "nodes-compute:juju-info"
55 openstack-phase2: 
56   inherits: openstack-phase1
57   services: 
58     "nova-compute": 
59       charm: "cs:trusty/nova-compute"
60       num_units: 1
61       options: 
62         "enable-live-migration": true
63         "enable-resize": true
64         "migration-auth-type": ssh
65       to:
66         - "nodes-compute=0"
67 #        - "nodes-compute=1"
68     "keystone": 
69       charm: "cs:trusty/keystone"
70       num_units: 3
71       options: 
72         "admin-password": openstack
73         "admin-token": admin
74         vip: 10.4.1.13
75       to:
76         - "lxc:nodes-api=0"
77         - "lxc:nodes-api=1"
78         - "lxc:nodes-api=2"
79     "glance": 
80       charm: "cs:trusty/glance"
81       num_units: 3
82       options: 
83         vip: 10.4.1.12
84       to:
85         - "lxc:nodes-api=0"
86         - "lxc:nodes-api=1"
87         - "lxc:nodes-api=2"
88     "neutron-api": 
89       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
90       num_units: 3
91       options:
92         neutron-security-groups: False
93         manage-neutron-plugin-legacy-mode: False
94         vip: 10.4.1.17
95       to: 
96         - "lxc:nodes-api=0"
97         - "lxc:nodes-api=1"
98         - "lxc:nodes-api=2"
99     neutron-api-odl:
100       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
101       options:
102         overlay-network-type: 'vxlan gre'
103         security-groups: true
104     odl-controller:
105       branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk
106       options:
107         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"
108       to: lxc:nodes-api=1
109     "nova-cloud-controller": 
110       charm: "cs:trusty/nova-cloud-controller"
111       num_units: 3
112       options: 
113         "console-access-protocol": novnc
114         "network-manager": Neutron
115         "quantum-security-groups": "yes"
116         "service-guard": true
117         vip: 10.4.1.16
118       to:
119         - "lxc:nodes-api=0"
120         - "lxc:nodes-api=1"
121         - "lxc:nodes-api=2"
122     "openstack-dashboard": 
123       charm: "cs:trusty/openstack-dashboard"
124       num_units: 3
125       options: 
126         secret: admin
127         vip: 10.4.1.11
128         webroot: /
129       to:
130         - "lxc:nodes-api=0"
131         - "lxc:nodes-api=1"
132         - "lxc:nodes-api=2"
133     "rabbitmq-server": 
134       charm: "cs:trusty/rabbitmq-server"
135       num_units: 3
136       options: 
137         management_plugin: true
138       to:
139         - "lxc:nodes-api=0"
140         - "lxc:nodes-api=1"
141         - "lxc:nodes-api=2"
142     "percona-cluster": 
143       charm: "cs:trusty/percona-cluster"
144       num_units: 3
145       options: 
146         "dataset-size": 2G
147         "lp1366997-workaround": true
148         "max-connections": 10000
149         "root-password": 293rhc395m
150         "sst-password": 127rc14t51
151         vip: 10.4.1.15
152       to:
153         - "lxc:nodes-api=0"
154         - "lxc:nodes-api=1"
155         - "lxc:nodes-api=2"
156   relations:
157     - - "glance:ha"
158       - "hacluster-glance:ha"
159     - - "keystone:ha"
160       - "hacluster-keystone:ha"
161     - - "neutron-api:ha"
162       - "hacluster-neutron:ha"
163     - - "nova-cloud-controller:ha"
164       - "hacluster-nova:ha"
165     - - "openstack-dashboard:ha"
166       - "hacluster-horizon:ha"
167     - - "nova-compute:amqp"
168       - "rabbitmq-server:amqp"
169     - - "neutron-gateway:amqp"
170       - "rabbitmq-server:amqp"
171     - - "nova-cloud-controller:identity-service"
172       - "keystone:identity-service"
173     - - "glance:identity-service"
174       - "keystone:identity-service"
175     - - "neutron-api:identity-service"
176       - "keystone:identity-service"
177     - - "neutron-api:amqp"
178       - "rabbitmq-server:amqp"
179     - - "neutron-gateway:neutron-plugin-api"
180       - "neutron-api:neutron-plugin-api"
181     - - "glance:amqp"
182       - "rabbitmq-server:amqp"
183     - - "nova-cloud-controller:image-service"
184       - "glance:image-service"
185     - - "nova-compute:image-service"
186       - "glance:image-service"
187     - - "nova-cloud-controller:cloud-compute"
188       - "nova-compute:cloud-compute"
189     - - "nova-cloud-controller:amqp"
190       - "rabbitmq-server:amqp"
191     - - "nova-cloud-controller:quantum-network-service"
192       - "neutron-gateway:quantum-network-service"
193     - - "openstack-dashboard:identity-service"
194       - "keystone:identity-service"
195     - - "nova-cloud-controller:neutron-api"
196       - "neutron-api:neutron-api"
197     - - "neutron-gateway:shared-db"
198       - "percona-cluster:shared-db"
199     - - "glance:shared-db"
200       - "percona-cluster:shared-db"
201     - - "keystone:shared-db"
202       - "percona-cluster:shared-db"
203     - - "nova-cloud-controller:shared-db"
204       - "percona-cluster:shared-db"
205     - - "neutron-api:shared-db"
206       - "percona-cluster:shared-db"
207     - - "neutron-api:neutron-plugin-api-subordinate"
208       - "neutron-api-odl:neutron-plugin-api-subordinate"
209     - - "nova-compute:neutron-plugin"
210       - "openvswitch-odl:neutron-plugin"
211     - - "neutron-gateway"
212       - "openvswitch-odl"
213     - - "openvswitch-odl:ovsdb-manager"
214       - "odl-controller:ovsdb-manager"
215     - - "neutron-api-odl:odl-controller"
216       - "odl-controller:controller-api"
217 trusty-kilo:
218   inherits: openstack-phase2
219   overrides:
220     region: Canonical
221     source: "cloud:trusty-kilo"
222     "openstack-origin": "cloud:trusty-kilo"
223     series: trusty
224 trusty-juno:
225   inherits: openstack-phase2
226   overrides:
227     region: Canonical
228     source: "cloud:trusty-juno"
229     "openstack-origin": "cloud:trusty-juno"
230     series: trusty
231