sysrepo / sysrepo-python

Python bindings for sysrepo
BSD 3-Clause "New" or "Revised" License
27 stars 21 forks source link

Feature Request: support sr_install_module2 and its counterparts #76

Open roc-ops opened 4 days ago

roc-ops commented 4 days ago

Currently the only way to add a yang module using python is install_module, which does not take in initial data to populate required fields with.

i.e. there is no support for init-data as seen in sysrepoctl

sysrepoctl -i rphy\@2022-12-01.yang -v3 --init-data initial-data.xml

Could we get the sr_install_module2, sr_installmodules2 support in python to support the ability to initially populate data

samuel-gauthier commented 3 days ago

Since we maintain this repository on our own time, we are limited in what we can do. You can add it if you'd like.