clicon / clixon

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

Implement restconf netns default #437

Closed rbgarga closed 1 year ago

rbgarga commented 1 year ago

This PR branch is based on PR #436 and cannot be merged before it.

The idea is to make it possible to change default restconf network namespace as a configure option. Only 3 last commits belong to this one.

olofhagsand commented 1 year ago

With this change RESTCONF_NETNS_DEFAULT becomes a configurable compile-time option, instead of a static. My only comment I have is whether this option should be a runtime option? If so it should be added to clixon-configure.yang instead.