~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
 
plumgrid-ons:
 
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
2
39
  series: 'trusty'
3
40
  relations:
4
41
    - ['mysql', 'keystone']
5
42
    - ['nova-cloud-controller', 'mysql']
6
 
    - [nova-cloud-controller, rabbitmq-server]
 
43
    - ['nova-cloud-controller', 'rabbitmq-server']
7
44
    - ['nova-cloud-controller', 'glance']
8
45
    - ['nova-cloud-controller', 'keystone']
9
46
    - ['nova-compute', 'nova-cloud-controller']
22
59
    - ['neutron-api', 'keystone']
23
60
    - ['neutron-api', 'rabbitmq-server']
24
61
    - ['neutron-api', 'nova-cloud-controller']
25
 
    - ['neutron-api', 'neutron-api-plumgrid']
 
62
    - ["neutron-api-plumgrid:plumgrid-configs", "plumgrid-director:plumgrid-configs"]
 
63
    - ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-plumgrid:neutron-plugin-api-subordinate']
26
64
    - ['neutron-api-plumgrid', 'plumgrid-edge']
 
65
    - ['neutron-api-plumgrid', 'keystone']
27
66
    - ['plumgrid-director', 'plumgrid-edge']
28
67
    - ['nova-compute', 'plumgrid-edge']
29
68
    - ['plumgrid-director', 'plumgrid-gateway']
30
69
  services:
31
70
    mysql:
32
 
      charm: cs:trusty/mysql-26
 
71
      charm: cs:trusty/percona-cluster-241
33
72
      num_units: 1
34
73
      annotations:
35
74
        "gui-x": "-250"
36
75
        "gui-y": "250"
37
 
      to: 'lxc:plumgrid-director=0'
 
76
      to: 'lxc:controller-node=0'
38
77
    rabbitmq-server:
39
 
      charm: cs:trusty/rabbitmq-server-33
 
78
      charm: cs:trusty/rabbitmq-server-43
40
79
      num_units: 1
41
80
      annotations:
42
81
        "gui-x": "-750"
43
82
        "gui-y": "250"
44
 
      to: 'lxc:plumgrid-director=0'
 
83
      to: 'lxc:controller-node=0'
45
84
    keystone:
46
 
      charm: cs:trusty/keystone-28
 
85
      charm: cs:trusty/keystone-253
47
86
      num_units: 1
48
87
      options:
49
88
        admin-password: plumgrid
50
 
        openstack-origin: cloud:trusty-kilo
 
89
        use-https: "no"
51
90
      annotations:
52
91
        "gui-x": "0"
53
92
        "gui-y": "0"
54
 
      to: 'lxc:plumgrid-director=0'
 
93
      to: 'lxc:controller-node=0'
55
94
    nova-cloud-controller:
56
 
      charm: cs:~openstack-charmers-next/trusty/nova-cloud-controller-1
 
95
      charm: cs:trusty/nova-cloud-controller-283
57
96
      num_units: 1
58
97
      options:
59
98
        console-access-protocol: novnc
60
99
        network-manager: Neutron
61
 
        openstack-origin: cloud:trusty-kilo
62
100
        quantum-security-groups: 'yes'
63
101
      annotations:
64
102
        "gui-x": "-500"
65
103
        "gui-y": "0"
66
 
      to: 'lxc:plumgrid-director=0'
 
104
      to: 'lxc:controller-node=0'
67
105
    glance:
68
 
      charm: cs:trusty/glance-24
 
106
      charm: cs:trusty/glance-248
69
107
      num_units: 1
70
 
      options:
71
 
        openstack-origin: cloud:trusty-kilo
72
108
      annotations:
73
109
        "gui-x": "-250"
74
110
        "gui-y": "-250"
75
 
      to: 'lxc:plumgrid-director=0'
 
111
      to: 'lxc:controller-node=0'
76
112
    openstack-dashboard:
77
 
      charm: cs:trusty/openstack-dashboard-16
 
113
      charm: cs:trusty/openstack-dashboard-238
78
114
      num_units: 1
79
 
      options:
80
 
        openstack-origin: cloud:trusty-kilo
81
115
      annotations:
82
116
        "gui-x": "0"
83
117
        "gui-y": "-500"
84
 
      to: 'lxc:plumgrid-director=0'
 
118
      to: 'lxc:controller-node=0'
85
119
    cinder:
86
 
      charm: cs:trusty/cinder-26
 
120
      charm: cs:trusty/cinder-252
87
121
      num_units: 1
88
 
      options:
89
 
        openstack-origin: cloud:trusty-kilo
90
122
      annotations:
91
123
        "gui-x": "250"
92
124
        "gui-y": "-250"
93
 
      to: 'lxc:plumgrid-director=0'
 
125
      to: 'lxc:controller-node=0'
94
126
    neutron-api:
95
 
      charm: cs:~openstack-charmers-next/trusty/neutron-api-1
 
127
      charm: cs:trusty/neutron-api-240
96
128
      num_units: 1
97
129
      options:
98
 
        neutron-plugin: plumgrid
99
130
        neutron-security-groups: True
100
 
        openstack-origin: cloud:trusty-kilo
101
 
        plumgrid-password: plumgrid
102
 
        plumgrid-username: plumgrid
103
 
        plumgrid-virtual-ip: 192.168.100.250
104
131
      annotations:
105
132
        "gui-x": "500"
106
133
        "gui-y": "0"
107
 
      to: 'lxc:plumgrid-director=0'
 
134
      to: 'lxc:controller-node=0'
108
135
    neutron-api-plumgrid:
109
 
      charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid
 
136
      charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid-18
110
137
      options:
111
 
        enable-metadata: True
112
 
        #install_sources: "deb http://37.48.126.173/ build413b18/"
 
138
        enable-metadata: "True"
113
139
      annotations:
114
140
        "gui-x": "750"
115
141
        "gui-y": "250"
116
142
    plumgrid-director:
117
 
      charm: cs:~plumgrid-team/trusty/plumgrid-director
 
143
      charm: cs:~plumgrid-team/trusty/plumgrid-director-30
118
144
      num_units: 1
119
145
      options:
120
 
        plumgrid-virtual-ip: 192.168.100.250
121
 
        #install_sources: "deb http://37.48.126.173/ build413b18/"
 
146
        plumgrid-password: plumgrid
 
147
        plumgrid-username: plumgrid
122
148
      annotations:
123
149
        "gui-x": "0"
124
150
        "gui-y": "500"
 
151
      to:
 
152
        - "controller-node=0"
125
153
    nova-compute:
126
 
      charm: cs:~openstack-charmers-next/trusty/nova-compute-1
127
 
      num_units: 1
 
154
      charm: cs:trusty/nova-compute-253
 
155
      num_units: 2
128
156
      options:
129
157
        enable-live-migration: true
130
158
        enable-resize: true
131
159
        migration-auth-type: ssh
132
 
        openstack-origin: cloud:trusty-kilo
133
 
        manage-neutron-plugin-legacy-mode: False
134
 
        #virt-type: qemu
 
160
        virt-type: qemu
135
161
      annotations:
136
162
        "gui-x": "250"
137
163
        "gui-y": "250"
138
 
      to: '0'
 
164
      to:
 
165
        - "compute-node=0"
139
166
    plumgrid-edge:
140
 
      charm: cs:~plumgrid-team/trusty/plumgrid-edge
141
 
      options:
142
 
        metadata-shared-key: "plumgrid"
143
 
        #install_sources: "deb http://37.48.126.173/ build413b18/"
 
167
      charm: cs:~plumgrid-team/trusty/plumgrid-edge-26
144
168
      annotations:
145
169
        "gui-x": "500"
146
170
        "gui-y": "500"
147
171
    plumgrid-gateway:
148
 
      charm: cs:~plumgrid-team/trusty/plumgrid-gateway
149
 
      #options:
150
 
        #install_sources: "deb http://37.48.126.173/ build413b18/"
 
172
      charm: cs:~plumgrid-team/trusty/plumgrid-gateway-26
151
173
      num_units: 1
152
174
      annotations:
153
175
        "gui-x": "-500"
154
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