Commit 4eda51a0 authored by Tomasz Zawadzki's avatar Tomasz Zawadzki
Browse files

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: default avatarTomasz 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent 685f31d6
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -10,13 +10,12 @@ import json
import random
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]
    initiator_ip = sys.argv[3]
    port = sys.argv[4]
    netmask = sys.argv[5]
    namespace = sys.argv[6]
    test_type = sys.argv[7]

ns_cmd = 'ip netns exec ' + namespace
other_ip = '127.0.0.6'
@@ -462,9 +461,6 @@ if __name__ == "__main__":
    try:
        verify_log_flag_rpc_methods(rpc_py, rpc_param)
        verify_net_get_interfaces(rpc_py)
        # Add/delete IP will not be supported in VPP.
        # 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)
        verify_portal_groups_rpc_methods(rpc_py, rpc_param)
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ sleep 1

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