Re-organize unit-test directory into new locations.

This is pure 'git mv'.  No changes were made to files.  They
will not work until we fix up the include paths again, that will
be handled in future commits.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2021-02-02 13:00:52 -08:00
parent 8e7ea0d05b
commit 4bdf061d24
22 changed files with 25 additions and 0 deletions

25
tools/debug_nola01.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Commands to grab debug info off of NOLA-01. Everything is hard-coded assuming you use
# ssh tunnel in the suggested way. Otherwise, you will need to edit things...
set -x
NOLANUM=01
PORTAL=wlan-portal-svc.cicd.lab.wlan.tip.build
APPORT=8803
APTTY=/dev/ttyAP1
MODEL=ecw5410
# cloud sdk profile dump
./query_sdk.py --testrail-user-id NONE --model $MODEL --sdk-base-url https://$PORTAL --sdk-user-id support@example.com --sdk-user-password support --type profile --cmd get > /tmp/nola-$NOLANUM-profiles.txt
# ovsdb-client dump
./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "ovsdb-client dump" > /tmp/nola-$NOLANUM-ap.txt
# interface info
./query_ap.py --ap-jumphost-address localhost --ap-jumphost-port $APPORT --ap-jumphost-password pumpkin77 --ap-jumphost-tty $APTTY -m $MODEL --cmd "iwinfo && brctl show" > /tmp/nola-$NOLANUM-ap-if.txt
# TODO: Add more things here as we learn what better provides debug info to cloud.
echo "Grab: /tmp/nola-$NOLANUM-profiles.txt /tmp/nola-$NOLANUM-ap.txt /tmp/nola-$NOLANUM-ap-if.txt"