test/spdkcli: Add a match test to iscsi spdkcli test
Change-Id: Ic48d0f2abb0455c0a983e4d93506935fb2339509 Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/427356 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
7d79e5b3a9
commit
598d3cfbd3
@ -38,7 +38,7 @@ $spdkcli_job "/iscsi ls" "Malloc" True
|
||||
timing_exit spdkcli_create_iscsi_config
|
||||
|
||||
timing_enter spdkcli_check_match
|
||||
#check_match
|
||||
check_match
|
||||
timing_exit spdkcli_check_match
|
||||
|
||||
timing_enter spdkcli_clear_iscsi_config
|
||||
|
53
test/spdkcli/match_files/spdkcli_iscsi.test.match
Normal file
53
test/spdkcli/match_files/spdkcli_iscsi.test.match
Normal file
@ -0,0 +1,53 @@
|
||||
o- iscsi ..................................................................................................................... [...]
|
||||
o- auth_groups ....................................................................................................... [Groups: 1]
|
||||
| o- group1 ......................................................................................................... [Secrets: 2]
|
||||
| o- user=test2, secret=test2, muser=mutual_test2, msecret=mutual_test2 .................................................. [...]
|
||||
| o- user=test3, secret=test3, muser=mutual_test3, msecret=mutual_test3 .................................................. [...]
|
||||
o- global_params ........................................................................................................... [...]
|
||||
| o- allow_duplicated_isid: False .......................................................................................... [...]
|
||||
| o- chap_group: 1 ......................................................................................................... [...]
|
||||
| o- default_time2retain: 20 ............................................................................................... [...]
|
||||
| o- default_time2wait: 2 .................................................................................................. [...]
|
||||
| o- disable_chap: True .................................................................................................... [...]
|
||||
| o- error_recovery_level: 0 ............................................................................................... [...]
|
||||
| o- first_burst_length: 8192 .............................................................................................. [...]
|
||||
| o- immediate_data: True .................................................................................................. [...]
|
||||
| o- max_connections_per_session: 2 ........................................................................................ [...]
|
||||
| o- max_queue_depth: 64 ................................................................................................... [...]
|
||||
| o- max_sessions: 128 ..................................................................................................... [...]
|
||||
| o- min_connections_per_core: 4 ........................................................................................... [...]
|
||||
| o- mutual_chap: False .................................................................................................... [...]
|
||||
| o- node_base: iqn.2016-06.io.spdk ........................................................................................ [...]
|
||||
| o- nop_in_interval: 30 ................................................................................................... [...]
|
||||
| o- nop_timeout: 60 ....................................................................................................... [...]
|
||||
| o- require_chap: False ................................................................................................... [...]
|
||||
o- initiator_groups ........................................................................................ [Initiator groups: 2]
|
||||
| o- initiator_group2 ............................................................................................ [Initiators: 2]
|
||||
| | o- hostname=ANW, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
|
||||
| | o- hostname=ANY, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
|
||||
| o- initiator_group3 ............................................................................................ [Initiators: 1]
|
||||
| o- hostname=ANZ, netmask=$(N).$(N).$(N).$(N)/32 $(S) [...]
|
||||
o- iscsi_connections ............................................................................................ [Connections: 0]
|
||||
o- portal_groups .............................................................................................. [Portal groups: 2]
|
||||
| o- portal_group1 .................................................................................................. [Portals: 2]
|
||||
| | o- host=127.0.0.1, port=3261, cpumask=0x3 .............................................................................. [...]
|
||||
| | o- host=127.0.0.1, port=3263, cpumask=0x1 .............................................................................. [...]
|
||||
| o- portal_group2 .................................................................................................. [Portals: 1]
|
||||
| o- host=127.0.0.1, port=3262, cpumask=0x3 .............................................................................. [...]
|
||||
o- target_nodes ................................................................................................ [Target nodes: 2]
|
||||
o- iqn.2016-06.io.spdk:Target0 ......................................................................... [Id: 0, QueueDepth: 64]
|
||||
| o- auths ........................................ [disable_chap: True, require_chap: False, mutual_chap: False, chap_group: 1]
|
||||
| o- luns ............................................................................................................ [Luns: 2]
|
||||
| | o- lun 0 ......................................................................................................... [Malloc0]
|
||||
| | o- lun 1 ......................................................................................................... [Malloc1]
|
||||
| o- pg_ig_maps ................................................................................................ [Pg_ig_maps: 3]
|
||||
| o- portal_group1 - initiator_group2 .................................................................................. [...]
|
||||
| o- portal_group1 - initiator_group3 .................................................................................. [...]
|
||||
| o- portal_group2 - initiator_group2 .................................................................................. [...]
|
||||
o- iqn.2016-06.io.spdk:Target1 ......................................................................... [Id: 1, QueueDepth: 64]
|
||||
o- auths ....................................... [disable_chap: False, require_chap: False, mutual_chap: False, chap_group: 1]
|
||||
o- luns ............................................................................................................ [Luns: 2]
|
||||
| o- lun 0 ......................................................................................................... [Malloc2]
|
||||
| o- lun 2 ......................................................................................................... [Malloc3]
|
||||
o- pg_ig_maps ................................................................................................ [Pg_ig_maps: 1]
|
||||
o- portal_group1 - initiator_group2 .................................................................................. [...]
|
Loading…
x
Reference in New Issue
Block a user