Tools

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

Developer Sustainability Week Events

Build for Better Code Challenge

Cisco U. Spotlight Registration


>> View previously featured conversations <<

Forum Posts

Hello.I'm trying to implement this solution to be able to describe YANG models in YAML and build appropriate models using YDK modules.But I'm kind of stuck. Here is what I'm testing right now:from ydk.services import CRUDService, CodecService from yd...

I am playing with the Netconf. I have tried both copying/pasting the XML code and with the python ncclient library. Here is my code for getting the entire router config. --- XML ---<?xml version="1.0" encoding="UTF-8" ?> <rpc message-id="101" xmlns="...

Hi, happy holidaysI am new to the development world and I am studying the automation on Cisco. I have studied materials I found on Google about Yang and Netconf. I am able to follow instructions to do simple communications. One question I can't seem ...

This is related to YANG module Cisco-IOS-XE-wireless-wlan-cfg.The container I'm working on is below. Is it possible to change the value of "policy-profile-name" after the resource is created? When I attempt to do so, I receive a 'mismatched keypath' ...

neteng1 by Level 1
  • 880 Views
  • 1 replies
  • 0 Helpful votes

Hi Team,   Currently, ydk-gen is with pyang 1.6, which is compatible with YANG 1.0. But we have some models developed with yang 1.1. When I try to compile them using pyang, I get the following errors: cnbng-cp.yang:3: error: bad value "1.1" (should ...

sashmish by Cisco Employee
  • 589 Views
  • 1 replies
  • 0 Helpful votes

Hello All,Utilizing the Genie BGP conf library, one can populate necessary information inside the BGP conf treeBgp    +­­DeviceAttributes        +­­ PeerSessionAttributes        +­­ PeerPolicyAttributes        +­­ VrfAttributes              +­­...

l00pback by Level 1
  • 1247 Views
  • 1 replies
  • 0 Helpful votes

Hi, i am trying to configure the line "random-detect discard-class 1 10 ms 12 ms" under policy map on iosxr   my code snippet: #importing all required libraries here from ydk.models.cisco_ios_xr import Cisco_IOS_XR_infra_policymgr_cfg as  xr_infra_p...

arynair by Cisco Employee
  • 598 Views
  • 1 replies
  • 0 Helpful votes

Hi, I am trying to configure QoS on iosxrv using the ydk-py however, when applying queue-limit, I get an error from the system saying schema not found.   my code snippet: #importing all required libraries here from ydk.models.cisco_ios_xr import Cis...

arynair by Cisco Employee
  • 791 Views
  • 1 replies
  • 0 Helpful votes

hi, I need to get only vrf operational data under BGP, but am getting an error when I try to read it. Please guide me on how I can get the required output   from ydk.models.cisco_ios_xr import Cisco_IOS_XR_ipv4_bgp_oper as xr_ipv4_bgp_oper #BGP in...

arynair by Cisco Employee
  • 2851 Views
  • 9 replies
  • 0 Helpful votes