Afternoon everyone, I'm trying to connect to an APIC using PyATS and the rest.connector.Rest method, but no matter what, I get authentication failures. Here is my testbed file:devices:
apic:
os: apic
type: apic
custom:
abs...
Hello,I need help to recover the cli prompt> after a Dialog conversation:Since PyATS Junos does not have support for linux shell# access, I am using the Dialog conversation to accomplish sending commands in shell mode1- From cli> enter shell with 'ex...
got no module error, but when I looked master that it seems trex_subinterface_stats.py is no longer exists in latest master
was it replaced by new functions?
linux-host0:/opt/trex/DevX-TRex-v23.11-v3.03-34/automation/trex_control_plane/interactive/...
Hi,
I am new to YANG/Netconf. Apologies in advance if there is an obvious answer to my question.
I am using the Yang models of the https://github.com/YangModels/yang repositories, Python 3.9.2 and pyang 2.5.3 for the following:
I am trying to get a f...
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...
Hello, I discovered genie parser and it's awesome.I installed pyats[library] + genie + pyats-genie-command-parse 1.3.9 on ubuntu 20.04I use it on .txt files as explained at the url :https://community.cisco.com/t5/controllers/use-genie-parser-on-text-...
Hi,Running this query results in a timeout. I queried with or without neighbor element, however, results are the same. Any workaround to not time out? Route scale is about 12K routes inside the VRF table.Neighbors Configured: 6 Established: 5Address-...
I have a cisco Cisco IOS XE Software, Version 17.03.05 on cisco ASR1001-HX (1SR) processorI am running this simple netconf yang code to get the runninmg config
import xmltodictimport xml.dom.minidomfrom ncclient import manager
router = {'ip': '192.11...
I have been able to use this yang model to get a lot information about AP: https://wlc_ip/restconf/data/Cisco-IOS-XE-wireless-access-point-oper:access-point-oper-dataBut that YANG model does not have any information about APs that goes down, and fall...
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...
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...
Hi Folks,I'm exploring Cisco pyats and am wondering if there is a utility to generate a network diagram from the testbed yaml file?I have seen simple text based diagrams on various discussions/blogs, but am not sure if these were created manually of ...
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
# ...