Hi all,I'm just starting my Netconf/Yang journey. I figured I'd start small - setting the hostname of a CSR1kv. The following works fine on IOS-XE 16.12.4:#!/usr/bin/env python3from ncclient import managerconfig_snippet = """<config> <native xmln...
Now that YANG Suite is installed and running, lets understand a bit more about what is required on the device side. In this case the device is Catalyst 9300 but could be any of the switching, routing, or wireless devices running IOS XE that support N...
Hi All, Can someone help me please.I have generated and used the python script generated from Yang Suite but with some modifications (please see "ospf_add_interface_v15.txt") to add Loopback100 interface under the OSPF100 process in area 0. The file ...
Hi,I am using https://devhub.cisco.com/artifactory/debian-ydk/0.8.4/xenial/libydk-0.8.4-1.amd64.deb.Using the given scripts (generate.py -cpp) etc I am able to generate the libydk.a , however, I would like to generate the corresponding .so files.Do f...
Hello, I try to create a python script and schedule it to run every 5 minutes on Nexus switches.One of the checks, it will be the output of a simple ping. I have tried different ways to execute a ping from python script but nothing works.When i run t...
I'm trying to get pyATS to work, but it won't connect to the devices in any way.There are several vIOSs deployed in the EVE-NG lab and connection refused occurs when pyATS try to connect to my devices.The hostname matches the hostname in the testbed....
Released on September 30, 2021. The following changes since release 0.8.5.2 have been introduced: New features and enhancementsUpgraded pyang version to 2.5.0Create go wrapper for NetconfSession and other path APIs (#779)Added SSL support for Netconf...
Hello,I wrote following code to fetch ospf configuration from the CSR router but not able to obtain it. Please see the output. Can anyone please help me know what's wrong? from xml.dom import minidomfrom ncclient import managerm = manager.connect(hos...
Hello, I am getting following error while trying to use the filter for netconf in Python. Please help to make corrections: m = manager.connect(host="sandbox-iosxe-latest-1.cisco.com", port=830, username="developer", password="C1sco12345", hostkey_ver...
Hello everyone, I'm quite new to this and I'm wondering how you guys convert your own data model to a valid yang data model that you can send to the device? My problem is that in your own data model "IAC" you have this file to configure an ACL:acls:[...
I found if I save a topology from NeXt using:save = function() {
localStorage.setItem('topology', JSON.stringify(topology.graph().getData()));
};Then I try and load the saved data: load = function() {
topology.setData(...
I'm trying to generate a small example and for some reason nothing seems to be generated.This is my yang file:module ex-example {
yang-version 1.1;
namespace "ex:ex-example";
prefix qc;
description
"This YANG module has bee...
I'm trying to run generate.py on Ubuntu 20.04, and I'm getting this error:CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files:ss...
Hi, I'm trying to install yangsuite on linux (Kali on WSL), but I received this error: Building docker containers...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_resp...
hi, i tried to deploy YDK on Ubuntu 20.04 by following the documentation and the installation fails at some point. Basically the GPRC and GNMI all succeed but when it comes to installing ydk-models-cisco-ios-xr this is where things break. I finally...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: