Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hi,I'm trying to use ydk to configure Huawei VRP devices using netconf.So far, I've managed to generate the ydk for the Huawei YANG files (located here: https://github.com/Huawei/yang), and have started to play with the API.I've got a simple bit of c...
Awesome, that was the last push I needed! Using the netconf service works well.For completion, my full test script is as follows.
from ydk.filters import YFilter
from ydk.services import NetconfService, Datastore
from ydk.providers import NetconfServ...
Thanks for your help so far, I feel I'm getting very close.This is what I have so far:
from ydk.filters import YFilter
from ydk.services import CRUDService
from ydk.providers import NetconfServiceProvider
from ydk.models.huawei import huawei_ifm
# L...
I've done more digging. The yang models it is complaining about are indeed being sent by the device.I believe this could be a YDK bug. When debugging on the device I am attempting to configure, it shows the module being sent looking like:
<?xml versi...
Further to this, I've added some logging, and am seeing the following:
Path where models are to be downloaded: /home/dave/.ydk/cor1.lond2.lab:22
Connected to cor1.lond2.lab on port 22 using ssh with timeout of -1
Executing CRUD create operation
Data ...