[LU-10790] tests: lctl list_nids has been deprecated and is still used in test suites Created: 08/Mar/18  Updated: 10/Oct/22  Resolved: 10/Oct/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: CEA Assignee: Quentin Bouget
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-10003 lnetctl error "cannot add network: in... Reopened
Rank (Obsolete): 9223372036854775807

 Description   

The title pretty much sums it up, the idea is to get rid of:

lctl list_nids: has been deprecated. Please use 'lnetctl net show'



 Comments   
Comment by Quentin Bouget [ 08/Mar/18 ]

Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/31581
Subject: LU-10790 tests: replace lctl list_nids with lnetctl net show
Project: fs/lustre-release
Branch: master
Current Patch Set: 2
Commit: I4ee0a2f0f239aeab37fdb0da156da7f3839bb686

Comment by Quentin Bouget [ 08/Mar/18 ]

I just noticed LU-10003, looks like lctl list_nids might not stay deprecated. I will put this on hold then.

Comment by Peter Jones [ 08/Mar/18 ]

So close out this ticket for now?

Comment by Quentin Bouget [ 08/Mar/18 ]

Yes, if this patch does not land and lctl list_nids actually stays deprecated I can always reopen the ticket.

Comment by Amir Shehata (Inactive) [ 09/Mar/18 ]

Why not use this ticket to land the patch. Even though the lctl list_nids hasn't been deprecated yet, it'll eventually be. So if we remove the usage of list_nids from the tests suites, when we do deprecate them, there will be less work to do.

Comment by James A Simmons [ 10/Oct/22 ]

lctl list_nids will never go away. But its being reborn with the Netlink IPv6 work.

Generated at Sat Feb 10 02:38:12 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.