case "$6" in
'trusty' )
sed -i -- "s|#source|source|g" ./bundles.yaml
+ sed -i -- "s|#source-branch:|source-branch:|g" ./bundles.yaml
;;
'xenial' )
#changing the target to the ubuntu distro we want to deploy.
sed -i -- "s|trusty|$6|g" ./bundles.yaml
- sed -i -- "s|source-branch:|#source-branch:|g" ./bundles.yaml
;;
esac
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
#ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
monitor-count: 3
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
# osd-reformat: 'yes'
# ceph-cluster-network: 192.168.0.0/24
# ceph-public-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
monitor-count: 2
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
# osd-reformat: 'yes'
# ceph-cluster-network: 192.168.0.0/24
# ceph-public-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=1"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 2
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=1"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
#ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 3
# osd-reformat: 'false'
# ceph-cluster-network: 192.168.0.0/24
- "lxc:nodes=1"
- "lxc:nodes=2"
opnfv-promise:
- branch: lp:~narindergupta/charms/trusty/promise/trunk
+ charm: local:trusty/promise
to:
- "lxc:nodes=0"
neutron-api-odl:
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 2
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
to:
- "lxc:nodes=1"
opnfv-promise:
- branch: lp:~narindergupta/charms/trusty/promise/trunk
+ charm: local:trusty/promise
to:
- "lxc:nodes=0"
neutron-api-odl:
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=1"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 2
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
to:
- "lxc:nodes=0"
opnfv-promise:
- branch: lp:~narindergupta/charms/trusty/promise/trunk
+ charm: local:trusty/promise
to:
- "lxc:nodes=1"
neutron-api-odl:
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
#ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 3
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 2
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
charm: "cs:trusty/ubuntu"
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
- osd-devices: ""
monitor-count: 2
# osd-reformat: 'no'
# ceph-cluster-network: 192.168.0.0/24
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes=0"
# vim: set ts=2 et:
trusty-mitaka-nodes:
inherits: openstack-phase1
- overrides:
- series: trusty
trusty-mitaka:
inherits: openstack-phase2
region: Canonical
#source: "cloud:trusty-mitaka"
openstack-origin: "cloud:trusty-mitaka"
- series: trusty
#ceph-osd-replication-count: 2
admin-role: admin
keystone-admin-role: admin
openstack-phase1:
- series: trusty
services:
nodes:
nodes:
congress:
charm: local:trusty/congress
options:
- source-charm: stable/mitaka
+ #source-charm: stable/mitaka
to:
- "lxc:nodes=0"
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes-api=0"
relations:
congress:
charm: local:trusty/congress
options:
- source-branch: stable/mitaka
+ #source-branch: stable/mitaka
to:
- "lxc:nodes-api=0"
relations: