PyTest, test to cover VM creation a ovs nets 18/2018/7
authormirabal <leonardo.mirabal@altran.com>
Thu, 6 Jul 2017 10:54:49 +0000 (05:54 -0500)
committermirabal <leonardo.mirabal@altran.com>
Thu, 10 Aug 2017 15:01:37 +0000 (10:01 -0500)
commit126e787a5795bc8294c0650e57188546fed8012e
tree078a64ab9a21f93d815a06dbdc20290bb309aeba
parent0ec17ecbd0aa7c6ac8d8b07f9886e0eec1128f09
PyTest, test to cover VM creation a ovs nets

- test_osm_01_create_vm -> add 2 host and create one vm with dhcp
- test_osm_02_create_2_vm_ping_btw -> add 2 host and create two vm with dhcp and check ping between both vm.
- test_osm_03_test_service_openvim -> restart a service and check net status

- The test regresion launch the repo service and use the openvim CLI client available in the repo.

Change-Id: I3cb3c047fbd871f6d3a0c152dc6643a3248835d6
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
22 files changed:
osm_openvim/host_thread.py
scripts/install-openvim.sh
setup.py
setup_lite.py
test/PY_TEST_README.rst [new file with mode: 0644]
test/__init__.py [new file with mode: 0644]
test/conftest.py [new file with mode: 0644]
test/fixtures/__init__.py [new file with mode: 0644]
test/fixtures/post/__init__.py [new file with mode: 0644]
test/fixtures/post/post_fixtures_delete.py [new file with mode: 0644]
test/fixtures/pre/__init__.py [new file with mode: 0644]
test/fixtures/pre/pre_fixtures_create.py [new file with mode: 0644]
test/flavors/cirros_flavor.yaml [new file with mode: 0644]
test/images/cirros_image.yaml [new file with mode: 0644]
test/lib/__init__.py [new file with mode: 0644]
test/lib/config_parser.py [new file with mode: 0644]
test/lib/ssh.py [new file with mode: 0644]
test/lib/test_utils.py [new file with mode: 0644]
test/servers/cirros_server_template.yaml [new file with mode: 0644]
test/tenants/test_tenant.yaml [new file with mode: 0644]
test/test_openvim_fake.yaml [new file with mode: 0644]
test/test_openvim_inf.py [new file with mode: 0644]