|
A quick examination shows that restconf-nb is using the namespace constants as well – which means we are reaping the benefits of NETCONF-892/NETCONF-944 and are actually finding commonalities.
NamespaceURN is leading the way, and it should be defined at protocol layer. Create a new component, protocols/netconf-common and a corresponding feature (odl-netconf-common), to host these definitions.
Going forward, as we disaggregate restconf-nb (which has no protocols/ or plugins/ presence), we are sure to find more concepts that as shared.
A note on naming: just as netconf.git reflects the fact that both NETCONF and RESTCONF come from IETF's NETCONF Working Group, so does 'netconf-common' – with "NETCONF Working Group" being implied here. At the end of the day we have expected this sort of outcome from the get to, it is just now that we start taking advantage of the commonalities.
|