Whamcloud - gitweb
LU-16822 tests: Modify local_node to check for IPv6 63/55463/4
authorChris Horn <chris.horn@hpe.com>
Mon, 17 Jun 2024 18:09:06 +0000 (12:09 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Jul 2024 20:08:21 +0000 (20:08 +0000)
commit1bbb066512ba6bc39253e2f7d3a020634d7e9f2a
treec0e5e813ac7c3aed44100449f8e462e12710aefd
parentbefb4e43590fff7f3b0d42e5928e91a76dc223f0
LU-16822 tests: Modify local_node to check for IPv6

Nodes may be configured with just IPv6 addresses, so local_node()
needs to look for both IPv4 and IPv6 addresses to determine if a given
host is local.

sanity-lnet/110 is re-written so that it does not rely on
local_addr_list(). Otherwise the test may attempt to configure an NI
using an invalid address. This test case can now execute on o2ib
configs.

Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Id3471376dbb2089a44b00ed7cb9bc2256e5e7501
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55463
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh
lustre/tests/test-framework.sh