genie parser fails to parse ntp server if followed by "prefer" keyword show ntp configntp server x.y.15.4ntp server x.y.25.4 prefer only the first entry is parsed correctly. "ntp_config": { "stdout": [ "ntp server x.y.25.4 prefer\n ntp server x.y...
genie parser fails to parse ntp server if followed by "prefer" keyword show ntp configntp server x.y.15.4ntp server x.y.25.4 prefer only the first entry is parsed correctly. "ntp_config": { "stdout": [ "ntp server x.y.25.4 prefer\n ntp server x.y...
Hi pyATS community,just to let you know - or maybe I did anything wrong ... There are errors with the genie parser "show inventory" on some IOS devices. Steps to reproduce the problemInclude a C6880 (Sup2T based systems) in the testbed:devices: myD...
New to YDK and would like to get some help on how to use this package for the purpose I need: I have defined a new YANG model and would like to use YDK-gen for a couple of purposes:Develop a sample pair of NETCONF server and client for experimenting...
I am trying use the RestconfServiceprovider API for secure connection to rest-server.provider = RestconfServiceProvider(repo=repository, address="10.11.5.5, port=443, username="admin", p...
Hey All! First time Network Developer here. I've had some great fun with pyATS up until today where I keep getting issues trying to make a configuration change to a router on the DevNet sandbox. Here is what I'm trying to do: 1. Make a connection to ...
The ydk-api generate is "/interfaces". How to append the origin yang name "/openconfig-interfaces:" to the path.i.e., to generate path '/openconfig-interfaces:interfaces/'.
How would a simple YDK script would look for adding/removing ACEs in XR ACLs? Let's say we store ACEs in XML files and pass the file as an argument along with the device and the type of ACE operation (add or remove): $ ./nc-update-xr-ipv4-acl-cfg-...
Hi All, I'm trying to configure the SRGB value in ISIS to set the lower and upper bounds of the global label pool for segment routing using YDK and Cisco-IOS-XR-clns-isis-cfg. module: Cisco-IOS-XR-clns-isis-cfg+--rw isis+--rw instances+--rw instance...
You may wonder how you can create a loopback interface using the OpenConfig Interface model. Here's how: #!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...
Hi All, I'm trying a simple python script based on the YDK module to send some BGP configuration to ODL. I've based my script on the example found in core/samples/path_odl_bgp.py and bgp_xr_opendaylight.py. But when I run my script I got the foll...
I’ve hit this problem when getting the config of a IOS-XR 6.6.3 (YDK classes are for 6.6.2), it seems that YDK is not working well with the class 'Snmp' from module 'Cisco_IOS_XR_snmp_agent_cfg'. The 6.6.3 is supposed to be only bug fixes of 6.6.2 (I...
Hi,I have included the python installation in LD_LIBRARY_PATH, but while installing ydk through "pip install ydk", I am getting the following error:/tmp/pip-install-5vc0wm56/ydk/python.cpp:541:39: warning: unused parameter ‘left’ [-Wunused-parame...
I'm trying to configure BGP on Juniper vMX 19.2R1.8 using one of the examples in YDK repo:import logging from ydk.services import CodecService, CRUDService from ydk.providers import CodecServiceProvider, NetconfServiceProvider from ydk.models.openco...
Received the following error when running the below code and not sure how to troubleshoot it or see if it's a known bug on the code level I'm running on the switch or YDK library (any pointers on where to look for open bugs would be appreciated too)....
I hope that this forum has room for basic questions because by the looks of it you guys are well down this YDK path while I'm stumbling around. I'm really psyched about ydk-py, everything just looks awesome so I really want to learn this tool. One ...
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 |
|---|---|---|
| 01-23-2026 01:56 PM | ||
| 06-02-2025 06:57 AM | ||
| 11-30-2024 01:34 PM | ||
| 10-24-2024 12:59 AM | ||
| 11-16-2023 12:26 PM |