clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Deviation not-supported should cause restconf http error code 501 #307

Open gdomeradzki opened 2 years ago

gdomeradzki commented 2 years ago

When deviation is applied on certain yang node it should be marked as not-supported and on restconf API HTTP error code 501 (not-implemented) should be returned.

olofhagsand commented 2 years ago

RFC 7950 does not clearly defines what the effect of deviations should be. I agree it sounds like a good idea to return not implemented, I mark it as enhancement request.