Curious about how to take that first step from CCNP to Programmer? Hey guess what, you don't even have to make an entire career out of programming, you can use it to AUGMENT your existing job responsibilities and make your life easier. This deck won't teach you everything you need to know, but it should help making that first step a little bit easier.
2. About Me
● In IT for a total of 14 years
● Doing Networking and VoIP for 13 of those
● Consulting for 8 years
● Leading a consulting practice for 2 years
● Programming in Python for 3 Months
Disclaimer: I am not a Python expert.
7. ● Variables are references to objects.
● Objects can be built-in like strings, or “things” that can
be manipulated or passed around.
● Lists contain objects.
● Dictionaries are containers that use key:value pairing to
store objects, and coincidentally, are also objects
themselves.
● Libraries are Python packages that can be used over
and over
Python Fundies
13. Netmiko
● Based on Paramiko
● Created by Kirk Byers, a CCIE R/S Emeritus
● Found on GitHub: https://github.
com/ktbyers/netmiko
● Designed for Network Devices
15. Netmiko - Commands
# Single Command
output = net_connect.send_command(“show run | i snmp”)
print output
# Multiple Commands
commands = [“show ip int brief | e unass”, “show ip route”, “show cdp neighbors”]
for command in commands:
output += net_connect.send_command(command)
print output
18. Netmiko - Multi-device cont.
commands = [“show ip int brief | e unass”, “show ip route”, “show cdp neighbors”]
for each in yourDevices:
net_connect = SSHClass(**each)
output = ''
for command in commands:
output += net_connect.send_command(command)
print output
27. What to do Next
“The future belongs to those who see possibilities before they become obvious.”
- John Sculley
28. Things to work on
● Scripting VLAN Moves/Adds/Changes, QoS
deployments, any other bulk changes
● Configuration Auditing
● APIs
● SNMP collection and graphing
● Using YAML and JSON for templating config
elements
29. Where your job is heading
DevOps
SDN
Automation and Orchestration