Tools

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Developer Sustainability Week Events

Build for Better Code Challenge

Cisco U. Spotlight Registration


>> View previously featured conversations <<

Forum Posts

Hello,I'm building a small python script using pyATS library and I would like to verify if the configuration commands are valid (command syntax and mistype) before sending it to the device, so I don't send half the configuration to the device. Is the...

Hello,Is there any documentation or example on how to tranfer a file using PyATS?I search online, and this came up on google, but when I tried to run in with PyATS ver 23, it said cannot find fileops : import pyats from pyats.utils import fileops # ...

How do I send a command to the junos shell with pyatsjunos>start shelljunos#cd /var/public-----------------------------------------juniper_device = testbed.devices['ptr513-u210']juniper_device.connect()juniper_device.execute('cd /var/public') <--- th...

Greetings,I need help with a problem. I want to include specific SSH options, like "-oStrictHostKeyChecking=no" and "-oUserKnownHostsFile=/dev/null" in a Python object created from the "pyats.topology.Device" class. While I know these options can be ...

syspo by Community Member
  • 206 Views
  • 0 replies
  • 0 Helpful votes

I was hoping someone can give me some insight into this PYATS error when trying to learn "interfaces" on a NXOS switch running in ACI mode. If I issue the command "pyats learn interface --testbed-file testbed.yml" I get this error message listed belo...

Hi,Just started to play around with pyATS and genie.But I cannot connect to the switch via ssh. My testbed.yml file looks like this:devices: as-test2: connections: vty: ip: 172.21.31.6 protocol: ssh credentials: ...

boesch by Level 1
  • 7768 Views
  • 8 replies
  • 0 Helpful votes

Hello,How do I tell testbed to connect to devices of (let's say) type="router" ? I use couple of devices as proxy and would like to skip them in tests that are ran via pyats.easypy.So far the best solution I came up with is to filter them in every te...