test/iscsi: only test rpc_config with posix
Since VPP is deprecated, this is no longer required. rpc_config tests will work for posix and uring the same for this test. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ibc7bd76ea47ca137f3eb4484782cc64ff748fe22 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3729 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
685f31d606
commit
4eda51a0c0
@ -10,13 +10,12 @@ import json
|
|||||||
import random
|
import random
|
||||||
from subprocess import check_call, call, check_output, Popen, PIPE, CalledProcessError
|
from subprocess import check_call, call, check_output, Popen, PIPE, CalledProcessError
|
||||||
|
|
||||||
if (len(sys.argv) == 8):
|
if (len(sys.argv) == 7):
|
||||||
target_ip = sys.argv[2]
|
target_ip = sys.argv[2]
|
||||||
initiator_ip = sys.argv[3]
|
initiator_ip = sys.argv[3]
|
||||||
port = sys.argv[4]
|
port = sys.argv[4]
|
||||||
netmask = sys.argv[5]
|
netmask = sys.argv[5]
|
||||||
namespace = sys.argv[6]
|
namespace = sys.argv[6]
|
||||||
test_type = sys.argv[7]
|
|
||||||
|
|
||||||
ns_cmd = 'ip netns exec ' + namespace
|
ns_cmd = 'ip netns exec ' + namespace
|
||||||
other_ip = '127.0.0.6'
|
other_ip = '127.0.0.6'
|
||||||
@ -462,10 +461,7 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
verify_log_flag_rpc_methods(rpc_py, rpc_param)
|
verify_log_flag_rpc_methods(rpc_py, rpc_param)
|
||||||
verify_net_get_interfaces(rpc_py)
|
verify_net_get_interfaces(rpc_py)
|
||||||
# Add/delete IP will not be supported in VPP.
|
verify_net_interface_add_delete_ip_address(rpc_py)
|
||||||
# It has separate vppctl utility for that.
|
|
||||||
if test_type == 'posix':
|
|
||||||
verify_net_interface_add_delete_ip_address(rpc_py)
|
|
||||||
create_malloc_bdevs_rpc_methods(rpc_py, rpc_param)
|
create_malloc_bdevs_rpc_methods(rpc_py, rpc_param)
|
||||||
verify_portal_groups_rpc_methods(rpc_py, rpc_param)
|
verify_portal_groups_rpc_methods(rpc_py, rpc_param)
|
||||||
verify_initiator_groups_rpc_methods(rpc_py, rpc_param)
|
verify_initiator_groups_rpc_methods(rpc_py, rpc_param)
|
||||||
|
@ -50,7 +50,7 @@ sleep 1
|
|||||||
|
|
||||||
timing_exit start_iscsi_tgt
|
timing_exit start_iscsi_tgt
|
||||||
|
|
||||||
$rpc_config_py $rpc_py $TARGET_IP $INITIATOR_IP $ISCSI_PORT $NETMASK $TARGET_NAMESPACE $TEST_TYPE
|
$rpc_config_py $rpc_py $TARGET_IP $INITIATOR_IP $ISCSI_PORT $NETMASK $TARGET_NAMESPACE
|
||||||
|
|
||||||
$rpc_py bdev_get_bdevs
|
$rpc_py bdev_get_bdevs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user