You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 8
Next »
Addresses:
CPS-43
-
Getting issue details...
STATUS
Points
- 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
- 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
Entity relations diagram
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IlJ1c2xhbiBLYXNoYXBvdiIsIm91dHB1dFR5cGUiOiJibG9jayIsImxhc3RNb2RpZmllck5hbWUiOiJUb2luZSBTaWViZWxpbmsiLCJsYW5ndWFnZSI6ImVuIiwiZGlhZ3JhbURpc3BsYXlOYW1lIjoiIiwic0ZpbGVJZCI6IiIsImF0dElkIjoiOTMwMDI0OTMiLCJkaWFncmFtTmFtZSI6IkNQUyBtb2R1bGVzZXQgZW50aXR5IHJlbGF0aW9uIGRpYWdyYW0iLCJhc3BlY3QiOiIiLCJsaW5rcyI6ImF1dG8iLCJjZW9OYW1lIjoiTW9kdWxlU2V0IGNvbnRlbnQgcGVyc2lzdGVuY2UgcHJvcG9zYWwiLCJ0YnN0eWxlIjoiaW5saW5lIiwiY2FuQ29tbWVudCI6ZmFsc2UsImRpYWdyYW1VcmwiOiIiLCJjc3ZGaWxlVXJsIjoiIiwiYm9yZGVyIjpmYWxzZSwibWF4U2NhbGUiOiIxIiwib3duaW5nUGFnZUlkIjo5MzAwMjQ3OCwiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6OTMwMDQzNDQsInBhZ2VJZCI6IiIsImxib3giOmZhbHNlLCJzZXJ2ZXJDb25maWciOnsiZW1haWxwcmV2aWV3IjoiMSJ9LCJvZHJpdmVJZCI6IiIsInJldmlzaW9uIjo2LCJtYWNyb0lkIjoiYjdiOWEyZjQtYmEzYS00MzVlLTg5MDMtOTY1NzlhOWVhMDgzIiwicHJldmlld05hbWUiOiJDUFMgbW9kdWxlc2V0IGVudGl0eSByZWxhdGlvbiBkaWFncmFtLnBuZyIsImxpY2Vuc2VTdGF0dXMiOiJPSyIsInNlcnZpY2UiOiIiLCJpc1RlbXBsYXRlIjoiIiwid2lkdGgiOiIxMDYxIiwic2ltcGxlVmlld2VyIjpmYWxzZSwibGFzdE1vZGlmaWVkIjoxNjA5ODQ2MjU2MDAwLCJleGNlZWRQYWdlV2lkdGgiOmZhbHNlLCJvQ2xpZW50SWQiOiIifQ==
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