modified the bundle and script to have contrail deployed in non ha
[joid.git] / ci / opencontrail / juju-deployer / contrail-tip.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: 1
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     "mysql":
24       charm: "cs:trusty/mysql"
25       num_units: 1
26       options:
27         "dataset-size": 2G
28         "max-connections": 10000
29       to:
30         - "lxc:nodes-api=0"
31     "rabbitmq-server":
32       branch: lp:charms/trusty/rabbitmq-server
33       num_units: 1
34       to:
35         - "lxc:nodes-api=0"
36     "keystone":
37       branch: lp:charms/trusty/keystone
38       num_units: 1
39       options:
40         openstack-origin-git: include-file://keystone-master.yaml
41         "admin-password": openstack
42         "admin-token": admin
43       to:
44         - "lxc:nodes-api=0"
45     "openstack-dashboard":
46       branch: lp:charms/trusty/openstack-dashboard
47       num_units: 1
48       options:
49         openstack-origin-git: include-file://horizon-master.yaml
50         secret: admin
51         webroot: /
52       to:
53         - "lxc:nodes-api=0"
54     "nova-compute":
55       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
56       num_units: 1
57       options:
58         openstack-origin-git: include-file://nova-master.yaml
59         "manage-neutron-plugin-legacy-mode": False
60       to:
61         - "nodes-compute=0"
62 #        - "nodes-compute=1"
63     "nova-cloud-controller":
64       branch: lp:charms/trusty/nova-cloud-controller
65       num_units: 1
66       options:
67         openstack-origin-git: include-file://nova-master.yaml
68         "network-manager": Neutron
69       to:
70         - "lxc:nodes-api=0"
71     "neutron-api":
72       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
73       num_units: 1
74       options:
75         manage-neutron-plugin-legacy-mode: False
76       to:
77         - "lxc:nodes-api=0"
78     "glance":
79       branch: lp:charms/trusty/glance
80       num_units: 1
81       options:
82         openstack-origin-git: include-file://glance-master.yaml
83       to:
84         - "lxc:nodes-api=0"
85   relations:
86     - [ keystone, mysql ]
87     - [ nova-cloud-controller, mysql ]
88     - [ nova-cloud-controller, rabbitmq-server ]
89     - [ nova-cloud-controller, glance ]
90     - [ nova-cloud-controller, keystone ]
91     - [ nova-compute, nova-cloud-controller ]
92     - [ "nova-compute:shared-db", "mysql:shared-db" ]
93     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
94     - [ nova-compute, glance ]
95     - [ glance, mysql ]
96     - [ glance, keystone ]
97     - [ openstack-dashboard, keystone ]
98     - [ neutron-api, mysql ]
99     - [ neutron-api, rabbitmq-server ]
100     - [ neutron-api, nova-cloud-controller ]
101     - [ neutron-api, keystone ]
102     - [ neutron-api, neutron-api-contrail ]
103 contrail:
104   inherits: openstack-phase2
105   services:
106     zookeeper:
107       branch: lp:~charmers/charms/precise/zookeeper/trunk
108       series: precise
109       to:
110         - "lxc:nodes-api=0"
111     cassandra:
112       branch: lp:~stub/charms/trusty/cassandra/noauthentication
113       to:
114         - "lxc:nodes-api=0"
115       options:
116         authenticator: AllowAllAuthenticator
117     contrail-configuration:
118       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
119       to:
120         - "lxc:nodes-api=0"
121     contrail-control:
122       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
123       to:
124         - "lxc:nodes-api=0"
125     contrail-analytics:
126       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
127       to:
128         - "lxc:nodes-api=0"
129     contrail-webui:
130       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
131       to:
132         - "lxc:nodes-api=0"
133     neutron-api-contrail:
134       branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
135     neutron-contrail:
136       branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
137   relations:
138     - [ "contrail-configuration:cassandra", "cassandra:database" ]
139     - [ contrail-configuration, zookeeper ]
140     - [ contrail-configuration, rabbitmq-server ]
141     - [ contrail-configuration, keystone ]
142     - [ neutron-api-contrail, contrail-configuration ]
143     - [ neutron-api-contrail, keystone ]
144     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
145     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
146     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
147     - [ contrail-control, keystone ]
148     - [ "contrail-analytics:cassandra", "cassandra:database" ]
149     - [ contrail-analytics, contrail-configuration ]
150     - [ contrail-webui, keystone ]
151     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
152     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
153     - [ "contrail-webui:cassandra", "cassandra:database" ]
154     - [ nova-compute, neutron-contrail ]
155     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
156     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
157     - [ neutron-contrail, keystone ]
158
159 trusty-liberty-nodes:
160   inherits: openstack-phase1
161   series: trusty
162   overrides:
163     series: trusty
164
165 trusty-liberty:
166   inherits: contrail
167   series: trusty
168   services:
169     mysql:
170       charm: cs:trusty/mysql
171     rabbitmq-server:
172       charm: cs:trusty/rabbitmq-server
173   overrides:
174     series: trusty
175     #os-data-network: 10.4.8.0/21
176     region: Canonical
177     openstack-origin: cloud:trusty-liberty
178
179 trusty-kilo-nodes:
180   inherits: openstack-phase1
181   series: trusty
182   overrides:
183     series: trusty
184
185 trusty-kilo:
186   inherits: contrail
187   series: trusty
188   services:
189     mysql:
190       charm: cs:trusty/mysql
191     rabbitmq-server:
192       charm: cs:trusty/rabbitmq-server
193   overrides:
194     series: trusty
195     #os-data-network: 10.4.8.0/21
196     region: Canonical
197     openstack-origin: cloud:trusty-kilo
198
199 trusty-juno-nodes:
200   inherits: openstack-phase1
201   overrides:
202     series: trusty
203
204 trusty-juno:
205   inherits: contrail
206   series: trusty
207   services:
208     mysql:
209       charm: cs:trusty/mysql
210     rabbitmq-server:
211       charm: cs:trusty/rabbitmq-server
212   overrides:
213     series: trusty
214     #os-data-network: 10.4.8.0/21
215     region: Canonical
216     openstack-origin: cloud:trusty-juno
217