Add Ansible roles for OpenStack network 51/109251/5
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 15 Jun 2020 14:29:35 +0000 (16:29 +0200)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 30 Jul 2020 09:02:56 +0000 (09:02 +0000)
commita879e2a54e0641b692202d417021f1824032b123
treebfd772a87544023cbe0315eebaa69d1fcaac6256
parent3d9bd5abfcb9bf55e3dd1b53cb3b6bc4bd45c0d1
Add Ansible roles for OpenStack network

This patch also adds Vagrant provisioners for creating and destroying
OpenStack infrastructure. These are set to never run (unless explicitly
called by the operator) because DevStack instance on a separate machine
might not be ready to provide OpenStack API.

This patch is based on previous work by:
Krzysztof Opasiak <k.opasiak@samsung.com>

Test harness is based on blog post [1] by:
Chris Morgan <me@chrismorgan.info>

[1] https://chrismorgan.info/blog/make-and-git-diff-test-harness

Issue-ID: INT-1601
Change-Id: I031ca7a5a43cca0258dc0dc9e0339182c431898a
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
19 files changed:
deployment/noheat/infra-openstack/HACKING
deployment/noheat/infra-openstack/ansible/create.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/destroy.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/group_vars/all.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_network/tasks/create_network.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_network/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/destroy_network.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/main.yml [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/Vagrantfile
deployment/noheat/infra-openstack/vagrant/config/clouds.yaml
deployment/noheat/infra-openstack/vagrant/test/Makefile [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/README [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/README.rst [new symlink]
deployment/noheat/infra-openstack/vagrant/test/create_network.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_network.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/create_network.test [new file with mode: 0755]
deployment/noheat/infra-openstack/vagrant/test/destroy_network.stderr [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_network.stdout [new file with mode: 0644]
deployment/noheat/infra-openstack/vagrant/test/destroy_network.test [new file with mode: 0755]