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

I have been trying so hard to install YDK-PY in my MacBook. I followed the given documentary, but it did not work. However, it did work on Linux-based machine Ubuntu. Could you please provide a full installation?

khalilmeb by Level 1
  • 3368 Views
  • 11 replies
  • 0 Helpful votes

 I am new to this net programmability field and YANG. So, I am looking for some advises here.I started using ncclient to interact with devices and models. But it is time consuming to decode the modul and code your filters (like <config><native><ip><r...

When installing YDK on Centos7 as root, I'm getting the following authorization errors:   # yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpmLoaded plugins: enabled_repos_upload, langpacks, package_upload, produ...

Hi,Would it be possible to export releases of the VM in qcow2 too? The reason I'm asking is because GNS3 integration would be much simpler then: I can create a template (aka appliance) file for QEMU VMs and, using that, users can import the VM with a...

How can I find the substatements of a schema node? For example, if it is a configuration node or mandatory node? Or in the case of list nodes, how do I find the keys? I the script below, I can find out the keyword and argument for timer, but I can't ...

tadeshpa by Cisco Employee
  • 508 Views
  • 1 replies
  • 0 Helpful votes

Hi Team,   We get the container and leaf objects or names from below wiki “http://ydk.cisco.com/py/docs/gen_doc_531564d964aade059e8139143a74c349e994da1a.html#ydk.models.cisco_ios_xr.Cisco_IOS_XR_config_mda_cfg.ActiveNodes.ActiveNode.ClockInterface.Cl...

Screen Shot 2020-06-25 at 4.39.41 PM.png
shhaneef by Cisco Employee
  • 345 Views
  • 1 replies
  • 0 Helpful votes

Hello, I'm trying to delete all elements from a list. My YANG is like: container wlan-cfg-data { container wlan-cfg-entries { list wlan-cfg-entry { key "profile-name"; So basically I want to remove all wlan-cfg-entry from wlan-cfg...

vadigreg by Cisco Employee
  • 601 Views
  • 3 replies
  • 5 Helpful votes

Hi, I am using the Ydk-gen's XmlSubtreeCodec Api's. I am able to generate Ydk-gen C++ Object from Xml data using decode API.Now I want to convert Ydk-gen C++ Object to Xml string using encode(). Somehow I am unable to do that, as from the documentati...

Hi Team,   You can see that in the link below there are some platform-specific yang models such as Cisco-IOS-XR-fretta-dnx-lpts-oper.yang, Cisco-IOS-XR-spitfire-lpts-oper.yang, Cisco-IOS-XR-asr9k-lpts-oper.yang https://wwwin-opengrok.cisco.com/xr-dev...

anibhara by Cisco Employee
  • 411 Views
  • 1 replies
  • 0 Helpful votes

Is their a way via YANG to lookup a subscriber session for the BNG? basically the YANG equivalent of sh subs session filter username XXXXXX detail location 0/rsp0/CPU0sh subs sess filter mac-address XXXX.XXXX.XXXX detail location 0/rsp0/CPU0

Hello, I can see a weird behavior with gNMI. Here is what I got: repo = Repository() provider = gNMIServiceProvider(repo=repo, address=args.gnmi.hostname, p...

vadigreg by Cisco Employee
  • 646 Views
  • 2 replies
  • 0 Helpful votes

Hello, I'm trying to connect a restconf provider (in python) to my device. However when I try I get the following error: 2020-06-08 18:59:32,530 - ydk - INFO - Unable to retrieve restconf root. Assuming '/restconf' as the root 2020-06-08 18:59:32,530...

vadigreg by Cisco Employee
  • 361 Views
  • 1 replies
  • 0 Helpful votes