Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-735

Spike: Support for Yang Language Extension

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • Jakarta Release
    • 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
      • 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***

            emaclee Lee Anjella Macabuhay
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: