Giter Club home page Giter Club logo

virtwho-ci's Introduction

VIRTWHO-QE - Testing virt-who package for differernt hypervisors and register servers.

Before running our test cases, you have to config the environment variables for hypervisors and register server.
There are two ways to configure the env, take esx environment as an example:

  1. Export Environment
export RHEL_COMPOSE=RHEL-7.7-20190403.0
export TRIGGER_TYPE=trigger-rhel
export TRIGGER_LEVEL=tier1
export VIRTWHO_HOST_IP=
export VIRTWHO_HOST_USER=
export VIRTWHO_HOST_PASSWD=
export HYPERVISOR_TYPE=esx
export HYPERVISOR_SERVER=
export HYPERVISOR_USERNAME=
export HYPERVISOR_PASSWORD=
export HYPERVISOR_SSH_USER=
export HYPERVISOR_SSH_PASSWD=
export GUEST_IP=
export GUEST_NAME=
export GUEST_USER=
export GUEST_PASSWD=
export REGISTER_TYPE=satellite65
export REGISTER_SERVER=
export REGISTER_OWNER=
export REGISTER_ENV=
export REGISTER_ADMIN_USER=
export REGISTER_ADMIN_PASSWD=
export REGISTER_SSH_USER=
export REGISTER_SSH_PASSWD=
  1. Configure Environment in config.in
# cd virtwho-qe
# vi config.in
[virtwho]
trigger_type=trigger-rhel
rhel_compose=RHEL-7.7-20190403.0
host_ip=
host_user=
host_passwd=

[hypervisor]
type=esx
server=
server_username=
server_password=
server_ssh_user=
server_ssh_passwd=
guest_ip=
guest_name=
guest_user=
guest_passwd=

[register]
type=satellite65
server=
owner=
env=
admin_user=
admin_passwd=
ssh_user=
ssh_passwd=

After configured the env, you can run the case as:

# nosetests tests/virtwho/tier1/tc_1001_check_virtwho_is_shipped_by_different_arch.py

virtwho-ci's People

Contributors

eko999 avatar junefen avatar hkx303 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.