I'm playing around with using Genie in a python script. Whenever I do anything with Genie, like device.connect(), it prints the output to the console. How do I suppress that? Thanks, Mike
I'm playing around with using Genie in a python script. Whenever I do anything with Genie, like device.connect(), it prints the output to the console. How do I suppress that? Thanks, Mike
HelloThis is more a python question rather than a NETCONF/Yang question.I'm getting data from an IOS-XR device using NETCONF about bgp peers in the device.I need to parse the output i'm getting into a dictionary for further use in the codeThe queried...
Hi all I have a small script that collects information from a list of devices, but it takes a long time. I have found out that there is a disconnection time of 10s I think I am hitting. I have found the documentation that says I can change the settin...
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...
would appreciate to see an example using Trex to simulate traffic that can scale up mac-address table on DUT(switch). thanks
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...
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Subject | Author | Posted |
---|---|---|
06-02-2025 06:57 AM | ||
11-30-2024 01:34 PM | ||
10-24-2024 12:59 AM | ||
11-16-2023 12:26 PM | ||
10-17-2023 06:43 AM |