Instead of only showing 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.
Lustre-change: https://review.whamcloud.com/52500
Lustre-commit:
8e1f0cc90785463fb9ea847a8d1362941e82bcae
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I7ee39b08c5cae5a3f9ee4ea4dbee001a6d889fbb
Reviewed-by: Lee Ochoa <lochoa@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54958
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
}