# Primary Network Script For University of Nebraska import ConfigChecker import PortFlipper # PortFlipper Script import FindLinkTransitions import getpass # Password Handler # Get User Information print("Please enter your NUID:") ArubaUsername = input() print("Please enter your password:") ArubaPassword = getpass.getpass() # Get Choice print("Please Select From the Following Choices: \n 1: Port Flipper \n 2: Configuration Checker 48 Port " "\n 3: Configuration Checker 24 Port \n 4: Link Transitions") selection = input() # Call The Port Flipper Script if selection == '1': PortFlipper.main(ArubaUsername, ArubaPassword) # Call the VLAN Flipper Script if selection == '2': ConfigChecker.main(ArubaUsername, ArubaPassword) # Call The MAC Address Flipper if selection == '3': print("Not Implemented Yet, on ToDo List") # Idea behind this is if a specific device on the network needs re-authenticated, it will find the device and flip # the port. if selection == '4': print("Find Excecive Link Transitions") FindLinkTransitions.main(ArubaUsername, ArubaPassword) # Sample code for personal reference # def print_hi(name): # print(f'Hi, {name}') # if __name__ == '__main__': # print_hi('PyCharm')