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