Programming with Python

Programmability in Python: Confessions of a Networking Guy

I am not qualified to discuss it much, but can you guess what this does? ne = NetworkElement("", "JasonsApp") conn = ne.connect("admin", "cisco", sc) intf1 = ne.get_interface_by_name("FastEthernet0/1") intf1.shut_down(1) sleep(5) intf1.shut_down(0)   If you guessed that it logs into a switch at and disables interface F0/1 for 5 seconds and re-enables it, then you guessed […]