From ba63619d5166ec5d622a5cfb62800b0f418d175a Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Thu, 31 Oct 2019 17:07:16 +0100 Subject: [PATCH 1/2] tests: Add field 'type' to example dut config Signed-off-by: Robert Baldyga --- test/functional/config/example_dut_config.yml | 4 ++++ test/functional/test-framework | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/functional/config/example_dut_config.yml b/test/functional/config/example_dut_config.yml index 67020c1..d139b34 100644 --- a/test/functional/config/example_dut_config.yml +++ b/test/functional/config/example_dut_config.yml @@ -1,3 +1,7 @@ +# 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" diff --git a/test/functional/test-framework b/test/functional/test-framework index c00e1f1..b008160 160000 --- a/test/functional/test-framework +++ b/test/functional/test-framework @@ -1 +1 @@ -Subproject commit c00e1f19425e289c281f97b7f6cca1fb88e3f9bc +Subproject commit b0081604becc2b9ae23e0de5c29427c59966d68d From 46c532e57062a36fa0e369311e2384e049000c48 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Mon, 4 Nov 2019 11:13:54 +0100 Subject: [PATCH 2/2] Unify quotes in exaple_dut_config.yml Signed-off-by: Robert Baldyga --- test/functional/config/example_dut_config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/functional/config/example_dut_config.yml b/test/functional/config/example_dut_config.yml index d139b34..b595c9b 100644 --- a/test/functional/config/example_dut_config.yml +++ b/test/functional/config/example_dut_config.yml @@ -11,11 +11,11 @@ type: "local" working_dir: "/tmp/open-cas-linux/" disks: - - path: '/dev/device_name1' # disk device path - serial: 'ABC' # disk serial number - type: 'nand' # disk type + - 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' + - path: "/dev/device_name2" + serial: "DEF" + type: "hdd" blocksize: 512