Skip to content

Instantly share code, notes, and snippets.

@jathanism
Created September 23, 2015 17:54
Show Gist options
  • Select an option

  • Save jathanism/cfae8344d2867560500d to your computer and use it in GitHub Desktop.

Select an option

Save jathanism/cfae8344d2867560500d to your computer and use it in GitHub Desktop.
from trigger.cmds import Commando
devices = ['device1', 'device2']
commands = ['show mac address-table']
c = Commando(devices=devices, commands=commands)
c.run()
# When it's done
print c.results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment