Tools

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

Forum Posts

Hi Following this blog post -https://blogs.cisco.com/developer/dna-center-pyats-genie with testbed file -  devices:     sandboxdnac2:         alias: dnac         type: dnac         os: dnac         credentials:             rest:                 usern...

omz by VIP Alumni
  • 1370 Views
  • 1 replies
  • 0 Helpful votes

Hi,simple question : for the forseeable future the software frameworks associated with Cisco products and services will run on Python 2 or there are plans to introduce Python 3 ? A person studying for a certification in the 2020 should go for Python ...

JonDon57161 by Community Member
  • 1201 Views
  • 1 replies
  • 0 Helpful votes

genie parser fails to parse ntp server if followed by "prefer" keyword show ntp configntp server x.y.15.4ntp server x.y.25.4 prefer only the first entry is parsed correctly. "ntp_config": {  "stdout": [    "ntp server x.y.25.4 prefer\n ntp server x.y...

Al_b by Community Member
  • 1745 Views
  • 5 replies
  • 0 Helpful votes

I am trying use the RestconfServiceprovider API for secure connection to rest-server.provider = RestconfServiceProvider(repo=repository,                 address="10.11.5.5,                 port=443,                 username="admin",                 p...

ydkdev by Visitor
  • 813 Views
  • 1 replies
  • 0 Helpful votes

Hey All! First time Network Developer here. I've had some great fun with pyATS up until today where I keep getting issues trying to make a configuration change to a router on the DevNet sandbox. Here is what I'm trying to do: 1. Make a connection to ...

How would a simple YDK script would look for adding/removing ACEs in XR ACLs?  Let's say we store ACEs in XML files and pass the file as an argument along with the device and the type of ACE operation (add or remove):   $ ./nc-update-xr-ipv4-acl-cfg-...

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

Hi All, I'm trying to configure the SRGB value in ISIS to set the lower and upper bounds of the global label pool for segment routing using YDK and Cisco-IOS-XR-clns-isis-cfg.  module: Cisco-IOS-XR-clns-isis-cfg+--rw isis+--rw instances+--rw instance...

sdefriez1 by Visitor
  • 1912 Views
  • 4 replies
  • 0 Helpful votes

You may wonder how you can create a loopback interface using the OpenConfig Interface model.  Here's how:   #!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...

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

Hi All,   I'm trying a simple python script based on the YDK module to send some BGP configuration to ODL. I've based my script on the example found in core/samples/path_odl_bgp.py and bgp_xr_opendaylight.py.   But when I run my script I got the foll...

voxnetwork by Frequent Visitor
  • 2305 Views
  • 6 replies
  • 0 Helpful votes

I’ve hit this problem when getting the config of a IOS-XR 6.6.3 (YDK classes are for 6.6.2), it seems that YDK is not working well with the class 'Snmp' from module 'Cisco_IOS_XR_snmp_agent_cfg'. The 6.6.3 is supposed to be only bug fixes of 6.6.2 (I...

vsoaresf by Cisco Employee
  • 1116 Views
  • 1 replies
  • 0 Helpful votes

Hi,I have included the python installation in LD_LIBRARY_PATH, but while installing ydk through "pip install ydk", I am getting the following error:/tmp/pip-install-5vc0wm56/ydk/python.cpp:541:39: warning: unused parameter ‘left’ [-Wunused-parame...

sindhujit by Frequent Visitor
  • 6015 Views
  • 16 replies
  • 0 Helpful votes