From e781fc2b46e9f29f796b40bcb985d13e62a61cb2 Mon Sep 17 00:00:00 2001
From: "rick.mollard" <rick.mollard@nebraska.edu>
Date: Mon, 27 Jun 2022 11:10:19 -0500
Subject: [PATCH] update

---
 findfails.py       | 13 ++++++-------
 unkSwitches-cx.txt |  2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/findfails.py b/findfails.py
index 93e1950..62bd5c4 100644
--- a/findfails.py
+++ b/findfails.py
@@ -6,16 +6,20 @@ import re
 import time
 import getpass
 
-
 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
 
+#
+# This script will look to see which ports are in a "failed" state and try to reathenticate the port.
+#     
+#  
+
 ###########################################################################
 print(" 1 = UNL-City \n 2 = UNL-East \n 3 = UNO \n 4 = UNK \n Select Campus:")
 campus = input()
 print(f"Campus Selected: {campus}")
 print("----------------------------------")
 print("----------------------------------")
-print(" 1  = test \n Select Role:")
+print(" 1  = Find Failed ports \n Select Role:")
 role = input()
 if campus == "1":
     file = [line.strip() for line in open("unlCitySwitches-cx.txt", 'r')]
@@ -50,9 +54,6 @@ for selectIP in file:
     password=Apassword,
     )
 
-# create sessions object
-
-
     ###############################################################################
     output = net_connect.send_command(f"show port-access clients")
     to1 = output.split("\n")
@@ -68,7 +69,5 @@ for selectIP in file:
             print(f"{to3} Reauthentication initiated.")
 
         to = to.split(" ")[0]
-        
-        
 
     net_connect.disconnect()
\ No newline at end of file
diff --git a/unkSwitches-cx.txt b/unkSwitches-cx.txt
index 2a6f9dd..5cbd4fe 100644
--- a/unkSwitches-cx.txt
+++ b/unkSwitches-cx.txt
@@ -1 +1 @@
-10.171.0.53
\ No newline at end of file
+10.171.0.19
\ No newline at end of file
-- 
GitLab