From 51ea055e43fcf12bfc86b69436a31caa97e0c681 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Mon, 23 Aug 2021 11:22:52 -0600 Subject: [PATCH] lf_check.py : notes updates for getting radio information Signed-off-by: Chuck SmileyRekiere --- py-scripts/tools/lf_check.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index 5789dd7d..a7789400 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -28,8 +28,9 @@ Using .json: 2. update lf_check.json to enable (TRUE) tests to be run in the test suite, the default TEST_DICTIONARY NOTES: getting radio information: -1. (Using Curl) curl -H 'Accept: application/json' http://localhost:8080/radiostatus/all | json_pp | less -2. (using Python) response = self.json_get("/radiostatus/all") +1. (Using Curl) curl -H 'Accept: application/json' http://localhost:8080/radiostatus/all | json_pp +2. curl --user "lanforge:lanforge" -H 'Accept: application/json' http://192.168.100.116:8080/radiostatus/all | json_pp , where --user "USERNAME:PASSWORD" +3. (using Python) response = self.json_get("/radiostatus/all"), Currently lf_check.py is independent of py-json libraries GENERIC NOTES: Starting LANforge: