YANG Tools

The YANG Tools board hosts the discussions around YANG-related tools, such as the YANG Developer Kit (YDK), YANG Suite, and other tools for network automation.
Showing results for 
Search instead for 
Did you mean: 

        The YANG Tools forum hosts discussions around tools like the YANG Developer Kit (YDK), YANG Suite, and other network automation tools.
See the YANG Tools Knowledge Base for answers to some common questions.
For production deployment issues, please contact the Cisco TAC.
For direct help with developer issues, please open a ticket with DevNet Developer Support. Developer ticket support for networking is limited to the products listed here.

Forum Posts

crud service works, but not netconfservice

I'm working with csr1000v 16.4.1. I have this code:from ydk.models.cisco_ios_xe.ned import Nativefrom ydk.services import CRUDService, NetconfService, Datastorefrom ydk.providers import NetconfServiceProviderbgp = Native().router.Bgp()bgp.id = 100new...

fredrikjj by Beginner
  • 4 replies
  • 0 Helpful votes

New Release of YDK-Cpp has been posted (0.5.4)

Both ydk-gen and ydk-cpp have been updated at github.Here is a list of features that have gone into the release:Changed dependent libraries (#382)Use header-only spdlog library for loggingUse header-only catch library for testingCompletely remove boo...

abhirame by Cisco Employee
  • 0 replies
  • 1 Helpful votes

New Release of YDK-Py has been posted (0.5.4)

Both ydk-gen and ydk-py have been updated at github.Here is a list of features that have gone into the release:Improved logging to indicate message directionality (#388)Provide more details for validation error message for leaf-lists (#398)Remove ind...

abhirame by Cisco Employee
  • 0 replies
  • 1 Helpful votes

Resolved! Invalid List Element Type

Hi,I am new to YDK and having some problems when trying to apply an ip address to a created Loopback address.  Any pointers much appreciated.The following error is given:-ydk.errors.YPYModelError:   InterfaceConfigurations.interface_configuration: (I...

sihart by Cisco Employee
  • 2 replies
  • 1 Helpful votes

Resolved! what is the difference ydk-gen and yang-gen ?

As we know, yang-gen used by Opendaylight that converge yang to java api(https://wiki.opendaylight.org/view/YANG_Tools:YANG_to_Java_Mapping).  So my question is that what is the difference between yang-gen and ydk-gen ? Can use yang-gen in ydk-gen fo...

haofan by Enthusiast
  • 4 replies
  • 4 Helpful votes

CRUD error: routing-policy prefix set match

Hi experts!While trying to create a route-policy that includes a prefix-set match I get the following error:CREATE operation completedTraceback (most recent call last):  File "main.py", line 239, in <module>    rp_cfg = crud_service.create(ne, rp)  F...

Resolved! CRUD read operation returns None

Hello,I am playing with ydk and it works like charm for my IOS-XR devices. I created several applications and they all works. Then I tried to generate python API/Sphinx docs for Junos Yang models, that also worked like charm.However I cannot run a si...

Anton Abik by Enthusiast
  • 10 replies
  • 3 Helpful votes

Resolved! 800 series routers support

Hi,   I am new the Cisco world and have been trying to understand the IOS software and different versions.   I would like to programmatically access one of the cisco 880G series 4G LTE router to issue some commands.    Is this router can be use YANG ...

Resolved! redirect nexthop route-target in policy map

Hi expertsI have a policy map in our device and use the redirect nexthop route-target command.I've tried to get the policy map configuration with YDK and I can only get the class-name and class-type with no additional policymaprule.Can I get the full...

haoywang by Cisco Employee
  • 5 replies
  • 0 Helpful votes
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers
Top Solution Authors