Tools

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

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...

Hi, When I start trex manually, via: cd /opt/trex/DevX-TRex-v23.05-v2.99-63 & ./t-rex-64 -i it runs in a stable state. However once I run pyats run job, TRex crashes with: ./t-rex-64: line 106: 184608 Segmentation fault      (core dumped) ./_$(basen...

aabdu by Cisco Employee
  • 981 Views
  • 1 replies
  • 0 Helpful votes

Hi everyone, I am trying to create a script to remove unwanted users/usernames in our network equipments. I am currently using netmiko 4.2.0 and python 3.7.9. I am already connected via SSH but can't seem to push the commands through. Here is my code...

bryg0d by Frequent Visitor
  • 1365 Views
  • 1 replies
  • 0 Helpful votes

YANG Suite is here Well after a long anticipated release the YANG Suite tooling is finally here. Lets take a quick look at some resources for the tool as well as the getting started workflow once it has been installed and is running.   Resources   De...

jcohoe by Cisco Employee
  • 6126 Views
  • 5 replies
  • 10 Helpful votes

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...

assadniang by Level 2
  • 3199 Views
  • 10 replies
  • 0 Helpful votes

Greetings,   I was able to find the Cisco-IOS-XR-ping-act model to automate the Ping actions. But is there anything similar for the XE platforms? I cannot find any. And if none exists, what is a common solution to that - to automate ping action on XE...

Xiang Zuo by Cisco Employee
  • 2193 Views
  • 3 replies
  • 0 Helpful votes

There is an error when trying to get config in part 4 step 1 b, the code is not good as of at least 31.12.2023.(ios-xe version 16.9)this is the code to get the output from the lab:from ncclient import managernetconf_filter = """                      ...