Add NET_NUM_xyz variables

This commit is contained in:
Michael Vines 2019-10-25 22:57:37 -07:00
parent 68acfd36d0
commit be74801236
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 6 additions and 1 deletions

View File

@ -819,7 +819,12 @@ info)
printf " %-16s | %-15s | %-15s | %s\n" "$nodeType" "$ip" "$ipPrivate" "$zone"
}
if ! $evalInfo; then
if $evalInfo; then
echo "NET_NUM_VALIDATORS=${#validatorIpList[@]}"
echo "NET_NUM_CLIENTS=${#clientIpList[@]}"
echo "NET_NUM_BLOCKSTREAMERS=${#blockstreamerIpList[@]}"
echo "NET_NUM_ARCHIVERS=${#archiverIpList[@]}"
else
printNode "Node Type" "Public IP" "Private IP" "Zone"
echo "-------------------+-----------------+-----------------+--------------"
fi