From 542bda0a6fdb36d2bc2e9e8ae67778a14e4fb40b Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 25 Oct 2019 22:57:37 -0700 Subject: [PATCH] Add NET_NUM_xyz variables --- net/gce.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/gce.sh b/net/gce.sh index 294d592a51..84f083c387 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -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