op-test icon indicating copy to clipboard operation
op-test copied to clipboard

DLPAR: enhance test to support multiple pci ids for test

Open abdhaleegit opened this issue 3 years ago • 0 comments

Allow user to give multiple PCI input example for NIC and FC both

Now test only accepts single PCI ID pci_device: "0001:00:01"

  1. make sure test takes multiple pci ids like pci_device: "0001:00:01 0002:00:00" and perform dlpar in loop
  2. if it is a NIC adapter, check for network connectivity after each dlpar
  3. if it is a FC adapter, check for disk recovered after dlpar

https://github.com/open-power/op-test/blob/master/testcases/OpTestDlparIO.py

Refer to https://github.com/avocado-framework-tests/avocado-misc-tests/blob/master/io/pci/pci_hotplug.py for old code

abdhaleegit avatar Aug 31 '21 06:08 abdhaleegit