Change in osmo-ci[master]: ansible: ogt: uhubctl has new cmdline syntax to specify ports

pespin gerrit-no-reply at lists.osmocom.org
Mon Mar 15 13:51:37 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23366 )


Change subject: ansible: ogt: uhubctl has new cmdline syntax to specify ports
......................................................................

ansible: ogt: uhubctl has new cmdline syntax to specify ports

Change-Id: Ie57d85dc0a66e053247cd5bb92a4b2dea4eb4309
---
M ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/66/23366/1

diff --git a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
index f461d81..b826976 100755
--- a/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
+++ b/ansible/roles/gsm-tester/templates/quad_modem_power_cycle.sh
@@ -3,12 +3,12 @@
 
 locations="$(uhubctl -n 1d50:4002 | grep "Current status for hub" | awk '{print $5}')"
 for l in $locations; do
-	uhubctl -p 123456 -a 0 -n 1d50:4002 -l $l
+	uhubctl -p 1,2,3,4,5,6 -a 0 -n 1d50:4002 -l $l
 done
 # give a lot of time to discharge capacitors on the board
 sleep 20
 for l in $locations; do
-	uhubctl -p 123456 -a 1 -n 1d50:4002 -l $l
+	uhubctl -p 1,2,3,4,5,6 -a 1 -n 1d50:4002 -l $l
 done
 attempts=30
 while [ "x$(uhubctl | grep -e 05c6 -e 1199 -c)" != "x{{ gsm_modems }}" ]; do

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23366
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ie57d85dc0a66e053247cd5bb92a4b2dea4eb4309
Gerrit-Change-Number: 23366
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210315/e2665811/attachment.htm>


More information about the gerrit-log mailing list