~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/SDN/contrail/contrail.yaml

  • Committer: MMorana
  • Date: 2016-03-24 01:18:40 UTC
  • Revision ID: mass@ubuntu.com-20160324011840-blxydmf7ca4ggle0
Splitting out demos from install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
openstack:
2
 
  services:
3
 
    ubuntu:
4
 
      charm: "cs:trusty/ubuntu"
5
 
      num_units: 2
6
 
      constraints: tags=physical
7
 
    mysql:
8
 
      constraints: mem=1G
9
 
      options:
10
 
        dataset-size: 50%
11
 
      to:
12
 
        - "lxc:ubuntu=0"
13
 
    rabbitmq-server:
14
 
      constraints: mem=1G
15
 
      to:
16
 
        - "lxc:ubuntu=0"
17
 
    keystone:
18
 
      branch: lp:~openstack-charmers/charms/trusty/keystone/next
19
 
      constraints: mem=1G
20
 
      options:
21
 
        admin-password: admin
22
 
      to:
23
 
        - "lxc:ubuntu=0"
24
 
    openstack-dashboard:
25
 
      branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
26
 
      constraints: mem=1G
27
 
      to:
28
 
        - "lxc:ubuntu=0"
29
 
    nova-compute:
30
 
      branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
31
 
      constraints: mem=4G root-disk=20G tags=physical
32
 
      options:
33
 
        manage-neutron-plugin-legacy-mode: false
34
 
    nova-cloud-controller:
35
 
      branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
36
 
      constraints: mem=1G tags=physical
37
 
      options:
38
 
        network-manager: Neutron
39
 
      to:
40
 
        - "lxc:ubuntu=0"
41
 
    glance:
42
 
      branch: lp:~openstack-charmers/charms/trusty/glance/next
43
 
      constraints: mem=1G tags=physical
44
 
      to:
45
 
        - "lxc:ubuntu=0"
46
 
    neutron-api:
47
 
      branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
48
 
      constraints: mem=1G
49
 
      options:
50
 
        manage-neutron-plugin-legacy-mode: false
51
 
    ntp:
52
 
      branch: "lp:charms/ntp"
53
 
      num_units: 0
54
 
  relations:
55
 
    - [ keystone, mysql ]
56
 
    - [ nova-cloud-controller, mysql ]
57
 
    - [ nova-cloud-controller, rabbitmq-server ]
58
 
    - [ nova-cloud-controller, glance ]
59
 
    - [ nova-cloud-controller, keystone ]
60
 
    - [ nova-compute, nova-cloud-controller ]
61
 
    - [ "nova-compute:shared-db", "mysql:shared-db" ]
62
 
    - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
63
 
    - [ nova-compute, glance ]
64
 
    - [ glance, mysql ]
65
 
    - [ glance, keystone ]
66
 
    - [ openstack-dashboard, keystone ]
67
 
    - [ neutron-api, mysql ]
68
 
    - [ neutron-api, rabbitmq-server ]
69
 
    - [ neutron-api, nova-cloud-controller ]
70
 
    - [ neutron-api, keystone ]
71
 
    - [ neutron-api, neutron-api-contrail ]
72
 
    - [ keystone, ntp ]
73
 
    - [ nova-cloud-controller, ntp ]
74
 
    - [ nova-compute, ntp ]
75
 
    - [ glance, ntp ]
76
 
    - [ mysql, ntp ]
77
 
    - [ rabbitmq-server, ntp ]
78
 
    - [ ubuntu, ntp ]
79
 
contrail:
80
 
  inherits: openstack
81
 
  services:
82
 
    cassandra:
83
 
      branch: lp:~stub/charms/trusty/cassandra/noauthentication
84
 
      constraints: mem=8G root-disk=20G
85
 
      units: 1
86
 
      options:
87
 
        authenticator: AllowAllAuthenticator
88
 
      to:
89
 
        - "lxc:ubuntu=1"
90
 
    zookeeper:
91
 
      branch: lp:~charmers/charms/precise/zookeeper/trunk
92
 
      series: precise
93
 
      constraints: mem=1G
94
 
      units: 1
95
 
      to:
96
 
        - "lxc:ubuntu=1"
97
 
    contrail-configuration:
98
 
      branch: lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
99
 
      constraints: mem=4G
100
 
      units: 1
101
 
      to:
102
 
        - "lxc:ubuntu=1"
103
 
    contrail-control:
104
 
      branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
105
 
      constraints: mem=2G
106
 
      units: 1
107
 
      to:
108
 
        - "lxc:ubuntu=1"
109
 
    contrail-analytics:
110
 
      branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
111
 
      constraints: mem=4G
112
 
      units: 1
113
 
      to:
114
 
        - "lxc:ubuntu=1"
115
 
    contrail-webui:
116
 
      branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
117
 
      units: 1
118
 
      to:
119
 
        - "lxc:ubuntu=1"
120
 
    neutron-api-contrail:
121
 
      branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
122
 
    neutron-contrail:
123
 
      branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
124
 
    haproxy:
125
 
      options:
126
 
        peering_mode: active-active
127
 
      units: 1
128
 
      to:
129
 
        - "lxc:ubuntu=1"
130
 
  overrides:
131
 
    admin-role: admin
132
 
  relations:
133
 
    - [ "contrail-configuration:cassandra", "cassandra:database" ]
134
 
    - [ contrail-configuration, zookeeper ]
135
 
    - [ contrail-configuration, rabbitmq-server ]
136
 
    - [ contrail-configuration, keystone ]
137
 
    - [ neutron-api-contrail, contrail-configuration ]
138
 
    - [ neutron-api-contrail, keystone ]
139
 
    - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
140
 
    - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
141
 
    - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
142
 
    - [ contrail-control, keystone ]
143
 
    - [ "contrail-analytics:cassandra", "cassandra:database" ]
144
 
    - [ "contrail-configuration:contrail-discovery", "contrail-analytics:contrail-discovery" ]
145
 
    - [ contrail-webui, keystone ]
146
 
    - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
147
 
    - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
148
 
    - [ "contrail-webui:cassandra", "cassandra:database" ]
149
 
    - [ nova-compute, neutron-contrail ]
150
 
    - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
151
 
    - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
152
 
    - [ neutron-contrail, keystone ]
153
 
    - [ contrail-configuration, haproxy ]
154
 
    - [ contrail-analytics, haproxy ]
155
 
    - [ contrail-webui, haproxy ]
156
 
    - [ contrail-configuration, ntp ]
157
 
    - [ contrail-control, ntp ]
158
 
    - [ contrail-analytics, ntp ]
159
 
    - [ contrail-webui, ntp ]
160
 
    - [ nova-compute, ntp ]
161
 
    - [ neutron-contrail, "ntp:juju-info" ]
162
 
trusty-icehouse-contrail:
163
 
  inherits: contrail
164
 
  series: trusty
165
 
  services:
166
 
    haproxy:
167
 
      charm: cs:trusty/haproxy
168
 
      to:
169
 
        - "lxc:ubuntu=1"
170
 
    mysql:
171
 
      charm: cs:trusty/mysql
172
 
      to:
173
 
        - "lxc:ubuntu=0"
174
 
    rabbitmq-server:
175
 
      charm: cs:trusty/rabbitmq-server
176
 
      to:
177
 
        - "lxc:ubuntu=0"
178
 
trusty-juno-contrail:
179
 
  inherits: contrail
180
 
  series: trusty
181
 
  services:
182
 
    haproxy:
183
 
      charm: cs:trusty/haproxy
184
 
      to:
185
 
        - "lxc:ubuntu=1"
186
 
    mysql:
187
 
      charm: cs:trusty/mysql
188
 
      to:
189
 
        - "lxc:ubuntu=0"
190
 
    rabbitmq-server:
191
 
      charm: cs:trusty/rabbitmq-server
192
 
      to:
193
 
        - "lxc:ubuntu=0"
194
 
trusty-kilo-contrail:
195
 
  inherits: contrail
196
 
  series: kilo
197
 
  services:
198
 
    haproxy:
199
 
      charm: cs:trusty/haproxy
200
 
      to:
201
 
        - "lxc:ubuntu=1"
202
 
    mysql:
203
 
      charm: cs:trusty/mysql
204
 
      to:
205
 
        - "lxc:ubuntu=0"
206
 
    rabbitmq-server:
207
 
      charm: cs:trusty/rabbitmq-server
208
 
      to:
209
 
        - "lxc:ubuntu=0"
210
 
  overrides:
211
 
    openstack-origin: cloud:trusty-kilo