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
With from_raw() can a data-instance of a YANG model be loaded. In our specific instance we load a data instance of the "ietf-interfaces" model from an IOS-XE device over RESTCONF (https:///restconf/data/ietf-interfaces:interfaces/), like the one below. This works perfectly.
When the request is specified to only return one interface from the list (e.g. https:///restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet1), the returned JSON representation looks like the second one below:
If this instance is loaded, an exception is thrown: Illegal object member: /ietf-interfaces:interface. As far as I have seen from the documentation, no such filtered models are loaded. Is this not an intended use-case, a bug, or am I overlooking something?
The text was updated successfully, but these errors were encountered:
With
from_raw()
can a data-instance of a YANG model be loaded. In our specific instance we load a data instance of the "ietf-interfaces" model from an IOS-XE device over RESTCONF (https:///restconf/data/ietf-interfaces:interfaces/), like the one below. This works perfectly.When the request is specified to only return one interface from the list (e.g. https:///restconf/data/ietf-interfaces:interfaces/interface=GigabitEthernet1), the returned JSON representation looks like the second one below:
If this instance is loaded, an exception is thrown:
Illegal object member: /ietf-interfaces:interface
. As far as I have seen from the documentation, no such filtered models are loaded. Is this not an intended use-case, a bug, or am I overlooking something?The text was updated successfully, but these errors were encountered: