nfv/nfv/nfv-tests/nfv_scenario_tests
Al Bailey 735d9b3392 Replace iter methods with python3 compatable calls
Replace iteritems with items
Replace iterkeys with keys
Replace itervalues with values

Special Note:
In Python 2 those are copies of the elements.
In Python3 those are references to the dictionary elements.
The openstack python2to3 documents suggests wrapping the calls with
a list if the dict is expected to change while iterating.

nfv_scenario_tests (non guest) all pass.

Story: 2004241
Task: 28070
Change-Id: Iddb69b83f0be2f8ec240f7708d2c6d0dc675848c
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-11-27 14:35:20 -06:00
..
data Fix yamllint and bashate tox warnings 2018-07-09 12:06:57 -05:00
tests Replace iter methods with python3 compatable calls 2018-11-27 14:35:20 -06:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
coverage.ini StarlingX open source release updates 2018-05-31 07:36:51 -07:00
debug.ini StarlingX open source release updates 2018-05-31 07:36:51 -07:00
main.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
setup.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00

README

#
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#

#
# cd /usr/lib64/python2.7/site-packages/nfv_scenario_tests
#
# To run without coverage:
#   clear; python ./main.py -c ./config.ini -d default-data -s submission-setup -t submission-tests
#   clear; python ./main.py -c ./config.ini -d default-data-guest -s submission-setup-guest -t submission-tests
#
# To run with coverage:
#   mkdir -p /var/run/sm/services/
#   touch /var/run/sm/services/vim.unmanaged
#   kill nfv-vim processes
#
#   coverage erase --rcfile ./coverage.ini
#   coverage run --rcfile ./coverage.ini /usr/bin/nfv-vim -c /etc/nfv/vim/config.ini &
#   python ./main.py -c ./config.ini
#   kill nfv-vim processes
#   coverage report --rcfile ./coverage.ini
#