~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/nosdn/juju-deployer/ovs.yaml

  • Committer: Narinder Gupta
  • Date: 2015-12-05 01:38:59 UTC
  • Revision ID: git-v1:6c7fc201c56648de9622dffc48a3f47e81de9465
modified to comment the use of juju-br0 as external network.
Added option to install neutron-openswitch without ODL.
consolidated source files to common as all sdn share the s
same source for openstack and it can be modified during deployment.

Change-Id: I1df7f5cd5d928d170bc6be6b32c3404dbcb5fda3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
    "ceilometer":
 
32
      branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
 
33
      num_units: 1
 
34
      to:
 
35
        - "lxc:nodes-api=0"
 
36
    "ceilometer-agent":
 
37
      branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
 
38
    "mongodb":
 
39
      charm: "cs:trusty/mongodb"
 
40
      num_units: 1
 
41
      to:
 
42
        - "lxc:nodes-api=0"
 
43
    heat:
 
44
      branch: "lp:~openstack-charmers/charms/trusty/heat/next"
 
45
      to:
 
46
        - "lxc:nodes-api=0"
 
47
    ceph:
 
48
      charm: cs:trusty/ceph
 
49
      num_units: 1
 
50
      options:
 
51
        fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
 
52
        monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
 
53
        osd-devices: /srv
 
54
        monitor-count: 1        
 
55
#        osd-reformat: 'yes'
 
56
#        ceph-cluster-network: 192.168.0.0/24
 
57
#        ceph-public-network: 192.168.0.0/24
 
58
      to:
 
59
        - "nodes-compute=0"
 
60
#        - "nodes-compute=1"
 
61
#    ceph-osd:
 
62
#      charm: cs:trusty/ceph-osd
 
63
#      num_units: 1
 
64
#      options:
 
65
#        osd-devices: /srv
 
66
#        osd-reformat: 'yes'
 
67
#      to:
 
68
#        - "nodes-compute=0"
 
69
#    ceph-radosgw:
 
70
#      charm: cs:trusty/ceph-radosgw
 
71
#      num_units: 1
 
72
#      options:
 
73
#        use-embedded-webserver: true
 
74
#      to:
 
75
#        - "lxc:nodes-api=0"
 
76
    cinder:
 
77
      charm: cs:trusty/cinder
 
78
      num_units: 1
 
79
      options:
 
80
        block-device: None
 
81
        glance-api-version: 2
 
82
#        ha-mcastport: 5401
 
83
      to:
 
84
        - "lxc:nodes-api=0"
 
85
    cinder-ceph:
 
86
      charm: cs:trusty/cinder-ceph
 
87
    "rabbitmq-server": 
 
88
      branch: lp:charms/trusty/rabbitmq-server
 
89
      num_units: 1
 
90
      to:
 
91
        - "lxc:nodes-api=0"
 
92
    "keystone": 
 
93
      branch: lp:charms/trusty/keystone
 
94
      num_units: 1
 
95
      options: 
 
96
#        ha-mcastport: 5402
 
97
        "admin-password": openstack
 
98
        "admin-token": admin
 
99
      to:
 
100
        - "lxc:nodes-api=0"
 
101
    "openstack-dashboard": 
 
102
      branch: lp:charms/trusty/openstack-dashboard
 
103
      num_units: 1
 
104
      options: 
 
105
        secret: admin
 
106
        webroot: /
 
107
      to:
 
108
        - "lxc:nodes-api=0"
 
109
    "nova-compute": 
 
110
      branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
 
111
      num_units: 1
 
112
      options: 
 
113
        "enable-live-migration": False
 
114
        "manage-neutron-plugin-legacy-mode": False
 
115
      to:
 
116
        - "nodes-compute=0"
 
117
#        - "nodes-compute=1"
 
118
#        - "nodes-api=0"
 
119
#        - "nodes-api=1"
 
120
#        - "nodes-api=2"
 
121
    "nova-cloud-controller": 
 
122
      branch: lp:charms/trusty/nova-cloud-controller
 
123
      num_units: 1
 
124
      options: 
 
125
        "console-access-protocol": novnc
 
126
        "network-manager": Neutron
 
127
        "quantum-security-groups": "yes"
 
128
      to:
 
129
        - "lxc:nodes-api=0"
 
130
    "neutron-api": 
 
131
      branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
 
132
      num_units: 1
 
133
      options:
 
134
        neutron-security-groups: True
 
135
        manage-neutron-plugin-legacy-mode: False
 
136
      to: 
 
137
        - "lxc:nodes-api=0"
 
138
    neutron-gateway:
 
139
      branch: lp:charms/trusty/neutron-gateway
 
140
      options:
 
141
#        "ext-port": "eth1"
 
142
      to:  
 
143
        - "nodes-api=0"
 
144
    "glance": 
 
145
      branch: lp:charms/trusty/glance
 
146
      num_units: 1
 
147
      to:
 
148
        - "lxc:nodes-api=0"
 
149
    neutron-openvswitch:
 
150
      branch: lp:~openstack-charmers/charms/trusty/neutron-openvswitch/next
 
151
  relations:
 
152
    - - neutron-openvswitch:neutron-plugin-api
 
153
      - neutron-api:neutron-plugin-api
 
154
    - - nova-compute:neutron-plugin
 
155
      - neutron-openvswitch:neutron-plugin
 
156
    - - neutron-openvswitch:amqp
 
157
      - rabbitmq-server:amqp
 
158
    - - "keystone:shared-db"
 
159
      - "mysql:shared-db"
 
160
    - - "nova-cloud-controller:shared-db"
 
161
      - "mysql:shared-db"
 
162
    - - "nova-cloud-controller:amqp"
 
163
      - "rabbitmq-server:amqp"
 
164
    - - "nova-cloud-controller:image-service"
 
165
      - "glance:image-service"
 
166
    - - "nova-cloud-controller:identity-service"
 
167
      - "keystone:identity-service"
 
168
    - - "nova-cloud-controller:cloud-compute"
 
169
      - "nova-compute:cloud-compute"
 
170
    - - "nova-compute:amqp"
 
171
      - "rabbitmq-server:amqp"
 
172
    - - "nova-compute:image-service"
 
173
      - "glance:image-service"
 
174
    - - "glance:shared-db"
 
175
      - "mysql:shared-db"
 
176
    - - "glance:identity-service"
 
177
      - "keystone:identity-service"
 
178
    - - "glance:amqp"
 
179
      - "rabbitmq-server:amqp"
 
180
    - - "openstack-dashboard:identity-service"
 
181
      - "keystone:identity-service"
 
182
    - - "neutron-api:shared-db"
 
183
      - "mysql:shared-db"
 
184
    - - "neutron-api:amqp"
 
185
      - "rabbitmq-server:amqp"
 
186
    - - "nova-cloud-controller:neutron-api"
 
187
      - "neutron-api:neutron-api"
 
188
    - - "neutron-api:identity-service"
 
189
      - "keystone:identity-service"
 
190
    - - "neutron-gateway:amqp"
 
191
      - "rabbitmq-server:amqp"
 
192
    - - "neutron-gateway:neutron-plugin-api"
 
193
      - "neutron-api:neutron-plugin-api"
 
194
    - - "nova-cloud-controller:quantum-network-service"
 
195
      - "neutron-gateway:quantum-network-service"
 
196
    - - "ceilometer:amqp"
 
197
      - "rabbitmq-server:amqp"
 
198
    - - "ceilometer-agent:ceilometer-service"
 
199
      - "ceilometer:ceilometer-service"
 
200
    - - "ceilometer:identity-service"
 
201
      - "keystone:identity-service"
 
202
    - - "ceilometer:identity-notifications"
 
203
      - "keystone:identity-notifications"
 
204
    - - "ceilometer-agent:nova-ceilometer"
 
205
      - "nova-compute:nova-ceilometer"
 
206
    - - "ceilometer:shared-db"
 
207
      - "mongodb:database"
 
208
    - - "heat:shared-db"
 
209
      - "mysql:shared-db"
 
210
    - - "heat:identity-service"
 
211
      - "keystone:identity-service"
 
212
    - - "heat:amqp"
 
213
      - "rabbitmq-server:amqp"
 
214
    - - "cinder:image-service"
 
215
      - "glance:image-service"
 
216
    - - "cinder:amqp"
 
217
      - "rabbitmq-server:amqp"
 
218
    - - "cinder:identity-service"
 
219
      - "keystone:identity-service"
 
220
    - - "cinder:cinder-volume-service"
 
221
      - "nova-cloud-controller:cinder-volume-service"
 
222
    - - "cinder-ceph:storage-backend"
 
223
      - "cinder:storage-backend"
 
224
    - - "ceph:client"
 
225
      - "nova-compute:ceph"
 
226
    - - "cinder:shared-db"
 
227
      - "mysql:shared-db"
 
228
    - - "ceph:client"
 
229
      - "cinder-ceph:ceph"
 
230
    - - "ceph:client"
 
231
      - "glance:ceph"
 
232
#    - - ceph-osd:mon
 
233
#      - ceph:osd
 
234
#    - - ceph-radosgw:mon
 
235
#      - ceph:radosgw
 
236
#    - - ceph-radosgw:identity-service
 
237
#      - keystone:identity-service
 
238
trusty-liberty-nodes:
 
239
  inherits: openstack-phase1
 
240
  overrides:
 
241
    series: trusty
 
242
 
 
243
trusty-liberty:
 
244
  inherits: openstack-phase2
 
245
  overrides:
 
246
    #os-data-network: 10.4.8.0/21
 
247
    #prefer-ipv6: true
 
248
    region: Canonical
 
249
    source: "cloud:trusty-liberty"
 
250
    "openstack-origin": "cloud:trusty-liberty"
 
251
    series: trusty
 
252
    ceph-osd-replication-count: 1
 
253
 
 
254
trusty-kilo-nodes:
 
255
  inherits: openstack-phase1
 
256
  overrides:
 
257
    series: trusty
 
258
 
 
259
trusty-kilo:
 
260
  inherits: openstack-phase2
 
261
  overrides:
 
262
    #os-data-network: 10.4.8.0/21
 
263
    #prefer-ipv6: true
 
264
    region: Canonical
 
265
    source: "cloud:trusty-kilo"
 
266
    "openstack-origin": "cloud:trusty-kilo"
 
267
    series: trusty
 
268
    ceph-osd-replication-count: 1
 
269
 
 
270
 
 
271
trusty-juno-nodes:
 
272
  inherits: openstack-phase1
 
273
  overrides:
 
274
    series: trusty
 
275
 
 
276
trusty-juno:
 
277
  inherits: openstack-phase2
 
278
  overrides:
 
279
    #os-data-network: 10.4.8.0/21
 
280
    #prefer-ipv6: true
 
281
    region: Canonical
 
282
    source: "cloud:trusty-juno"
 
283
    "openstack-origin": "cloud:trusty-juno"
 
284
    series: trusty
 
285
    ceph-osd-replication-count: 1
 
286
 
 
287