Template the bundle file
diff --git a/templates/cord.yaml b/templates/cord.yaml
new file mode 100644
index 0000000..1efb0b0
--- /dev/null
+++ b/templates/cord.yaml
@@ -0,0 +1,220 @@
+machines:
+ '1':
+ constraints: arch=amd64
+ '2':
+ constraints: arch=amd64
+ '3':
+ constraints: arch=amd64
+ '4':
+ constraints: arch=amd64
+ '5':
+ constraints: arch=amd64
+ '6':
+ constraints: arch=amd64
+ '7':
+ constraints: arch=amd64
+ '8':
+ constraints: arch=amd64
+ '9':
+ constraints: arch=amd64
+ '10':
+ constraints: arch=amd64
+relations:
+- - nova-compute:amqp
+ - rabbitmq-server:amqp
+- - keystone:shared-db
+ - mysql:shared-db
+- - nova-cloud-controller:identity-service
+ - keystone:identity-service
+- - glance:identity-service
+ - keystone:identity-service
+- - neutron-api:identity-service
+ - keystone:identity-service
+- - neutron-api:shared-db
+ - mysql:shared-db
+- - neutron-api:amqp
+ - rabbitmq-server:amqp
+- - glance:shared-db
+ - mysql:shared-db
+- - glance:amqp
+ - rabbitmq-server:amqp
+- - nova-cloud-controller:image-service
+ - glance:image-service
+- - nova-compute:image-service
+ - glance:image-service
+- - nova-cloud-controller:cloud-compute
+ - nova-compute:cloud-compute
+- - nova-cloud-controller:amqp
+ - rabbitmq-server:amqp
+- - openstack-dashboard:identity-service
+ - keystone:identity-service
+- - nova-cloud-controller:shared-db
+ - mysql:shared-db
+- - nova-cloud-controller:neutron-api
+ - neutron-api:neutron-api
+- - ntp:juju-info
+ - nova-compute:juju-info
+- - nagios
+ - nrpe
+- - mysql:juju-info
+ - nrpe:general-info
+- - rabbitmq-server
+ - nrpe
+- - keystone
+ - nrpe
+- - glance
+ - nrpe
+- - nova-cloud-controller
+ - nrpe
+- - openstack-dashboard
+ - nrpe
+- - neutron-api
+ - nrpe
+- - ceilometer
+ - mongodb
+- - ceilometer
+ - rabbitmq-server
+- - ceilometer:identity-service
+ - keystone:identity-service
+- - ceilometer:ceilometer-service
+ - ceilometer-agent:ceilometer-service
+- - ceilometer
+ - nagios
+- - ceilometer
+ - nrpe
+- - nova-compute
+ - nagios
+- - nova-compute
+ - nrpe
+- - nova-compute:nova-ceilometer
+ - ceilometer-agent:nova-ceilometer
+series: trusty
+services:
+ ceilometer:
+ charm: cs:trusty/ceilometer-17
+ num_units: 1
+ options:
+ openstack-origin: cloud:trusty-kilo
+ to:
+ - '7'
+ ceilometer-agent:
+ charm: cs:trusty/ceilometer-agent-13
+ num_units: 0
+ glance:
+ annotations:
+ gui-x: '250'
+ gui-y: '0'
+ charm: cs:trusty/glance-28
+ num_units: 1
+ options:
+ ha-mcastport: 5402
+ openstack-origin: cloud:trusty-kilo
+ to:
+ - '4'
+ keystone:
+ annotations:
+ gui-x: '500'
+ gui-y: '0'
+ charm: cs:trusty/keystone-33
+ num_units: 1
+ options:
+ admin-password: 'ADMIN_PASS'
+ ha-mcastport: 5403
+ https-service-endpoints: False
+ openstack-origin: cloud:trusty-kilo
+ use-https: no
+ to:
+ - '3'
+ mongodb:
+ charm: cs:trusty/mongodb-33
+ num_units: 1
+ to:
+ - '7'
+ mysql:
+ annotations:
+ gui-x: '0'
+ gui-y: '250'
+ charm: cs:trusty/percona-cluster-31
+ num_units: 1
+ options:
+ max-connections: 20000
+ to:
+ - '1'
+ nagios:
+ charm: cs:trusty/nagios-10
+ num_units: 1
+ to:
+ - '8'
+ neutron-api:
+ annotations:
+ gui-x: '500'
+ gui-y: '500'
+ charm: cs:~cordteam/trusty/neutron-api-1
+ num_units: 1
+ options:
+ neutron-plugin: onosvtn
+ onos-vtn-ip: {{ onos_cord_ip.stdout }}
+ neutron-security-groups: true
+ openstack-origin: cloud:trusty-kilo
+ overlay-network-type: vxlan
+ to:
+ - '9'
+ nova-cloud-controller:
+ annotations:
+ gui-x: '0'
+ gui-y: '500'
+ charm: cs:trusty/nova-cloud-controller-64
+ num_units: 1
+ options:
+ config-flags: "force_config_drive=always"
+ console-access-protocol: novnc
+ network-manager: Neutron
+ openstack-origin: cloud:trusty-kilo
+ #quantum-security-groups: 'yes'
+ to:
+ - '5'
+ nova-compute:
+ annotations:
+ gui-x: '250'
+ gui-y: '250'
+ charm: cs:trusty/nova-compute-33
+ num_units: 1
+ options:
+ config-flags: firewall_driver=nova.virt.firewall.NoopFirewallDriver
+ disable-neutron-security-groups: True
+ #enable-live-migration: true
+ #enable-resize: true
+ #migration-auth-type: ssh
+ openstack-origin: cloud:trusty-kilo
+ #manage-neutron-plugin-legacy-mode: False
+ to:
+ - '10'
+ nrpe:
+ charm: cs:trusty/nrpe-4
+ num_units: 0
+ ntp:
+ annotations:
+ gui-x: '1000'
+ gui-y: '0'
+ charm: cs:trusty/ntp-14
+ num_units: 0
+ openstack-dashboard:
+ annotations:
+ gui-x: '500'
+ gui-y: '-250'
+ charm: cs:trusty/openstack-dashboard-19
+ num_units: 1
+ options:
+ openstack-origin: cloud:trusty-kilo
+ to:
+ - '6'
+ rabbitmq-server:
+ annotations:
+ gui-x: '500'
+ gui-y: '250'
+ charm: cs:trusty/rabbitmq-server-42
+ num_units: 1
+ options:
+ ssl: 'off'
+ to:
+ - '2'