~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/onos/juju-deployer/ovs-onos-tip.yaml

  • Committer: Narinder Gupta
  • Date: 2016-06-07 19:50:38 UTC
  • Revision ID: git-v1:a974eb71bd5a89062ff5a1899703ef22ba41852e
modified the onos deployment as per new process where charms were
downloaded first then deployment started.

Change-Id: I97711241121577200d1223764c84e91cc1be05cb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vim: set ts=2 et:
 
2
trusty-mitaka-nodes:
 
3
  inherits: openstack-phase1
 
4
  overrides:
 
5
    series: trusty
 
6
 
 
7
trusty-mitaka:
 
8
  inherits: openstack-phase2
 
9
  overrides:
 
10
    #os-data-network: 10.4.8.0/21
 
11
    #ceph-cluster-network: 10.4.0.0/21
 
12
    #prefer-ipv6: true
 
13
    #enable-dvr: true
 
14
    #l2-population: true
 
15
    region: Canonical
 
16
    #source: "cloud:trusty-mitaka"
 
17
    openstack-origin: "cloud:trusty-mitaka"
 
18
    series: trusty
 
19
    ceph-osd-replication-count: 2
 
20
    admin-role: admin
 
21
    keystone-admin-role: admin
 
22
 
2
23
openstack-phase1:
3
24
  series: trusty
4
25
  services:
5
 
    nodes-api:
6
 
      charm: "cs:trusty/ubuntu"
7
 
      num_units: 1
8
 
      constraints: tags=control
9
 
    nodes-compute:
10
 
      charm: "cs:trusty/ubuntu"
11
 
      num_units: 1
12
 
      constraints: tags=compute
 
26
    nodes:
 
27
      charm: "cs:trusty/ubuntu"
 
28
      num_units: 2
13
29
    ntp:
14
 
      charm: "cs:trusty/ntp"
 
30
      charm: "local:trusty/ntp"
15
31
  relations:
16
 
    - - "ntp:juju-info"
17
 
      - "nodes-api:juju-info"
18
 
    - - "ntp:juju-info"
19
 
      - "nodes-compute:juju-info"
 
32
  - - "ntp:juju-info"
 
33
    - "nodes:juju-info"
 
34
 
20
35
openstack-phase2:
21
36
  inherits: openstack-phase1
 
37
  relations:
 
38
    - - "nova-compute:neutron-plugin"
 
39
      - "neutron-api:neutron-plugin"
 
40
    - - "neutron-gateway"
 
41
      - "onos-controller:ovsdb-manager"
 
42
    - - "nova-compute:ovsdb-manager"
 
43
      - "onos-controller:ovsdb-manager"
 
44
    - - "neutron-api:onos-controller"
 
45
      - "onos-controller:controller-api"
 
46
    - - "keystone:shared-db"
 
47
      - "mysql:shared-db"
 
48
    - - "nova-cloud-controller:shared-db"
 
49
      - "mysql:shared-db"
 
50
    - - "nova-cloud-controller:amqp"
 
51
      - "rabbitmq-server:amqp"
 
52
    - - "nova-cloud-controller:image-service"
 
53
      - "glance:image-service"
 
54
    - - "nova-cloud-controller:identity-service"
 
55
      - "keystone:identity-service"
 
56
    - - "nova-cloud-controller:cloud-compute"
 
57
      - "nova-compute:cloud-compute"
 
58
    - - "nova-compute:amqp"
 
59
      - "rabbitmq-server:amqp"
 
60
    - - "nova-compute:image-service"
 
61
      - "glance:image-service"
 
62
    - - "glance:shared-db"
 
63
      - "mysql:shared-db"
 
64
    - - "glance:identity-service"
 
65
      - "keystone:identity-service"
 
66
    - - "glance:amqp"
 
67
      - "rabbitmq-server:amqp"
 
68
    - - "openstack-dashboard:identity-service"
 
69
      - "keystone:identity-service"
 
70
    - - "neutron-api:shared-db"
 
71
      - "mysql:shared-db"
 
72
    - - "neutron-api:amqp"
 
73
      - "rabbitmq-server:amqp"
 
74
    - - "nova-cloud-controller:neutron-api"
 
75
      - "neutron-api:neutron-api"
 
76
    - - "neutron-api:identity-service"
 
77
      - "keystone:identity-service"
 
78
    - - "neutron-gateway:amqp"
 
79
      - "rabbitmq-server:amqp"
 
80
    - - "neutron-gateway:neutron-plugin-api"
 
81
      - "neutron-api:neutron-plugin-api"
 
82
    - - "nova-cloud-controller:quantum-network-service"
 
83
      - "neutron-gateway:quantum-network-service"
 
84
    - - "ceilometer:amqp"
 
85
      - "rabbitmq-server:amqp"
 
86
    - - "ceilometer-agent:ceilometer-service"
 
87
      - "ceilometer:ceilometer-service"
 
88
    - - "ceilometer:identity-service"
 
89
      - "keystone:identity-service"
 
90
    - - "ceilometer:identity-notifications"
 
91
      - "keystone:identity-notifications"
 
92
    - - "ceilometer-agent:nova-ceilometer"
 
93
      - "nova-compute:nova-ceilometer"
 
94
    - - "ceilometer:shared-db"
 
95
      - "mongodb:database"
 
96
    - - "heat:shared-db"
 
97
      - "mysql:shared-db"
 
98
    - - "heat:identity-service"
 
99
      - "keystone:identity-service"
 
100
    - - "heat:amqp"
 
101
      - "rabbitmq-server:amqp"
 
102
    - - "cinder:image-service"
 
103
      - "glance:image-service"
 
104
    - - "cinder:amqp"
 
105
      - "rabbitmq-server:amqp"
 
106
    - - "cinder:identity-service"
 
107
      - "keystone:identity-service"
 
108
    - - "cinder:cinder-volume-service"
 
109
      - "nova-cloud-controller:cinder-volume-service"
 
110
    - - "cinder-ceph:storage-backend"
 
111
      - "cinder:storage-backend"
 
112
    - - "ceph:client"
 
113
      - "nova-compute:ceph"
 
114
    - - "cinder:shared-db"
 
115
      - "mysql:shared-db"
 
116
    - - "ceph:client"
 
117
      - "cinder-ceph:ceph"
 
118
    - - "ceph:client"
 
119
      - "glance:ceph"
 
120
    - - "ceph-osd:mon"
 
121
      - "ceph:osd"
 
122
    - - "ceph-radosgw:mon"
 
123
      - "ceph:radosgw"
 
124
    - - "ceph-radosgw:identity-service"
 
125
      - "keystone:identity-service"
 
126
    #- - nova-compute:lxd
 
127
      #- lxd:lxd
 
128
 
22
129
  services:
23
130
    mysql:
24
 
      branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
25
 
      num_units: 1
 
131
      charm: "local:trusty/percona-cluster"
26
132
      options:
27
133
        dataset-size: 2G
28
134
        max-connections: 10000
29
135
      to:
30
 
        - "lxc:nodes-api=0"
 
136
        - "lxc:nodes=0"
31
137
    ceilometer:
32
 
      branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
33
 
      num_units: 1
 
138
      charm: "local:trusty/ceilometer"
34
139
      to:
35
 
        - "lxc:nodes-api=0"
 
140
        - "lxc:nodes=1"
36
141
    ceilometer-agent:
37
 
      branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
 
142
      charm: "local:trusty/ceilometer-agent"
38
143
    mongodb:
39
144
      charm: "cs:trusty/mongodb"
40
 
      num_units: 1
41
145
      to:
42
 
        - "lxc:nodes-api=0"
 
146
        - "lxc:nodes=0"
43
147
    heat:
44
 
      branch: "lp:~openstack-charmers/charms/trusty/heat/next"
 
148
      charm: "local:trusty/heat"
45
149
      to:
46
 
        - "lxc:nodes-api=0"
 
150
        - "lxc:nodes=1"
47
151
    ceph:
48
 
      branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
49
 
      num_units: 1
 
152
      charm: "local:trusty/ceilometer"
 
153
      num_units: 2
50
154
      options:
51
155
        fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
52
156
        monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
53
157
        osd-devices: ""
54
 
        monitor-count: 1
 
158
        monitor-count: 2
55
159
#        osd-reformat: 'no'
56
160
#        ceph-cluster-network: 192.168.0.0/24
57
161
#        ceph-public-network: 192.168.0.0/24
58
162
      to:
59
 
        - "lxc:nodes-api=0"
 
163
        - "lxc:nodes=1"
 
164
        - "lxc:nodes=0"
60
165
    ceph-osd:
61
 
      branch: "lp:~openstack-charmers/charms/trusty/ceph-osd/next"
62
 
      num_units: 1
 
166
      charm: "local:trusty/ceph-osd"
 
167
      num_units: 2
63
168
      options:
64
169
        osd-devices: /srv
65
170
        osd-reformat: 'yes'
66
171
      to:
67
 
        - "nodes-compute=0"
 
172
        - "nodes=0"
 
173
        - "nodes=1"
68
174
    ceph-radosgw:
69
 
      branch: "lp:~openstack-charmers/charms/trusty/ceph-radosgw/next"
70
 
      num_units: 1
 
175
      charm: "local:trusty/ceph-radosgw"
71
176
      options:
72
177
        use-embedded-webserver: true
73
178
        operator-roles: "Member,admin"
74
179
      to:
75
 
        - "lxc:nodes-api=0"
 
180
        - "lxc:nodes=0"
76
181
    cinder:
77
 
      branch: "lp:~openstack-charmers/charms/trusty/cinder/next"
78
 
      num_units: 1
 
182
      charm: "local:trusty/cinder"
79
183
      options:
80
184
        block-device: None
81
185
        glance-api-version: 2
82
186
#        ha-mcastport: 5401
83
187
#        openstack-origin-git: include-file://cinder-master.yaml
84
188
      to:
85
 
        - "lxc:nodes-api=0"
 
189
        - "lxc:nodes=1"
86
190
    cinder-ceph:
87
 
      branch: "lp:~openstack-charmers/charms/trusty/cinder-ceph/next"
 
191
      charm: "local:trusty/cinder-ceph"
88
192
    rabbitmq-server:
89
 
      branch: "lp:~openstack-charmers/charms/trusty/rabbitmq-server/next"
90
 
      num_units: 1
 
193
      charm: "local:trusty/rabbitmq-server"
91
194
      to:
92
 
        - "lxc:nodes-api=0"
 
195
        - "lxc:nodes=0"
93
196
    keystone:
94
 
      branch: "lp:~openstack-charmers/charms/trusty/keystone/next"
95
 
      num_units: 1
 
197
      charm: "local:trusty/keystone"
96
198
      options:
97
199
        openstack-origin-git: include-file://keystone-master.yaml
98
200
        admin-password: openstack
99
201
        admin-token: admin
100
202
      to:
101
 
        - "lxc:nodes-api=0"
 
203
        - "lxc:nodes=1"
102
204
    openstack-dashboard:
103
 
      branch: "lp:~openstack-charmers/charms/trusty/openstack-dashboard/next"
104
 
      num_units: 1
 
205
      charm: "local:trusty/openstack-dashboard"
105
206
      options:
106
207
        openstack-origin-git: include-file://horizon-master.yaml
107
208
        secret: admin
108
209
      to:
109
 
        - "lxc:nodes-api=0"
 
210
        - "lxc:nodes=0"
110
211
    nova-compute:
111
 
      branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
112
 
      num_units: 1
 
212
      charm: local:trusty/nova-compute
113
213
      options:
114
214
        openstack-origin-git: include-file://nova-master.yaml
115
215
        enable-live-migration: true
117
217
        manage-neutron-plugin-legacy-mode: false
118
218
        migration-auth-type: ssh
119
219
      to:
120
 
        - "nodes-compute=0"
121
 
#        - "nodes-compute=1"
 
220
        - "nodes=1"
122
221
    nova-cloud-controller:
123
 
      branch: "lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next"
124
 
      num_units: 1
 
222
      charm: "local:trusty/nova-cloud-controller"
125
223
      options:
126
224
        openstack-origin-git: include-file://nova-master.yaml
127
225
        console-access-protocol: novnc
128
226
        network-manager: Neutron
129
227
      to:
130
 
        - "lxc:nodes-api=0"
 
228
        - "lxc:nodes=1"
131
229
    neutron-api:
132
 
      branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
133
 
      num_units: 1
 
230
      charm: local:trusty/neutron-api
134
231
      options:
135
232
        neutron-security-groups: True
136
233
        manage-neutron-plugin-legacy-mode: False
137
234
      to:
138
 
        - "lxc:nodes-api=0"
 
235
        - "lxc:nodes=0"
139
236
    neutron-gateway:
140
 
      branch: "lp:~wuwenbin2/onosfw/neutron-gateway"
 
237
      charm: "local:trusty/neutron-gateway"
141
238
      options:
142
239
        openstack-origin-git: include-file://neutron-master.yaml
143
240
        #ext-port: "eth1"
144
241
        plugin: onos
145
242
        instance-mtu: 1400
146
243
      to:
147
 
        - "nodes-api=0"
 
244
        - "nodes=0"
148
245
    onos-controller:
149
 
      branch: "lp:~wuwenbin2/onosfw/onos-controller"
 
246
      charm: "local:trusty/onos-controller"
150
247
      options:
151
248
        #ext-port: "eth1"
152
249
        #gateway-mac: "default"
153
250
      to:
154
 
        - "lxc:nodes-api=0"
 
251
        - "lxc:nodes=1"
155
252
    glance:
156
 
      branch: "lp:~openstack-charmers/charms/trusty/glance/next"
157
 
      num_units: 1
 
253
      charm: "local:trusty/glance"
158
254
      options:
159
255
        openstack-origin-git: include-file://glance-master.yaml
160
256
      to:
161
 
        - "lxc:nodes-api=0"
 
257
        - "lxc:nodes=0"
162
258
    opnfv-promise:
163
 
      branch: lp:~narindergupta/charms/trusty/promise/trunk
164
 
      num_units: 1
 
259
      charm: local:trusty/promise
165
260
      to:
166
 
        - "lxc:nodes-api=0"
 
261
        - "lxc:nodes=1"
167
262
    neutron-api-onos:
168
 
      branch: "lp:~wuwenbin2/onosfw/neutron-api-onos"
 
263
      charm: "local:trusty/neutron-api-onos"
169
264
      options:
170
265
        overlay-network-type: 'vxlan'
171
266
        security-groups: True
172
267
    openvswitch-onos:
173
 
      branch: "lp:~wuwenbin2/onosfw/openvswitch-onos"
174
 
  relations:
175
 
    - - "nova-compute:neutron-plugin"
176
 
      - "neutron-api:neutron-plugin"
177
 
    - - "neutron-gateway"
178
 
      - "onos-controller:ovsdb-manager"
179
 
    - - "nova-compute:ovsdb-manager"
180
 
      - "onos-controller:ovsdb-manager"
181
 
    - - "neutron-api:onos-controller"
182
 
      - "onos-controller:controller-api"
183
 
    - - "keystone:shared-db"
184
 
      - "mysql:shared-db"
185
 
    - - "nova-cloud-controller:shared-db"
186
 
      - "mysql:shared-db"
187
 
    - - "nova-cloud-controller:amqp"
188
 
      - "rabbitmq-server:amqp"
189
 
    - - "nova-cloud-controller:image-service"
190
 
      - "glance:image-service"
191
 
    - - "nova-cloud-controller:identity-service"
192
 
      - "keystone:identity-service"
193
 
    - - "nova-cloud-controller:cloud-compute"
194
 
      - "nova-compute:cloud-compute"
195
 
    - - "nova-compute:amqp"
196
 
      - "rabbitmq-server:amqp"
197
 
    - - "nova-compute:image-service"
198
 
      - "glance:image-service"
199
 
    - - "glance:shared-db"
200
 
      - "mysql:shared-db"
201
 
    - - "glance:identity-service"
202
 
      - "keystone:identity-service"
203
 
    - - "glance:amqp"
204
 
      - "rabbitmq-server:amqp"
205
 
    - - "openstack-dashboard:identity-service"
206
 
      - "keystone:identity-service"
207
 
    - - "neutron-api:shared-db"
208
 
      - "mysql:shared-db"
209
 
    - - "neutron-api:amqp"
210
 
      - "rabbitmq-server:amqp"
211
 
    - - "nova-cloud-controller:neutron-api"
212
 
      - "neutron-api:neutron-api"
213
 
    - - "neutron-api:identity-service"
214
 
      - "keystone:identity-service"
215
 
    - - "neutron-gateway:amqp"
216
 
      - "rabbitmq-server:amqp"
217
 
    - - "neutron-gateway:neutron-plugin-api"
218
 
      - "neutron-api:neutron-plugin-api"
219
 
    - - "nova-cloud-controller:quantum-network-service"
220
 
      - "neutron-gateway:quantum-network-service"
221
 
    - - "ceilometer:amqp"
222
 
      - "rabbitmq-server:amqp"
223
 
    - - "ceilometer-agent:ceilometer-service"
224
 
      - "ceilometer:ceilometer-service"
225
 
    - - "ceilometer:identity-service"
226
 
      - "keystone:identity-service"
227
 
    - - "ceilometer:identity-notifications"
228
 
      - "keystone:identity-notifications"
229
 
    - - "ceilometer-agent:nova-ceilometer"
230
 
      - "nova-compute:nova-ceilometer"
231
 
    - - "ceilometer:shared-db"
232
 
      - "mongodb:database"
233
 
    - - "heat:shared-db"
234
 
      - "mysql:shared-db"
235
 
    - - "heat:identity-service"
236
 
      - "keystone:identity-service"
237
 
    - - "heat:amqp"
238
 
      - "rabbitmq-server:amqp"
239
 
    - - "cinder:image-service"
240
 
      - "glance:image-service"
241
 
    - - "cinder:amqp"
242
 
      - "rabbitmq-server:amqp"
243
 
    - - "cinder:identity-service"
244
 
      - "keystone:identity-service"
245
 
    - - "cinder:cinder-volume-service"
246
 
      - "nova-cloud-controller:cinder-volume-service"
247
 
    - - "cinder-ceph:storage-backend"
248
 
      - "cinder:storage-backend"
249
 
    - - "ceph:client"
250
 
      - "nova-compute:ceph"
251
 
    - - "cinder:shared-db"
252
 
      - "mysql:shared-db"
253
 
    - - "ceph:client"
254
 
      - "cinder-ceph:ceph"
255
 
    - - "ceph:client"
256
 
      - "glance:ceph"
257
 
    - - "ceph-osd:mon"
258
 
      - "ceph:osd"
259
 
    - - "ceph-radosgw:mon"
260
 
      - "ceph:radosgw"
261
 
    - - "ceph-radosgw:identity-service"
262
 
      - "keystone:identity-service"
263
 
trusty-liberty-nodes:
264
 
  inherits: openstack-phase1
265
 
  overrides:
266
 
    series: trusty
267
 
 
268
 
trusty-liberty:
269
 
  inherits: openstack-phase2
270
 
  overrides:
271
 
    #os-data-network: 10.4.8.0/21
272
 
    #ceph-cluster-network: 10.4.0.0/21
273
 
    #prefer-ipv6: true
274
 
    region: Canonical
275
 
    source: "cloud:trusty-liberty"
276
 
    openstack-origin: "cloud:trusty-liberty"
277
 
    series: trusty
278
 
    ceph-osd-replication-count: 1
279
 
    admin-role: admin
280
 
    keystone-admin-role: admin
281
 
 
282
 
trusty-kilo-nodes:
283
 
  inherits: openstack-phase1
284
 
  overrides:
285
 
    series: trusty
286
 
 
287
 
# master
288
 
trusty-kilo:
289
 
  inherits: openstack-phase2
290
 
  series: trusty
291
 
  overrides:
292
 
    region: Canonical
293
 
    #os-data-network: 10.4.8.0/21
294
 
    #ceph-cluster-network: 10.4.0.0/21
295
 
    #prefer-ipv6: true
296
 
    openstack-origin: cloud:trusty-kilo
297
 
    source: cloud:trusty-kilo
298
 
    series: trusty
299
 
    ceph-osd-replication-count: 1
300
 
    admin-role: admin
301
 
    keystone-admin-role: admin
302
 
 
 
268
      charm: "local:trusty/openvswitch-onos"