Tools

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

Forum Posts

I'm working on an PoC for ASR9K. And would like to demonstrate how to program the MPLS-te tunnel.First thing first, I want to know how to program the LDP like the CLI below?? any sample config??I saw there is a Cisco_IOS_XR_mpls_ldp_oper module and C...

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

May I know how to "no shutdown" the interface??I can only find the interface_configuration.shutdown=empty() to explicitly shutdown the interface but can't find a function to explicitly no shutdown the interface.Many Thanks!

yitung by Cisco Employee
  • 3094 Views
  • 3 replies
  • 0 Helpful votes

We've reached over 500 YDK-Py sample apps in the ydk-py-samples repository!514 apps34 data models (config, oper, RPC)3 model bundles (Cisco IOS XR, OpenConfig and IETF)3 YDK services (CRUD, Codec, Executor)1 repository (ydk-py-samples)New year's reso...

saalvare by Cisco Employee
  • 794 Views
  • 0 replies
  • 0 Helpful votes

We all hope to leave SNMP behind, but for the time being, we'll have to deal with it.  Now, if we want to test SNMP traps, IOS XR defines 33 RPCs in the model Cisco-IOS-XR-snmp-test-trap-act.yang.  You will find 78 sample apps for entity, infra, inte...

saalvare by Cisco Employee
  • 1256 Views
  • 0 replies
  • 0 Helpful votes

When I create the ospf process, it shows the following error:======================================        error-type: application        error-tag: operation-failed        error-severity: error        error-path: ns1:ospf/ns1:processes/ns1:process[p...

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

In a previous post (Let's roll back the last configuration commits), we discussed how to use the Executor service to roll back the last configuration changes.  XR actually has three more RPCs defined in Cisco-IOS-XR-cfgmgr-rollback-act.yang. Looking ...

saalvare by Cisco Employee
  • 969 Views
  • 0 replies
  • 1 Helpful votes

In two previous post, we discussed the Executor service and how to send custom syslog messages using that service.  In addition to the Syslog RPC (action), XR 6.1.2 also provides an RPC to rollback configuration.  Here are three sample apps to roll b...

saalvare by Cisco Employee
  • 1498 Views
  • 0 replies
  • 0 Helpful votes

Ok, hopefully, we don't have to rely on Syslog much longer for network management, but, for the time being, let's see how to automate custom Syslog messages.  Cisco IOS XR has allowed you to generate custom Syslog messages for quite some time.  Histo...

saalvare by Cisco Employee
  • 1225 Views
  • 0 replies
  • 0 Helpful votes

HI Santiago,I tried to use nc-read-xr-shellutil-cfg-20-ydk.py to read the hostname on a IOS-XRv on VIRL. However, it said the server reject...What I modified the code is changing "import urlparse" to "import urllib.parse" because I'm using python3.an...

yitung by Cisco Employee
  • 1701 Views
  • 6 replies
  • 0 Helpful votes

The first version of ydk-cpp has been released on github as version 0.5.2 (alpha)!Here is a list of features that have gone into the releaseIntroduced support for C++ YDK bindings (issue#118, related commits and pull requests)Added support for CRUD, ...

abhirame by Cisco Employee
  • 606 Views
  • 1 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 releaseCRUD service / Codec service / Netconf service improvementsImproved error handling for mismatched model API types (#241)Fixed issues with ce...

abhirame by Cisco Employee
  • 713 Views
  • 1 replies
  • 6 Helpful votes

More than 400 sample apps26 XR native modelsFour OpenConfig modelsTwo services (CRUD and Codec)One Github repository: ydk-py-samplesWorking on the next 100 (more openconfig models, new services, more XR models)!!

saalvare by Cisco Employee
  • 498 Views
  • 0 replies
  • 5 Helpful votes

SR mappings are required to connect SR devices with other MPLS devices using LDP.  Here are five sample apps to configure IPv4 and IPv6 mappings:nc-create-xr-segment-routing-ms-cfg-20-ydk.py - mapping with single IPv4-to-SID rangenc-create-xr-segment...

saalvare by Cisco Employee
  • 934 Views
  • 0 replies
  • 0 Helpful votes