open-cas-linux/test/functional/config/example_dut_config.yml
Michal Mielewczyk be438dbe7c Extend example dut config wih 'allow_disk_autoselect' option.
By setting 'allow_disk_autoselect: True' user grants to framework permission
to autodiscover and override DUT's disks.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-11-20 22:09:40 -05:00

25 lines
698 B
YAML

# DUT type should be either "local" or "ssh"
# if ssh is selected, then ip, user and password fields are required
type: "local"
# ip: "x.x.x.x"
# user: "example_user"
# password: "example_password"
# env: "HTTPS_PROXY=myproxy.example:12345"
# By enabling this option framework is allowed to retrieve random non-os disks from DUT.
# It can lead to data loss!!!
allow_disk_autoselect: False
working_dir: "/tmp/open-cas-linux/"
disks:
- path: "/dev/device_name1" # disk device path
serial: "ABC" # disk serial number
type: "nand" # disk type
blocksize: 512 # 512B
- path: "/dev/device_name2"
serial: "DEF"
type: "hdd"
blocksize: 512