Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Addresses: 

Jira Legacy
serverONAP JIRASystem Jira
serverId425b2b0a4733707d-557c2057-3c0c3a0f-b515ae5e-579789cceedb4fd8aff50176
keyCPS-43


Points

  • Module Set contains (references) set of YANG definition files
  • Module Set belongs to dataspace
  • Module Set content is used to build the Schema Context
    • Schema Context is not persisted, it's built on demand
    • Schema Context may contain multiple modules (data models)modules 
    • Schema Context is served by CPS Core service and referenced in neither API nor SPI
  • YANG definition files within a single Module Set should be validated as non-conflicting before persistence
  • YANG definition files are stored as original source content
    • YANG definitions are uniquely  identified by their content (MD5 checksum)
    • Same YANG definitions could be used by multiple Module Sets

...

Drawio
diagramDisplayName
borderfalse
diagramNameCPS moduleset entity relation diagram
simpleViewerfalse
width
linksauto
tbstyleinline
lboxfalse
diagramDisplayName
diagramWidth1061
revision57

Discussion points

  • confirming the entities relationship
  • naming: Moduleset → Schema, Module → yang_file, yang_resource etc.
  • content uniqueness identification by checksum → md5, sha-256 or other


Discussion results (Dec 1, 2020)

  • Module Set sources (yang files) to be stored on a unique content basis.
    Uniqueness of a content to be identified using MD5 checksum.

  • To rename: 
    Module Set → Schema Set
    Yang File → Yang Resource