Tools

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

Forum Posts

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
  • 2023 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
  • 3546 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
  • 3664 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 ...

Hi,I learned about NextUI on a Cisco DevNet Event and I found it perfect for a project I am working on. But I am struggling to get some things working. Let me enumerate my questions:1. Can I set the node disposition automatically in a ring topology w...

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
  • 2236 Views
  • 5 replies
  • 0 Helpful votes

Just wanted to share that we found a bug where the model cleared but we were unable to commit a sub-interface to an existing interface on IOS-XR 6.1.2 (submitted case 681760171)commit-reply<?xml version="1.0"?><rpc-reply message-id="urn:uuid:00f97ce8...

dave_stern by • Community Member
  • 3054 Views
  • 1 replies
  • 0 Helpful votes

Resolved! commit replace

Hi,I would like to ask if I can do "load ftp:<username>:<password@<host>/config_file.cfg" and "commit replace" operation via ydk-py??Thanks a lot!!

yitung by • Cisco Employee
  • 1633 Views
  • 1 replies
  • 0 Helpful votes