~plumgrid-team/charms/bundles/plumgrid-ons/single-controller

« back to all changes in this revision

Viewing changes to bundle-cli.yaml

  • Committer: bbaqar at plumgrid
  • Date: 2016-05-26 19:19:01 UTC
  • mfrom: (20.1.14 single-controller)
  • Revision ID: bbaqar@plumgrid.com-20160526191901-gfcm3vifr1trz1p6
ChangesĀ forĀ 4.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This bundle file containts the following bundles:
 
2
# 1. plumgrid-ons-phase1:
 
3
#        This bundle deploys 4 nodes in total:
 
4
#            - 2 x Compute
 
5
#            - 1 x Controller
 
6
#            - 1 x Gateways
 
7
#        Please note that the JUJU Bootstrap node is a seperate node
 
8
#        This bundle waits for all the nodes to be deployed before it exits
 
9
#
 
10
# 2. plumgrid-ons-phase2:
 
11
#        This bundle deploys all the required charms to bring up OpenStack with PLUMgrid
 
12
#
 
13
# 3. plumgrid-configs:
 
14
#        This bundle overwrites the configs in plumgrid-ons-phase2
 
15
#
 
16
# 4. plumgrid-kilo:
 
17
#        This bundle overwrites the source and openstack-origin configs to deploy OpenStack Kilo with PLUMgrid
 
18
#
 
19
# 5. plumgrid-liberty:
 
20
#        This bundle overwrites the source and openstack-origin configs to deploy OpenStack Liberty with PLUMgrid
 
21
 
 
22
plumgrid-ons-phase1:
 
23
  series: trusty
 
24
  services:
 
25
    controller-node:
 
26
      charm: "cs:trusty/ubuntu"
 
27
      num_units: 1
 
28
      constraints: tags=controller
 
29
    compute-node:
 
30
      charm: "cs:trusty/ubuntu"
 
31
      num_units: 2
 
32
      constraints: tags=compute
 
33
    gateway-node:
 
34
      charm: "cs:trusty/ubuntu"
 
35
      num_units: 1
 
36
      constraints: tags=gateway
 
37
plumgrid-ons-phase2:
 
38
  inherits: plumgrid-ons-phase1
 
39
  series: 'trusty'
 
40
  relations:
 
41
    - ['mysql', 'keystone']
 
42
    - ['nova-cloud-controller', 'mysql']
 
43
    - ['nova-cloud-controller', 'rabbitmq-server']
 
44
    - ['nova-cloud-controller', 'glance']
 
45
    - ['nova-cloud-controller', 'keystone']
 
46
    - ['nova-compute', 'nova-cloud-controller']
 
47
    - ['nova-compute', 'mysql']
 
48
    - ['nova-compute', 'rabbitmq-server']
 
49
    - ['nova-compute', 'glance']
 
50
    - ['glance', 'mysql']
 
51
    - ['glance', 'keystone']
 
52
    - ['glance', 'cinder']
 
53
    - ['mysql', 'cinder']
 
54
    - ['cinder', 'rabbitmq-server']
 
55
    - ['cinder', 'nova-cloud-controller']
 
56
    - ['cinder', 'keystone']
 
57
    - ['openstack-dashboard', 'keystone']
 
58
    - ['neutron-api', 'mysql']
 
59
    - ['neutron-api', 'keystone']
 
60
    - ['neutron-api', 'rabbitmq-server']
 
61
    - ['neutron-api', 'nova-cloud-controller']
 
62
    - ["neutron-api-plumgrid:plumgrid-configs", "plumgrid-director:plumgrid-configs"]
 
63
    - ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-plumgrid:neutron-plugin-api-subordinate']
 
64
    - ['neutron-api-plumgrid', 'plumgrid-edge']
 
65
    - ['neutron-api-plumgrid', 'keystone']
 
66
    - ['plumgrid-director', 'plumgrid-edge']
 
67
    - ['nova-compute', 'plumgrid-edge']
 
68
    - ['plumgrid-director', 'plumgrid-gateway']
 
69
  services:
 
70
    mysql:
 
71
      charm: cs:trusty/percona-cluster-241
 
72
      num_units: 1
 
73
      annotations:
 
74
        "gui-x": "-250"
 
75
        "gui-y": "250"
 
76
      to: 'lxc:controller-node=0'
 
77
    rabbitmq-server:
 
78
      charm: cs:trusty/rabbitmq-server-43
 
79
      num_units: 1
 
80
      annotations:
 
81
        "gui-x": "-750"
 
82
        "gui-y": "250"
 
83
      to: 'lxc:controller-node=0'
 
84
    keystone:
 
85
      charm: cs:trusty/keystone-253
 
86
      num_units: 1
 
87
      options:
 
88
        admin-password: plumgrid
 
89
        use-https: "no"
 
90
      annotations:
 
91
        "gui-x": "0"
 
92
        "gui-y": "0"
 
93
      to: 'lxc:controller-node=0'
 
94
    nova-cloud-controller:
 
95
      charm: cs:trusty/nova-cloud-controller-283
 
96
      num_units: 1
 
97
      options:
 
98
        console-access-protocol: novnc
 
99
        network-manager: Neutron
 
100
        quantum-security-groups: 'yes'
 
101
      annotations:
 
102
        "gui-x": "-500"
 
103
        "gui-y": "0"
 
104
      to: 'lxc:controller-node=0'
 
105
    glance:
 
106
      charm: cs:trusty/glance-248
 
107
      num_units: 1
 
108
      annotations:
 
109
        "gui-x": "-250"
 
110
        "gui-y": "-250"
 
111
      to: 'lxc:controller-node=0'
 
112
    openstack-dashboard:
 
113
      charm: cs:trusty/openstack-dashboard-238
 
114
      num_units: 1
 
115
      annotations:
 
116
        "gui-x": "0"
 
117
        "gui-y": "-500"
 
118
      to: 'lxc:controller-node=0'
 
119
    cinder:
 
120
      charm: cs:trusty/cinder-252
 
121
      num_units: 1
 
122
      annotations:
 
123
        "gui-x": "250"
 
124
        "gui-y": "-250"
 
125
      to: 'lxc:controller-node=0'
 
126
    neutron-api:
 
127
      charm: cs:trusty/neutron-api-240
 
128
      num_units: 1
 
129
      options:
 
130
        neutron-security-groups: True
 
131
      annotations:
 
132
        "gui-x": "500"
 
133
        "gui-y": "0"
 
134
      to: 'lxc:controller-node=0'
 
135
    neutron-api-plumgrid:
 
136
      charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid-18
 
137
      options:
 
138
        enable-metadata: "True"
 
139
      annotations:
 
140
        "gui-x": "750"
 
141
        "gui-y": "250"
 
142
    plumgrid-director:
 
143
      charm: cs:~plumgrid-team/trusty/plumgrid-director-30
 
144
      num_units: 1
 
145
      options:
 
146
        plumgrid-password: plumgrid
 
147
        plumgrid-username: plumgrid
 
148
      annotations:
 
149
        "gui-x": "0"
 
150
        "gui-y": "500"
 
151
      to:
 
152
        - "controller-node=0"
 
153
    nova-compute:
 
154
      charm: cs:trusty/nova-compute-253
 
155
      num_units: 2
 
156
      options:
 
157
        enable-live-migration: true
 
158
        enable-resize: true
 
159
        migration-auth-type: ssh
 
160
        virt-type: qemu
 
161
      annotations:
 
162
        "gui-x": "250"
 
163
        "gui-y": "250"
 
164
      to:
 
165
        - "compute-node=0"
 
166
    plumgrid-edge:
 
167
      charm: cs:~plumgrid-team/trusty/plumgrid-edge-26
 
168
      annotations:
 
169
        "gui-x": "500"
 
170
        "gui-y": "500"
 
171
    plumgrid-gateway:
 
172
      charm: cs:~plumgrid-team/trusty/plumgrid-gateway-26
 
173
      num_units: 1
 
174
      annotations:
 
175
        "gui-x": "-500"
 
176
        "gui-y": "500"
 
177
      to:
 
178
        - "gateway-node=0"
 
179
 
 
180
plumgrid-configs:
 
181
  inherits: plumgrid-ons-phase2
 
182
  overrides:
 
183
    plumgrid-virtual-ip: 192.168.100.250
 
184
    manage-neutron-plugin-legacy-mode: False
 
185
 
 
186
    # Provide apt repository for PLUMgrid packages
 
187
    install_sources: "deb http://37.48.126.173/ build413b18/"
 
188
 
 
189
    # Use this value if pulling packages from LCM
 
190
    #install_sources: |
 
191
    #      - "deb http://192.168.100.5:81/plumgrid plumgrid fuji-413-maki"
 
192
    #      - "deb http://192.168.100.5:81/plumgrid-images plumgrid fuji-413-maki"
 
193
 
 
194
    #plumgrid-build:
 
195
    #iovisor-build:
 
196
 
 
197
    # Interfaces on gateway node for external connectivity
 
198
    #external-interfaces: '{"DEFAULT":"eth2"}'
 
199
 
 
200
    # Uncomment for seperate fabric/data network
 
201
    # Interfaces on all PLUMgrid nodes connected to fabric/data network
 
202
    #fabric-interfaces: '{"DEFAULT":"eth1"}'
 
203
    # Fabric/data network
 
204
    #os-data-network: "192.168.202.0/24"
 
205
 
 
206
plumgrid-kilo:
 
207
  inherits: plumgrid-configs
 
208
  overrides:
 
209
    source: cloud:trusty-kilo
 
210
    openstack-origin: cloud:trusty-kilo
 
211
 
 
212
plumgrid-liberty:
 
213
  inherits: plumgrid-configs
 
214
  overrides:
 
215
    source: cloud:trusty-liberty
 
216
    openstack-origin: cloud:trusty-liberty