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...
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...
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...
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, This is a "what am I doing wrong?" question. Any hint would be appreciated ;)) The code works fine as long as I set GUA IPv6 addresses, but when I try to set a link-local IPv6 address with the code below, I get the following error :$ python3 ....
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...
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...
Hi, I'm want to use the 'genie diff' feature to compare the routing tables of multiple devices between snapshots.The routing domain I'm interested in is on the global VRF on some devices and in a VRF on others. I'd hoped that I could specify the VRF ...
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...
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...
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.
Hi Team, From the latest ydk page (0.8.3) (http://ydk.cisco.com/py/docs/gen_doc_dfe42d73c3f4f1961e486d4f23a11f136f62317a.html#ydk.models.cisco_ios_xr.Cisco_IOS_XR_ifmgr_cfg.InterfaceConfigurations.InterfaceConfiguration) the container name for freq...
Appreciate your help. How can i use ydk docker image to generate python code for my yang model? I'm a beginner. Is there any documentations to follow?
Hi there, I'm using the YDK docker image, so I'm assuming that the software versions are correct, but regardless of the code that I write I get the following bunch of errors:2020-06-02 15:05:58,515 - ydk - ERROR - Data is invalid according to the yan...
I'm sorry if this has been answered somewhere. I've tried looking through the forums first and at the YDK documentation. I'm new to YANG/NETCONF, and I'm not sure if what I want to do is invalid, or if it's just the approach that I'm taking is wrong....
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Subject | Author | Posted |
---|---|---|
11-16-2023 12:26 PM | ||
10-17-2023 06:43 AM | ||
10-06-2023 08:28 AM | ||
10-04-2023 12:40 AM | ||
09-07-2023 03:21 PM |