Create workflows for OVN migration

This patch adds 2 workflows for creating and checking resources
relevant for ML2OVS to ML2OVN migration scenario.

Change-Id: I4a425fbdbe48759780de1456c3fbf8123157cfb4
This commit is contained in:
Roman Safronov 2021-07-13 22:55:18 +03:00 committed by Federico Ressi
parent f65daf7422
commit d652328de4
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
test_workflow_steps:
- tox_description: 'check workload resources after ML2OVS to ML2OVN migration'
tox_envlist: ovn_migration
tox_step_name: verify_resources
tox_environment:
TOBIKO_PREVENT_CREATE: yes

View File

@ -0,0 +1,8 @@
---
test_workflow_steps:
- tox_description: 'create workload resources for ML2OVS to ML2OVN migration'
tox_envlist: ovn_migration
tox_step_name: create_resources
tox_environment:
TOBIKO_PREVENT_CREATE: no

11
tox.ini
View File

@ -193,6 +193,17 @@ setenv =
{[integration]setenv}
OS_TEST_PATH = {toxinidir}/tobiko/tests/scenario/octavia
[testenv:ovn_migration]
basepython = {[integration]basepython}
envdir = {[integration]envdir}
passenv = {[integration]passenv}
setenv =
{[testenv:scenario]setenv}
RUN_TESTS_EXTRA_ARGS = -m ovn_migration {env:OS_TEST_PATH}
[testenv:nova]
basepython = {[integration]basepython}