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

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
  • 615 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
  • 425 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
  • 665 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
  • 378 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
  • 582 Views
  • 2 replies
  • 0 Helpful votes

Hi,This also applies to netconf.When router has ACL with ACE like permit tcp xxxx xxxx establish its not shown when doing get.ACE with permit tcp xxxx xxxx ack or other flag is shown when doing get.Checked with IOS-XE release 16.9.Any help appreciate...

y*** D*** by Level 1
  • 516 Views
  • 2 replies
  • 0 Helpful votes

Hello, I want to configure my YAML to connect to NETCONF. I see that class can be set to yang.connector.netconf. However I'd like to use YDK-py. Is there a connector for that? Or any other way to use YDK?   Thanks.

vadigreg by Cisco Employee
  • 556 Views
  • 1 replies
  • 0 Helpful votes
Top Solution Authors