| mirabal | 126e787 | 2017-07-06 05:54:49 -0500 | [diff] [blame] | 1 | For launch openvim pytest regresion: |
| 2 | |
| 3 | pytest -v -s test/test_openvim_inf.py --config=test/test_openvim_fake.yaml |
| 4 | |
| 5 | The regresion must be launch from an user included in the visudo. |
| 6 | If the regression will be use real infrastructure (fake_mode=False) create a new yaml or modify |
| 7 | the existing template -> test/test_openvim_fake.yaml |
| 8 | |
| 9 | |
| 10 | test.yaml example: |
| 11 | |
| 12 | --- |
| 13 | host: |
| 14 | host_1: <path_to_host_descriptor_1> |
| 15 | host_2: <path_to_host_descriptor_1> |
| 16 | host_n: <path_to_host_descriptor_1> |
| 17 | tenant: test/tenants/test_tenant.yaml |
| 18 | flavor: test/flavors/cirros_flavor.yaml |
| 19 | image: <path_to_iamge_descriptor> |
| 20 | server: test/servers/cirros_server_template.yaml |
| 21 | net: test/networks/net-example5.yaml |
| 22 | fake_mode: <True/False> # depend on openvimd.cfg mode (test,normal, host only, OF only, development) |
| 23 | create_inf: <True/False> # Create host and mgmt net if True, if False host and mgmt net need to be precreated. |