Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dlpar and LPM Documentation #659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions testcases/OpTestDlparIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,40 @@
---------

This test is to preform and validate dlpar commands on SRIOV and Physical adapters

Example Conf file for dlpar
[op-test]
bmc_type=FSP_PHYP
bmc_ip=<fsp-ip>
bmc_username=<fsp userid>
bmc_password=<fsp password>
host_ip=<host ip>
host_user=<host userid>
host_password=<host password>
hmc_ip=<hmc ip or domin name>
hmc_username=<hmc userid>
hmc_password=<hmc password>
system_name=<managed system name>
lpar_name=<source lparname>
lpar_prof=default
host_cmd_timeout=36000
git_home=/home/linux_src
use_kexec=True
machine_state=OS
target_lpar=<target lparname>
pci_device=<pci id> (example : 4007:01:00.0)
sriov=<yes / no >
num_of_dlpar=<no of iterations>

Executing dlpar tests
./op-test --run-suite ${test}-suite -c test_conf

To run all scenarios part of the suite.
./op-test --run-suite DlparIO-suite -c dlpar.conf

To run individual test.
/op-test --run testcases.OpTestDlparIO.OpTestDlpar -c dlpar.conf

'''

import unittest
Expand Down
24 changes: 24 additions & 0 deletions testcases/OpTestLPM.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@

This test is to preform and validate basic Live Partition Mobility(LPM) migration
from source to destination managed system

Example Conf file for LPM
[op-test]
bmc_type=FSP_PHYP
bmc_ip=<fsp-ip>
bmc_username=<fsp userid>
bmc_password=<fsp password>
host_ip=<host ip>
host_user=<host userid>
host_password=<host password>
hmc_ip=<hmc ip or domin name>
hmc_username=<hmc userid>
hmc_password=<hmc password>
system_name=<managed system name>
lpar_name=<source lparname>
lpar_prof=default
host_cmd_timeout=36000
git_home=/home/linux_src
use_kexec=True
machine_state=OS
target_system_name=<target managed system name>

To Run LPM Test
./op-test --run-suite LPM_suite -c lpm.conf
'''

import unittest
Expand Down