-
Task
-
Resolution: Done
-
Medium
-
None
-
None
Explore Yang Language Extension Concept (summary for team)
- Confirm that we can extend the YANG language
- e.g adding boolean values to attributesĀ
- *Origin may be an annotation or an extension
- https://datatracker.ietf.org/doc/rfc8526/
- we are looking for extension
- Candidates for extension (background information)
- 1. provide references between models (CM handles)
- 2. fine-grained configuration of cache
- full cm-handle
- YANg node (fragment)
- attribute
- 3. fine-grained control of notification
- what do we actually notify when we change something**
- 4. fine-grained access control
-
- Check support in ODL parser for Yang language extensions
A/C
- Sample YANG language extension defined
- can be applied to a standard model
- model can be parsed by ODL. Java ODL model (SchemaContex) includes data defined by extension, seeĀ org.onap.cps.yang.YangTextSchemaSourceSetBuilder#generateSchemaContext)
- data can be parsed by ODL
- Demo above using (groovy) test and debugging
Constraint:
- show that it's possible to return to the standard model***