You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instance-identifier not being mapped. #123 was opened to address this issue, but got closed due to inactivity. So opening this issue because I don't know how to reopen that issue.
Elaborate on the issue?
I have created a test yang with instance-identifier defined as per RFC 6020
In #123@robshakir had asked for a patch with what the value instance-identifier should be mapped to. Whoever is the maintainer now, I can submit a patch taking a look at the netconf-rfc for the right mapping.
What version of pyang and pyangbind do you use?
Name: pyang
Version: 2.6.1
Summary: A YANG (RFC 6020/7950) validator and converter
Home-page: https://github.com/mbj4668/pyang
Author: Martin Bjorklund
Author-email: [email protected]
License: BSD
Location: /mnt/5a257e09-2112-4140-b6d0-529977714705/yang/.venv/lib/python3.12/site-packages
Requires: lxml
Required-by: pyangbind
pyangbind version:
Name: pyangbind
Version: 0.8.5
Summary: PyangBind is a plugin for pyang which converts YANG data models into a Python class hierarchy, such that Python can be used to manipulate data that conforms with a YANG model.
Home-page: https://github.com/robshakir/pyangbind
Author: Rob Shakir
Author-email: [email protected]
License: Apache License, Version 2.0
Location: /mnt/5a257e09-2112-4140-b6d0-529977714705/yang/.venv/lib/python3.12/site-packages
Requires: enum34, lxml, pyang, regex, six
Required-by:
Very sorry for the delay. I ended up having a lot of work in a few projects. I have written a draft PR. I wanted to ask if I also need to write custom logic to check that the value passed is a valid xpath? Instance identifier sets and gets the xpath itself.
What is the issue?
instance-identifier not being mapped. #123 was opened to address this issue, but got closed due to inactivity. So opening this issue because I don't know how to reopen that issue.
Elaborate on the issue?
I have created a test yang with instance-identifier defined as per RFC 6020
aeroplane.yang
I use this script to compile this yang to a py module using pyangbind
run_pyang.sh
I run above script and get this error
In #123 @robshakir had asked for a patch with what the value instance-identifier should be mapped to. Whoever is the maintainer now, I can submit a patch taking a look at the netconf-rfc for the right mapping.
What version of pyang and pyangbind do you use?
pyangbind version:
PC version:
The text was updated successfully, but these errors were encountered: