From 6837be2d6ed48c2ec66c9746c42afa97442e5281 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Wed, 27 May 2020 17:20:24 -0700 Subject: [PATCH 1/2] updateTest.bash: kills harder --- updateTest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateTest.bash b/updateTest.bash index ef7a28e6..c36c47eb 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -18,7 +18,7 @@ grep -q "Current GUI version up to date" $GUIUpdate && exit python3 ${scripts}/connectTest.py &> $CTLGUI sleep 1 -pgrep java | xargs kill +killall -9 java sleep 1 ${HL}/LANforgeGUI_5.4.2/lfclient.bash -daemon -s localhost &> $GUILog & From 2a82c6ec4570a95fded7b2c6027d8d59a1ba6c40 Mon Sep 17 00:00:00 2001 From: Jed Reynolds Date: Thu, 28 May 2020 14:29:51 -0700 Subject: [PATCH 2/2] create_sta.py: documents examples of truthy call to suppression parameters --- py-json/create_sta.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py-json/create_sta.py b/py-json/create_sta.py index 59d88ffb..2054e81e 100755 --- a/py-json/create_sta.py +++ b/py-json/create_sta.py @@ -115,7 +115,9 @@ def main(): lf_r.addPostData( { "shelf":1, "resource": resource_id, - "port": sta_name + "port": sta_name, + "suppress_preexec_cli": "yes", + "suppress_preexec_method": 1 }) json_response = lf_r.formPost() sleep(0.05) # best to give LANforge a few millis between rm_vlan commands