33756ac899
Include: - util modules. such as table_parser, ssh/localhost clients, cli module, exception, logger, etc. Util modules are mostly used by keywords. - keywords modules. These are helper functions that are used directly by test functions. - platform (with platform or platform_sanity marker) and stx-openstack (with sanity, sx_sanity, cpe_sanity, or storage_sanity marker) sanity testcases - pytest config conftest, and test fixture modules - test config file template/example Required packages: - python3.4 or python3.5 - pytest >=3.10,<4.0 - pexpect - requests - pyyaml - selenium (firefox, ffmpeg, pyvirtualdisplay, Xvfb or Xephyr or Xvnc) Limitations: - Anything that requires copying from Test File Server will not work until a public share is configured to shared test files. Tests skipped for now. Co-Authored-By: Maria Yousaf <maria.yousaf@windriver.com> Co-Authored-By: Marvin Huang <marvin.huang@windriver.com> Co-Authored-By: Yosief Gebremariam <yosief.gebremariam@windriver.com> Co-Authored-By: Paul Warner <paul.warner@windriver.com> Co-Authored-By: Xueguang Ma <Xueguang.Ma@windriver.com> Co-Authored-By: Charles Chen <charles.chen@windriver.com> Co-Authored-By: Daniel Graziano <Daniel.Graziano@windriver.com> Co-Authored-By: Jordan Li <jordan.li@windriver.com> Co-Authored-By: Nimalini Rasa <nimalini.rasa@windriver.com> Co-Authored-By: Senthil Mukundakumar <senthil.mukundakumar@windriver.com> Co-Authored-By: Anuejyan Manokeran <anujeyan.manokeran@windriver.com> Co-Authored-By: Peng Peng <peng.peng@windriver.com> Co-Authored-By: Chris Winnicki <chris.winnicki@windriver.com> Co-Authored-By: Joe Vimar <Joe.Vimar@windriver.com> Co-Authored-By: Alex Kozyrev <alex.kozyrev@windriver.com> Co-Authored-By: Jack Ding <jack.ding@windriver.com> Co-Authored-By: Ming Lei <ming.lei@windriver.com> Co-Authored-By: Ankit Jain <ankit.jain@windriver.com> Co-Authored-By: Eric Barrett <eric.barrett@windriver.com> Co-Authored-By: William Jia <william.jia@windriver.com> Co-Authored-By: Joseph Richard <Joseph.Richard@windriver.com> Co-Authored-By: Aldo Mcfarlane <aldo.mcfarlane@windriver.com> Story: 2005892 Task: 33750 Signed-off-by: Yang Liu <yang.liu@windriver.com> Change-Id: I7a88a47e09733d39f024144530f5abb9aee8cad2
138 lines
4.1 KiB
Plaintext
138 lines
4.1 KiB
Plaintext
[auth]
|
|
#
|
|
# Auth info to ssh to active controller and run platform commands
|
|
#
|
|
|
|
# Linux user info for ssh to StarlingX controller node
|
|
# controllers' OAM network floating ip and unit ip if applicable.
|
|
# controller_fip is mandatory unless --lab=<controller_fip> is provided
|
|
# via cmdline. Only IPv4 is supported by test framework for now.
|
|
# Required by all configurations.
|
|
|
|
oam_floating_ip =
|
|
controller0_oam_ip =
|
|
controller1_oam_ip =
|
|
linux_username = sysadmin
|
|
linux_user_password = Li69nux*
|
|
|
|
# Platform keystone admin user and project info
|
|
platform_admin_username = admin
|
|
platform_admin_project_name = admin
|
|
platform_admin_password = Li69nux*
|
|
platform_admin_domain_name = Default
|
|
|
|
|
|
# Non-platform keystone info
|
|
# Required if stx-openstack is deployed
|
|
|
|
# non-platform keystone: admin user and project info
|
|
admin_username = admin
|
|
admin_project_name = admin
|
|
admin_password = Li69nux*
|
|
admin_domain_name = Default
|
|
|
|
# non-platform keystone: first test user and tenant. Will be used for most of
|
|
# the openstack related test cases.
|
|
test1_username = tenant1
|
|
test1_project_name = tenant1
|
|
test1_password = Li69nux*
|
|
test1_domain_name = Default
|
|
# nova keypair to use when create VM
|
|
test1_nova_keypair = keypair-tenant1
|
|
|
|
# non-platform keystone: second test user and tenant. Should be in the same
|
|
# domain as first test user and tenant.
|
|
test2_username = tenant2
|
|
test2_project_name = tenant2
|
|
test2_password = Li69nux*
|
|
test2_domain_name = Default
|
|
test2_nova_keypair = keypair-tenant2
|
|
|
|
|
|
[natbox]
|
|
#
|
|
# NATBox will be used to ping/ssh to a guest
|
|
# Required if stx-openstack is deployed
|
|
#
|
|
|
|
# Info to ssh to a NATBox. If NatBox is localhost from where the tests are
|
|
# executed from, set: natbox_host = localhost
|
|
natbox_host = <server name or ip used in ssh>
|
|
natbox_user = <ssh_user>
|
|
natbox_password = <ssh login password>
|
|
|
|
# python regex pattern for natbox prompt,
|
|
# default prompt is natbox_user@.*[$#] when unspecified
|
|
natbox_prompt =
|
|
|
|
|
|
[guest_image]
|
|
#
|
|
# Glance image info
|
|
# Required if stx-openstack is deployed
|
|
#
|
|
|
|
# Image file path on active controller. Will be used to create glance image
|
|
# in some test cases.
|
|
img_file_dir = /home/sysadmin/images
|
|
img_file_name = tis-centos-guest.img
|
|
# minimum root disk size in GiB if this image is used to launch VM
|
|
min_disk_size = 2
|
|
img_disk_format=raw
|
|
img_container_format = bare
|
|
|
|
# Full name of an existing glance image that will be used as default image
|
|
# to create cinder volume, VM, etc. If glance_image_name is not provided,
|
|
# an glance image will be created from above image file at the begining
|
|
# of the test session.
|
|
glance_image_name = tis-centos-guest
|
|
|
|
# username and password that will be used to ssh to VM that is created
|
|
# from above glance image
|
|
image_ssh_user = root
|
|
image_ssh_password = root
|
|
|
|
|
|
[guest_keypair]
|
|
#
|
|
# Nova keypair to ssh to VM from NATBox without using password in some tests
|
|
# Required if stx-openstack is deployed
|
|
#
|
|
|
|
# Directory to store private keyfile on natbox.
|
|
natbox_keypair_dir = ~/priv_keys/
|
|
|
|
# private key path on controller-0 that was used to create above nova keypair.
|
|
# If not provided or not exist, a nova keypair will be created using a key from
|
|
# ssh-keygen on controller-0.
|
|
private_key_path = /home/sysadmin/.ssh/id_rsa
|
|
|
|
|
|
[guest_networks]
|
|
#
|
|
# Neutron networks for openstack VM
|
|
# Required if stx-openstack is deployed
|
|
#
|
|
|
|
# Python pattern for different types of neutron networks -
|
|
# used in re.search(<pattern>, <full_network_name>)
|
|
# Pattern needs to be unique for each network type
|
|
|
|
# mgmt networks - need to be reachable from above NATBox. Will always be
|
|
# used to create first nic of the vm, so that VM can be ping'd or ssh'd
|
|
# from NATBox.
|
|
mgmt_net_name_pattern = tenant\d-mgmt-net
|
|
|
|
# data networks - usually un-shared. Will be used in some test cases
|
|
# that require communication between two VMs
|
|
data_net_name_pattern = tenant\d-net
|
|
|
|
# internal network - need to be shared among tenants. Will be used in a few
|
|
# test cases to route data network traffic via internal interface between
|
|
# two VMs that belong to different tenants
|
|
internal_net_name_pattern = internal
|
|
|
|
# external network - neutron floating ips will be created off this network.
|
|
# Needs to be reachable from NATBox.
|
|
external_net_name_pattern = external
|