summaryrefslogtreecommitdiffstats
path: root/contrail-docker-bundle-ha-trusty.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'contrail-docker-bundle-ha-trusty.yaml')
-rw-r--r--contrail-docker-bundle-ha-trusty.yaml245
1 files changed, 245 insertions, 0 deletions
diff --git a/contrail-docker-bundle-ha-trusty.yaml b/contrail-docker-bundle-ha-trusty.yaml
new file mode 100644
index 0000000..a57c672
--- /dev/null
+++ b/contrail-docker-bundle-ha-trusty.yaml
@@ -0,0 +1,245 @@
+series: trusty
+services:
+ ubuntu:
+ charm: cs:trusty/ubuntu
+ num_units: 3
+ to: [ "1", "2", "3" ]
+ ntp:
+ charm: cs:trusty/ntp
+ num_units: 0
+ options:
+ source: ntp.juniper.net
+ mysql:
+ charm: cs:trusty/percona-cluster
+ options:
+ dataset-size: 15%
+ max-connections: 10000
+ root-password: password
+ sst-password: password
+ vip: 192.168.1.240
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ rabbitmq-server:
+ charm: cs:trusty/rabbitmq-server
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ keystone:
+ charm: cs:trusty/keystone
+ options:
+ admin-password: password
+ admin-role: admin
+ openstack-origin: cloud:trusty-mitaka
+ vip: 192.168.1.241
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ nova-cloud-controller:
+ charm: cs:trusty/nova-cloud-controller
+ options:
+ network-manager: Neutron
+ openstack-origin: cloud:trusty-mitaka
+ vip: 192.168.1.242
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ neutron-api:
+ charm: cs:trusty/neutron-api
+ options:
+ manage-neutron-plugin-legacy-mode: false
+ openstack-origin: cloud:trusty-mitaka
+ vip: 192.168.1.243
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ glance:
+ charm: cs:trusty/glance
+ options:
+ openstack-origin: cloud:trusty-mitaka
+ vip: 192.168.1.244
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ openstack-dashboard:
+ charm: cs:trusty/openstack-dashboard
+ options:
+ openstack-origin: cloud:trusty-mitaka
+ vip: 192.168.1.245
+ vip_cidr: 24
+ num_units: 3
+ to: [ "lxd:1", "lxd:2", "lxd:3" ]
+ nova-compute:
+ charm: cs:trusty/nova-compute
+ options:
+ openstack-origin: cloud:trusty-mitaka
+ num_units: 3
+ to: [ "4", "5", "6" ]
+ mysql-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ keystone-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ ncc-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ neutron-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ glance-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ dashboard-hacluster:
+ charm: cs:trusty/hacluster
+ options:
+ cluster_count: 3
+ num_units: 0
+ contrail-openstack:
+ charm: ./contrail-openstack
+ series: trusty
+ num_units: 0
+ options:
+ install-keys: |
+ - |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1
+
+ mQENBFZDkpsBCAC+T+UOOLUky331HZk8RbfF7mQ35nwH1PGl2vHM6RWdqayLK4aV
+ 1uUNGzI3UJw0YVCMmqJSlNfU58GhxEZ/cRbVjnZ6ebAIWRGepsMYWDlA960ornnL
+ VCRbr6yvHU06MSS8yl0X43QL2yGdBRiC5EAPEAawDOTMk0RxJ1AvMDHmnKommoQG
+ MWJ5zKL+fYSiNEPxQ2/nYd2jVXK4a1jP8c4LcvMdo8uxrEHklr/81wX+UKZYzuZP
+ bWQmiXiZzhQD2qz7IgZDaBKVEH4b2xMjilaPc2JOH0hHdP0M33PUOvCbpXQAYOok
+ kzqFpglZq1mZmM1ba6x37E07YpOvNWN0kE9DABEBAAG0CENvbnRyYWlsiQE4BBMB
+ AgAiBQJWQ5KbAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBmWWjLMSv5
+ wDrYB/4nMGcDVFRGU4tvIykhu/l6J6uNunpACL5HrdxC93PrThB2EgJXgnPpE/O+
+ KtjN2JKkSs4ehQy0wRMHc1eM/pQ1GRw4QV6vxO1FPT+y8BMdYkuwqd3uM22wg9mZ
+ yKvLtWBhMEu9nAPsTSVaT7Yw1z319Nr7JP+0mRCmlkLjuQUF2RcMwH59XH+8Lpev
+ MJEGdDcwWifPiO83ycBTQ760miz4B4inUWLYZ11lW/tXRSNG+o4QjemF5mWbPO+H
+ knwC/9eukDath9q7itLbJsDbam0/2KCTPxly1sk6E9hCNSIxlNT6ZnnnorLUoSqH
+ cTfEFYBDWmyhtqzHcfqocnBaPZT8
+ =rMS6
+ -----END PGP PUBLIC KEY BLOCK-----
+ install-sources: |
+ - "deb http://192.168.1.1:8080/contrail-openstack-neutron-api-pkgs/3065 /"
+ contrail-agent:
+ charm: ./contrail-agent
+ series: trusty
+ num_units: 0
+ options:
+ install-keys: |
+ - |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1
+
+ mQENBFZDkpsBCAC+T+UOOLUky331HZk8RbfF7mQ35nwH1PGl2vHM6RWdqayLK4aV
+ 1uUNGzI3UJw0YVCMmqJSlNfU58GhxEZ/cRbVjnZ6ebAIWRGepsMYWDlA960ornnL
+ VCRbr6yvHU06MSS8yl0X43QL2yGdBRiC5EAPEAawDOTMk0RxJ1AvMDHmnKommoQG
+ MWJ5zKL+fYSiNEPxQ2/nYd2jVXK4a1jP8c4LcvMdo8uxrEHklr/81wX+UKZYzuZP
+ bWQmiXiZzhQD2qz7IgZDaBKVEH4b2xMjilaPc2JOH0hHdP0M33PUOvCbpXQAYOok
+ kzqFpglZq1mZmM1ba6x37E07YpOvNWN0kE9DABEBAAG0CENvbnRyYWlsiQE4BBMB
+ AgAiBQJWQ5KbAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBmWWjLMSv5
+ wDrYB/4nMGcDVFRGU4tvIykhu/l6J6uNunpACL5HrdxC93PrThB2EgJXgnPpE/O+
+ KtjN2JKkSs4ehQy0wRMHc1eM/pQ1GRw4QV6vxO1FPT+y8BMdYkuwqd3uM22wg9mZ
+ yKvLtWBhMEu9nAPsTSVaT7Yw1z319Nr7JP+0mRCmlkLjuQUF2RcMwH59XH+8Lpev
+ MJEGdDcwWifPiO83ycBTQ760miz4B4inUWLYZ11lW/tXRSNG+o4QjemF5mWbPO+H
+ knwC/9eukDath9q7itLbJsDbam0/2KCTPxly1sk6E9hCNSIxlNT6ZnnnorLUoSqH
+ cTfEFYBDWmyhtqzHcfqocnBaPZT8
+ =rMS6
+ -----END PGP PUBLIC KEY BLOCK-----
+ install-sources: |
+ - "deb http://192.168.1.1:8080/contrail-openstack-neutron-api-pkgs/3065 /"
+ contrail-analytics:
+ charm: ./contrail-analytics
+ series: trusty
+ num_units: 3
+ to: [ "1", "2", "3" ]
+ contrail-analyticsdb:
+ charm: ./contrail-analyticsdb
+ series: trusty
+ num_units: 3
+ to: [ "1", "2", "3" ]
+ contrail-controller:
+ charm: ./contrail-controller
+ series: trusty
+ num_units: 3
+ to: [ "1", "2", "3" ]
+ contrail-keystone-auth:
+ charm: ./contrail-keystone-auth
+ series: trusty
+ num_units: 1
+ to: [ "lxd:1" ]
+
+relations:
+ # openstack
+ - [ "ubuntu", "ntp" ]
+ - [ mysql, mysql-hacluster ]
+ - [ "keystone", "mysql" ]
+ - [ keystone, keystone-hacluster ]
+ - [ "glance", "mysql" ]
+ - [ "glance", "keystone" ]
+ - [ glance, glance-hacluster ]
+ - [ "nova-cloud-controller", "mysql" ]
+ - [ "nova-cloud-controller", "rabbitmq-server" ]
+ - [ "nova-cloud-controller", "keystone" ]
+ - [ "nova-cloud-controller", "glance" ]
+ - [ nova-cloud-controller, ncc-hacluster ]
+ - [ "neutron-api", "mysql" ]
+ - [ "neutron-api", "rabbitmq-server" ]
+ - [ "neutron-api", "nova-cloud-controller" ]
+ - [ "neutron-api", "keystone" ]
+ - [ neutron-api, neutron-hacluster ]
+ - [ "nova-compute:shared-db", "mysql:shared-db" ]
+ - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
+ - [ "nova-compute", "glance" ]
+ - [ "nova-compute", "nova-cloud-controller" ]
+ - [ "nova-compute", "ntp" ]
+ - [ "openstack-dashboard", "keystone" ]
+ - [ openstack-dashboard, dashboard-hacluster ]
+
+ #contrail
+ - [ "contrail-keystone-auth", "keystone" ]
+ - [ "contrail-controller", "contrail-keystone-auth" ]
+ - [ "contrail-analytics", "contrail-analyticsdb" ]
+ - [ "contrail-controller", "contrail-analytics" ]
+ - [ "contrail-controller", "contrail-analyticsdb" ]
+ - [ "contrail-openstack", "nova-compute" ]
+ - [ "contrail-openstack", "neutron-api" ]
+ - [ "contrail-openstack", "contrail-controller" ]
+ - [ "contrail-agent:juju-info", "nova-compute:juju-info" ]
+ - [ "contrail-agent", "contrail-controller"]
+
+machines:
+ "1":
+ series: trusty
+ #constraints: mem=15G root-disk=40G
+ constraints: tags=contrail-controller-vm-1
+ "2":
+ series: trusty
+ #constraints: mem=15G root-disk=40G
+ constraints: tags=contrail-controller-vm-2
+ "3":
+ series: trusty
+ #constraints: mem=15G root-disk=40G
+ constraints: tags=contrail-controller-vm-3
+ "4":
+ series: trusty
+ #constraints: mem=4G root-disk=20G
+ constraints: tags=compute-storage-1
+ "5":
+ series: trusty
+ #constraints: mem=4G root-disk=20G
+ constraints: tags=compute-storage-2
+ "6":
+ series: trusty
+ #constraints: mem=4G root-disk=20G
+ constraints: tags=compute-storage-3