X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=test%2FPY_TEST_README.rst;fp=test%2FPY_TEST_README.rst;h=2480844865c44e7f1430fa953016687d7d7c1a26;hb=126e787a5795bc8294c0650e57188546fed8012e;hp=0000000000000000000000000000000000000000;hpb=0ec17ecbd0aa7c6ac8d8b07f9886e0eec1128f09;p=osm%2Fopenvim.git diff --git a/test/PY_TEST_README.rst b/test/PY_TEST_README.rst new file mode 100644 index 0000000..2480844 --- /dev/null +++ b/test/PY_TEST_README.rst @@ -0,0 +1,23 @@ +For launch openvim pytest regresion: + + pytest -v -s test/test_openvim_inf.py --config=test/test_openvim_fake.yaml + +The regresion must be launch from an user included in the visudo. +If the regression will be use real infrastructure (fake_mode=False) create a new yaml or modify +the existing template -> test/test_openvim_fake.yaml + + +test.yaml example: + +--- +host: + host_1: + host_2: + host_n: +tenant: test/tenants/test_tenant.yaml +flavor: test/flavors/cirros_flavor.yaml +image: +server: test/servers/cirros_server_template.yaml +net: test/networks/net-example5.yaml +fake_mode: # depend on openvimd.cfg mode (test,normal, host only, OF only, development) +create_inf: # Create host and mgmt net if True, if False host and mgmt net need to be precreated.