[NETCONF-668] RFC7895/RFC8525 implementation should be independent of any other modules in a separate feature Created: 23/Apr/20 Updated: 15/Dec/23 Resolved: 19/Sep/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf, restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Improvement | Priority: | Highest |
| Reporter: | Vladyslav Marchenko | Assignee: | Stephanie Brey Dee |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Currently we have two places where RFC7895 was implemented independently (mdsal-netconf-yang-library and restconf-nb modules). See SchemaServiceToMdsalWriter and SchemaContextHandler classes. As a first step towards that, evaluate the content of netconf.git and create a apps/yanglib-mdsal-writer which both netconf-nb and restconf-nb will pull in. |
| Comments |
| Comment by Robert Varga [ 26/Apr/20 ] |
|
So the long-term solution for this would be to have a separate, dynamic datastore shard, which would not need to be written but rather would react to schema being populated, and project that information as a datastore (i.e. similar to a JMX bean). The trouble is a bit clustered environment – DOMSchemaService is a local property, yet the datastore is replicated, hence ... yanglib really becomes a per-datastore (in sense of https://tools.ietf.org/html/rfc8342) thing and DOMSchemaService is really on its way out. Unfortunately we are not there yet with the respective interfaces, so a simple split here, perhaps an integration with singleton-service and we could call it a day. |