Tools

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

Forum Posts

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 Community Member
  • 1159 Views
  • 4 replies
  • 0 Helpful votes

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
  • 461 Views
  • 0 replies
  • 1 Helpful votes

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
  • 535 Views
  • 0 replies
  • 1 Helpful votes

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
  • 1318 Views
  • 2 replies
  • 1 Helpful votes

Hi,I am tring to update selected node's properties like status,latitude and other some node data properties. For example upon on update method "methods: {// what happens when you hit 'Save' button'update': function () {$.ajax({type: "POST",url: "upda...

Hi all,I've  defined FRMapLayout a new layout, which has the SVG of the map of France and it works (i.e., correctly displayed). However, when I set the coordinates of  my nodes (each node correspond to a city for example Paris) they are not positione...

sshrabah43 by Community Member
  • 2478 Views
  • 4 replies
  • 0 Helpful votes

Hi, while trying to check data in Cisco_IOS_XR_ip_rib_ipv4_oper modul getting error ydk.errors.YPYModelError: 0 already in list. Logs and sample code in attachment. Any idea pls if doing something wrong?Traceback (most recent call last):  File "rib_o...

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 Level 2
  • 1841 Views
  • 4 replies
  • 4 Helpful votes

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

Hello:A pair of questions:1) I have tried the force layout for my initial use case (40 nodes and 100 links), but it's still messy.  My second use case is a larger network. Any other way to improve the automatic position of the nodes?2) Considering th...

raul.mujica by Community Member
  • 3445 Views
  • 5 replies
  • 0 Helpful votes

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 Level 3
  • 3526 Views
  • 10 replies
  • 3 Helpful votes

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