Skip to content

Instantly share code, notes, and snippets.

@kecorbin
Created December 12, 2017 18:00
Show Gist options
  • Save kecorbin/687431c7d5997617c8cf0132ef644c06 to your computer and use it in GitHub Desktop.
Save kecorbin/687431c7d5997617c8cf0132ef644c06 to your computer and use it in GitHub Desktop.
simple pyats connection
from ats.topology import loader
from unicon import Unicon
testbed = loader.load('testbed_working.yaml')
testbed.devices.ios2.connect(cls=Unicon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment