Resolved! YDK server disconnection
Does anybody knows a way to clean close the provider connection in YDK 0.8.4? It complains about no attribute Disconnect() in provider or no __enter__ when used in a with clause in Python.
Does anybody knows a way to clean close the provider connection in YDK 0.8.4? It complains about no attribute Disconnect() in provider or no __enter__ when used in a with clause in Python.
Update: I got the fix but still ran in to same issue. I have also attched the full set of files that I used to test along with host vars. 1. I cloned the git repo https://github.com/ygorelik/ydk-gen to my VM 2. cd ydk-gen./generate.py --libydk -is...
Hello all! I've been trying to get ydk and ios-xe models installed on my Mac (macOS Catalina 10.15.4) following the requirements and tried solutions from different posts but nothing seems to work, any idea why this is? Thanks in advance! furdapil...
I followed - https://developer.cisco.com/docs/pyats-getting-started/but when I ran command pyats it saying command not found
Hi All,I am using YDK for getting config and state data from IOS XR (6.0.1) device such as interface configs, bgp configs etc. However I am getting the following error when script is executed. PIP freeze output:ydk==0.8.4ydk-models-cisco-ios-xe==16.9...
Hello experts,Can anyone help me to translate the following command to yang model? Thanks.show interfaces [interface_name]show interfaces [interface_name] detailshow controlllers SONET [interface_name]show controlllers [interface_name] phyclear cou...
Hi All,For installing YDK on Cent OS following prerequisites needs to be full filled as per documentation on ydk.io website. However some system requirements failing with following error for "devtoolset-4-gcc*". Could you please provide a solution.# ...
New and expanded version 0.1.8 of ydk-models-openconfig python package has been posted on pypi.org. The package corresponds to the openconfig YANG models revision of "2019-06-21". The package is targeted to use in YDK-0.8.4 based applications on the ...
I tried to extract IP address details of Cisco always on CSR router interfaces using Netconf. However that was not successful with YDK openconfig models. Suspecting there is a bug on openconfig-models used for YDK. Code------from ydk.services import ...
Hi folks, I'm looking for a way to generate NETCONF XML payload for an edit-config operation without actually performing a CRUD execution against an actual device. The CodecService seems to be intended for this, but I can't seem make use of YFilte...
Hi team, I'm trying to configure the following static layer 2 IGMP using REST API: ip igmp snooping vlan 1 static 239.1.2.3 interface Gi1/0/15 ip igmp snooping vlan 1 static 239.1.2.3 interface Gi1/0/16 The intent is to configure IGMP snooping o...
Hi Team,When tried to compile ydk-models-cisco-ios-xr with latest 7.2.1 models, we could not compile the below UM models for our YDK 0.5.5 environment. Pyang version : 1.7.4 or later Cisco-IOS-XR-um-if-arp-cfg.yang Cisco-IOS-XR-um-if-bundle-cfg.yang...
I'm trying to install this on both OSX & CentOS with no luck. I'm confident there is somethig wrong with my environment but unable to identify it. Hoping someone can point me in the right direction. I would prefer to get this working on OSX. xcode...
hi everybody,however I can use netflow command on router I couldn't use it on server on cisco packet tracer. So , is there any way to use netflow tab or any command that makes possible ? thanks for help...
Hi Following this blog post -https://blogs.cisco.com/developer/dna-center-pyats-genie with testbed file - devices: sandboxdnac2: alias: dnac type: dnac os: dnac credentials: rest: usern...
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 |
|---|---|---|
| 07-09-2026 01:16 PM | ||
| 06-12-2026 06:02 AM | ||
| 01-23-2026 01:56 PM | ||
| 06-02-2025 06:57 AM | ||
| 11-30-2024 01:34 PM |