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

Hi,I am trying to understand the leafref statement in YANG and how it is realized in YDK-gen.I am using Cisco IOS XR 632 openconfig-interfaces.yang and try to create an interface configuration like this:     def config_openconfig_interfaces_ipv4(self...

Hi,I am trying to run linuxcfg example from confd-basic (6.3 and not newer a YDK doesn't support YANG 1.1 - python classes generation fails).NETCONF query works just fine and returns as expected a list of interfaces (as this is what I am asking for)....

Hi,While attempting to run ydk code with go on my Ubuntu machine (1.6.2, same version is in the docker container) I get:/usr/lib/go-1.6/src/github.com/CiscoDevNet/ydk-go/ydk/types/types.go:331: syntax error: unexpected = in type declaration/usr/lib/g...

Currently using most up-to-date Cygwin version (2.10.0), and trying to install ydk via pip (also most up-to-date version, 10.0.1). When I try to install the requirements, most of them work properly, but I can't seem to install https://devhub.cisco.co...

jiaqin by Level 1
  • 1924 Views
  • 3 replies
  • 0 Helpful votes

Hi TeamI was trying to install YDK in my server and tried the below things. But ended up with the error saying no module named git.https://wiki.cisco.com/display/PYATS/YDK#YDK-UsingYDK-GenRequesting you to help me on this.1. GIT Clone.git clone https...

Koushal by Cisco Employee
  • 3680 Views
  • 6 replies
  • 1 Helpful votes

So is there any example to specify xpath when doing get-config Path API ?I started with a sample as follows;root_schema = session.get_root_schema()get = Truesys = root_schema.create_datanode("ietf-interfaces:interfaces/interface", "")#sys.create_data...

Hi  !I tried to run test code with purpose to fetch configuration from deviceI used netconf service (both "get" and "get_config" operations), but face an issueIn log I could see messages like:Can't find data tag in reply sent by device<requested-devi...

I am running on v1.3 - any help ?9k1(config-if)# int po1 Stub Library could not be opened *** libdstats_eth.so: cannot open shared object file: No such file or directory ***im_get_ifindex_layermode failure 40480003 0 1im_get_ifindex_p2p_mode failure ...

YDKpy 071 and XRv9K version 632Trying persistent confirmed commit with Netconf service and facing some strange behaviour.With this code section it works like charm:netconf.edit_config(provider, datastore_candidate, rpm)netconf.commit(provider, confir...