Adds ability to deploy from upstream openstack 95/41795/25
authorTim Rozet <trozet@redhat.com>
Tue, 12 Sep 2017 21:32:56 +0000 (17:32 -0400)
committerTim Rozet <trozet@redhat.com>
Mon, 6 Nov 2017 04:35:02 +0000 (04:35 +0000)
commitb3c610b205f88dddb02cdac39638c52eafaaf82c
tree4826027e2d968e61c8024d972f3665ff3a8a09d7
parent3c7556eb0734706f28588fb952eedea2d424c6d2
Adds ability to deploy from upstream openstack

To deploy with upstream openstack branch, use new deploy setting 'os_version'.
A default scenario file for nosdn with pike has been included in this patch.
If 'os_version' is a version other than the default version for this OPNFV
release, then upstream is used.

In order to use upstream with the current OS version use '--upstream'
argument to the deploy command, to force an upstream deployment.

Also include '-e upstream-environment.yaml' to use default upstream
deployment settings.

Supports nosdn and odl-nofeature deployments.

Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69
Signed-off-by: Tim Rozet <trozet@redhat.com>
28 files changed:
apex/build_utils.py
apex/builders/__init__.py [new file with mode: 0644]
apex/builders/common_builder.py [new file with mode: 0644]
apex/builders/overcloud_builder.py [new file with mode: 0644]
apex/builders/undercloud_builder.py [new file with mode: 0644]
apex/common/constants.py
apex/common/utils.py
apex/deploy.py
apex/network/network_data.py [new file with mode: 0644]
apex/network/network_environment.py
apex/overcloud/deploy.py
apex/settings/deploy_settings.py
apex/tests/test_apex_common_builder.py [new file with mode: 0644]
apex/tests/test_apex_common_utils.py
apex/tests/test_apex_deploy.py
apex/tests/test_apex_network_data.py [new file with mode: 0644]
apex/tests/test_apex_overcloud_builder.py [new file with mode: 0644]
apex/tests/test_apex_undercloud_builder.py [new file with mode: 0644]
apex/undercloud/undercloud.py
build/network-environment.yaml
build/opnfv-environment.yaml
build/rpm_specs/opnfv-apex-common.spec
build/upstream-environment.yaml [new file with mode: 0644]
config/deploy/os-nosdn-pike-noha.yaml [new file with mode: 0644]
config/deploy/os-odl-pike-noha.yaml [new file with mode: 0644]
lib/ansible/playbooks/deploy_overcloud.yml
requirements.txt
setup.cfg