CiscoDevNet / yang-explorer

An open-source Yang Browser and RPC Builder Application
Apache License 2.0
438 stars 177 forks source link

Are some yang models unsubscriptable? #51

Closed hellt closed 7 years ago

hellt commented 7 years ago

Hi, Is it ok that I cant subscribe to some models? For example to bundled ietf-inet-types and some others? Clicking on Subscribe just has no effect on these models. Logs (debug is not active) shows nothing strange, I receive some 200 OK response.

einarnn commented 7 years ago

Models like ietf-inet-types do not have any data nodes, so you won't see anything when you subscribe to them. They are dependencies of other modules, and will thus be imported by those other models as required.

IOW, this is ok, yes! :)

hellt commented 7 years ago

Thanks for explanation. Should it be indicated somehow, maybe in a status bar or with popup? Because now for yang-newbies it feels like smth is not working. Just suggesting...