Tools

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

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 2
  • 5882 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
  • 1217 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
  • 792 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-entries. I've tried...

vadigreg by • Cisco Employee
  • 1378 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
  • 979 Views
  • 1 replies
  • 0 Helpful votes

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

vadigreg by • Cisco Employee
  • 1763 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
  • 806 Views
  • 1 replies
  • 0 Helpful votes

Resolved! YDK+PyATS

Hello, I'm from the EN wireless team in Cisco. I've tried to generate code for some of the YANG files we use in wireless and that seems to work just fine. So now I want to use Pyats (no Genie) to test programmability. Usually we have YAML defining ou...

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