diff options
author | Narinder Gupta <narinder.gupta@canoncial.com> | 2015-08-20 15:08:19 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canoncial.com> | 2015-08-26 09:35:04 -0500 |
commit | 62101c28c8245ebe97c548669c27cd2899cbfbab (patch) | |
tree | 1532976f0f1ae5247ee7b526d51d55d13ee02fb2 /ci/intel/pod5/kilo/odl | |
parent | 4be26ea349cb89643530d3510130db2cdc133ec8 (diff) |
Added a script to have a openstack with odl bundle.
Crate files which will get used by CI to build and
deploy the OPNFV platform using JOID. Added script to deploy
master branch of openstack with Ubuntu with ODL.
deploy.sh will copy the appropriate deploy.sh ad deployopnfv.sh and
run the scripts.
Change-Id: Ia1fd744d36bd153def4ef6aab4643cf440e90206
JIRA:JOID-1
Diffstat (limited to 'ci/intel/pod5/kilo/odl')
-rw-r--r-- | ci/intel/pod5/kilo/odl/deploy.sh | 14 | ||||
-rw-r--r-- | ci/intel/pod5/kilo/odl/environment.yaml | 36 | ||||
-rw-r--r-- | ci/intel/pod5/kilo/odl/ha/deploy.sh | 13 | ||||
-rw-r--r-- | ci/intel/pod5/kilo/odl/ha/environment.yaml | 36 | ||||
-rw-r--r-- | ci/intel/pod5/kilo/odl/ha/ovs-odl.yaml | 101 | ||||
-rw-r--r-- | ci/intel/pod5/kilo/odl/ovs-odl.yaml | 101 |
6 files changed, 301 insertions, 0 deletions
diff --git a/ci/intel/pod5/kilo/odl/deploy.sh b/ci/intel/pod5/kilo/odl/deploy.sh new file mode 100644 index 00000000..1c80d978 --- /dev/null +++ b/ci/intel/pod5/kilo/odl/deploy.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#placeholder for deployment script. +set -ex + +cp intel/pod5/kilo/odl/ovs-odl.yaml ./ + +echo "... Deployment Started ...." + +JUJU_REPOSITORY= +juju set-constraints tags= + +juju-deployer -d -r 13 -c ovs-odl.yaml trusty-kilo + +echo "... Deployment finished ...." diff --git a/ci/intel/pod5/kilo/odl/environment.yaml b/ci/intel/pod5/kilo/odl/environment.yaml new file mode 100644 index 00000000..10f7637b --- /dev/null +++ b/ci/intel/pod5/kilo/odl/environment.yaml @@ -0,0 +1,36 @@ +default: maas +environments: + # https://juju.ubuntu.com/docs/config-maas.html + maas: + type: maas + + # maas-server specifies the location of the MAAS server. It must + # specify the base path. + # + maas-server: 'http://10.4.1.1/MAAS/' + + # maas-oauth holds the OAuth credentials from MAAS. + # + maas-oauth: 'c6tcQz4tyS3ALajCtF:sqcWhw8MkxTjUDLZrm:hBhszBLv5EqrY8h6yktFXWUT5825ShvE' + + # maas-server bootstrap ssh connection options + # + + # bootstrap-timeout time to wait contacting a state server, in seconds. + bootstrap-timeout: 1800 + admin-secret: admin + + # Whether or not to refresh the list of available updates for an + # OS. The default option of true is recommended for use in + # production systems, but disabling this can speed up local + # deployments for development or testing. + # + enable-os-refresh-update: false + + # Whether or not to perform OS upgrades when machines are + # provisioned. The default option of true is recommended for use + # in production systems, but disabling this can speed up local + # deployments for development or testing. + # + enable-os-upgrade: false + diff --git a/ci/intel/pod5/kilo/odl/ha/deploy.sh b/ci/intel/pod5/kilo/odl/ha/deploy.sh new file mode 100644 index 00000000..5e8044be --- /dev/null +++ b/ci/intel/pod5/kilo/odl/ha/deploy.sh @@ -0,0 +1,13 @@ +#!/bin/bash +#placeholder for deployment script. +set -ex + +cp intel/pod5/kilo/odl/ha/ovs-odl.yaml ./ + +echo "Deployment Started ...." + +JUJU_REPOSITORY= +juju set-constraints tags= +juju-deployer -d -r 13 -c ovs-odl.yaml trusty-kilo + +echo "... Deployment finished" diff --git a/ci/intel/pod5/kilo/odl/ha/environment.yaml b/ci/intel/pod5/kilo/odl/ha/environment.yaml new file mode 100644 index 00000000..10f7637b --- /dev/null +++ b/ci/intel/pod5/kilo/odl/ha/environment.yaml @@ -0,0 +1,36 @@ +default: maas +environments: + # https://juju.ubuntu.com/docs/config-maas.html + maas: + type: maas + + # maas-server specifies the location of the MAAS server. It must + # specify the base path. + # + maas-server: 'http://10.4.1.1/MAAS/' + + # maas-oauth holds the OAuth credentials from MAAS. + # + maas-oauth: 'c6tcQz4tyS3ALajCtF:sqcWhw8MkxTjUDLZrm:hBhszBLv5EqrY8h6yktFXWUT5825ShvE' + + # maas-server bootstrap ssh connection options + # + + # bootstrap-timeout time to wait contacting a state server, in seconds. + bootstrap-timeout: 1800 + admin-secret: admin + + # Whether or not to refresh the list of available updates for an + # OS. The default option of true is recommended for use in + # production systems, but disabling this can speed up local + # deployments for development or testing. + # + enable-os-refresh-update: false + + # Whether or not to perform OS upgrades when machines are + # provisioned. The default option of true is recommended for use + # in production systems, but disabling this can speed up local + # deployments for development or testing. + # + enable-os-upgrade: false + diff --git a/ci/intel/pod5/kilo/odl/ha/ovs-odl.yaml b/ci/intel/pod5/kilo/odl/ha/ovs-odl.yaml new file mode 100644 index 00000000..8da98659 --- /dev/null +++ b/ci/intel/pod5/kilo/odl/ha/ovs-odl.yaml @@ -0,0 +1,101 @@ +openstack-services: + series: trusty + services: + ubuntu: + branch: "lp:charms/trusty/ubuntu" + num_utils: 1 + constraints: tags=physical + neutron-gateway: + branch: lp:~sdn-charmers/charms/trusty/neutron-gateway/ovs-odl + constraints: tags=neutron + options: + plugin: ovs-odl + instance-mtu: 1400 + nova-compute: + branch: lp:~openstack-charmers/charms/trusty/nova-compute/next + num_units: 2 + constraints: tags=physical + options: + enable-live-migration: False + manage-neutron-plugin-legacy-mode: False + neutron-api: + branch: lp:~openstack-charmers/charms/trusty/neutron-api/next + options: + neutron-security-groups: False + manage-neutron-plugin-legacy-mode: False + to: lxc:ubuntu=0 + neutron-api-odl: + branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp + options: + overlay-network-type: 'vxlan gre' + security-groups: true + odl-controller: + branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk + options: + install-url: "http://10.4.1.1/odl/distribution-karaf-0.2.4-Helium-SR4.tar.gz" + to: lxc:ubuntu=0 + openvswitch-odl: + charm: local:trusty/openvswitch-odl + mysql: + charm: cs:trusty/mysql + options: + dataset-size: 50% + max-connections: 20000 + to: lxc:ubuntu=0 + rabbitmq-server: + charm: cs:trusty/rabbitmq-server + to: lxc:ubuntu=0 + keystone: + charm: cs:trusty/keystone + options: + admin-password: openstack + admin-token: admin + to: lxc:ubuntu=0 + openstack-dashboard: + charm: cs:trusty/openstack-dashboard + to: lxc:ubuntu=0 + nova-cloud-controller: + charm: cs:trusty/nova-cloud-controller + options: + network-manager: Neutron + quantum-security-groups: "yes" + to: lxc:ubuntu=0 + glance: + charm: cs:trusty/glance + to: lxc:ubuntu=0 + relations: + - ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-odl:neutron-plugin-api-subordinate'] + - ['nova-compute:neutron-plugin', 'openvswitch-odl:neutron-plugin'] + - ['neutron-gateway', 'openvswitch-odl'] + - ['openvswitch-odl:ovsdb-manager', 'odl-controller:ovsdb-manager'] + - ['neutron-api-odl:odl-controller', 'odl-controller:controller-api'] + - ['keystone:shared-db', 'mysql:shared-db'] + - ['nova-cloud-controller:shared-db', 'mysql:shared-db'] + - ['nova-cloud-controller:amqp', 'rabbitmq-server:amqp'] + - ['nova-cloud-controller:image-service', 'glance:image-service'] + - ['nova-cloud-controller:identity-service', 'keystone:identity-service'] + - ['nova-compute:cloud-compute', 'nova-cloud-controller:cloud-compute'] + - ['nova-compute:amqp', 'rabbitmq-server:amqp'] + - ['nova-compute:image-service', 'glance:image-service'] + - ['glance:shared-db', 'mysql:shared-db'] + - ['glance:identity-service', 'keystone:identity-service'] + - ['glance:amqp', 'rabbitmq-server:amqp'] + - ['neutron-api:shared-db', 'mysql:shared-db'] + - ['neutron-api:amqp', 'rabbitmq-server:amqp'] + - ['neutron-api:neutron-api', 'nova-cloud-controller:neutron-api'] + - ['neutron-api:identity-service', 'keystone:identity-service'] + - ['neutron-gateway:amqp', 'rabbitmq-server:amqp'] + - ['neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api'] + - ['neutron-gateway:quantum-network-service', 'nova-cloud-controller:quantum-network-service'] + - ['openstack-dashboard:identity-service','keystone:identity-service'] +trusty-kilo: + inherits: openstack-services + overrides: + openstack-origin: cloud:trusty-kilo +trusty-juno: + inherits: openstack-services + overrides: + openstack-origin: cloud:trusty-juno +trusty-icehouse: + inherits: openstack-services + diff --git a/ci/intel/pod5/kilo/odl/ovs-odl.yaml b/ci/intel/pod5/kilo/odl/ovs-odl.yaml new file mode 100644 index 00000000..8da98659 --- /dev/null +++ b/ci/intel/pod5/kilo/odl/ovs-odl.yaml @@ -0,0 +1,101 @@ +openstack-services: + series: trusty + services: + ubuntu: + branch: "lp:charms/trusty/ubuntu" + num_utils: 1 + constraints: tags=physical + neutron-gateway: + branch: lp:~sdn-charmers/charms/trusty/neutron-gateway/ovs-odl + constraints: tags=neutron + options: + plugin: ovs-odl + instance-mtu: 1400 + nova-compute: + branch: lp:~openstack-charmers/charms/trusty/nova-compute/next + num_units: 2 + constraints: tags=physical + options: + enable-live-migration: False + manage-neutron-plugin-legacy-mode: False + neutron-api: + branch: lp:~openstack-charmers/charms/trusty/neutron-api/next + options: + neutron-security-groups: False + manage-neutron-plugin-legacy-mode: False + to: lxc:ubuntu=0 + neutron-api-odl: + branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp + options: + overlay-network-type: 'vxlan gre' + security-groups: true + odl-controller: + branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk + options: + install-url: "http://10.4.1.1/odl/distribution-karaf-0.2.4-Helium-SR4.tar.gz" + to: lxc:ubuntu=0 + openvswitch-odl: + charm: local:trusty/openvswitch-odl + mysql: + charm: cs:trusty/mysql + options: + dataset-size: 50% + max-connections: 20000 + to: lxc:ubuntu=0 + rabbitmq-server: + charm: cs:trusty/rabbitmq-server + to: lxc:ubuntu=0 + keystone: + charm: cs:trusty/keystone + options: + admin-password: openstack + admin-token: admin + to: lxc:ubuntu=0 + openstack-dashboard: + charm: cs:trusty/openstack-dashboard + to: lxc:ubuntu=0 + nova-cloud-controller: + charm: cs:trusty/nova-cloud-controller + options: + network-manager: Neutron + quantum-security-groups: "yes" + to: lxc:ubuntu=0 + glance: + charm: cs:trusty/glance + to: lxc:ubuntu=0 + relations: + - ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-odl:neutron-plugin-api-subordinate'] + - ['nova-compute:neutron-plugin', 'openvswitch-odl:neutron-plugin'] + - ['neutron-gateway', 'openvswitch-odl'] + - ['openvswitch-odl:ovsdb-manager', 'odl-controller:ovsdb-manager'] + - ['neutron-api-odl:odl-controller', 'odl-controller:controller-api'] + - ['keystone:shared-db', 'mysql:shared-db'] + - ['nova-cloud-controller:shared-db', 'mysql:shared-db'] + - ['nova-cloud-controller:amqp', 'rabbitmq-server:amqp'] + - ['nova-cloud-controller:image-service', 'glance:image-service'] + - ['nova-cloud-controller:identity-service', 'keystone:identity-service'] + - ['nova-compute:cloud-compute', 'nova-cloud-controller:cloud-compute'] + - ['nova-compute:amqp', 'rabbitmq-server:amqp'] + - ['nova-compute:image-service', 'glance:image-service'] + - ['glance:shared-db', 'mysql:shared-db'] + - ['glance:identity-service', 'keystone:identity-service'] + - ['glance:amqp', 'rabbitmq-server:amqp'] + - ['neutron-api:shared-db', 'mysql:shared-db'] + - ['neutron-api:amqp', 'rabbitmq-server:amqp'] + - ['neutron-api:neutron-api', 'nova-cloud-controller:neutron-api'] + - ['neutron-api:identity-service', 'keystone:identity-service'] + - ['neutron-gateway:amqp', 'rabbitmq-server:amqp'] + - ['neutron-gateway:neutron-plugin-api', 'neutron-api:neutron-plugin-api'] + - ['neutron-gateway:quantum-network-service', 'nova-cloud-controller:quantum-network-service'] + - ['openstack-dashboard:identity-service','keystone:identity-service'] +trusty-kilo: + inherits: openstack-services + overrides: + openstack-origin: cloud:trusty-kilo +trusty-juno: + inherits: openstack-services + overrides: + openstack-origin: cloud:trusty-juno +trusty-icehouse: + inherits: openstack-services + |