Instead of only showting the network type for each node, list
show the full NID in the YAML file to help with debugging and
identifying nodes in the logs.
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7ee39b08c5cae5a3f9ee4ea4dbee001a6d889fbb
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52500
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Lee Ochoa <lochoa@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Alex Deiter
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
architecture: $(uname -m)
networks:
EOF
- for nw in $(lctl list_nids | grep -v @lo | cut -f 2 -d '@' | uniq); do
- printf " - $nw\n"
+ for nid in $(lctl list_nids | grep -v @lo ); do
+ printf " - ${nid##*@}\n"
+ done | sort -u
+ echo " nids:"
+ for nid in $(lctl list_nids | grep -v @lo ); do
+ printf " - $nid\n"
done
}