Versions Compared

Key

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

...

#SloganNotesDecision
1What model is being used for the SON PIC use case?

oofpcipoc.yang or ran-network@2020-08-06.yang


2Yang imports (in ran-network@2020-08-06.yang) do not mention version. Does that mean they always use latest?

'Latest' module could change in an uncontrolled manner

Have asked advise from Architect Team

  • Import without revision (and include without revision) is commonly used in YANG and must be supported. They are widely used in IETF modules and others.
  • Where the YANG library is available, the YANG library will contain the revision of the module to be used.
  • Where the YANG library is not available, the semantics are such that the “newest” revision of the module shall be used.
3Is it allowed to not include a imported module (without revision)Can it be downloaded if needed?if the YANG library is not available, then there must have been some other well-defined way how you get the information about the modules that form a schema tree – perhaps netconf-monitoring, or some packaging solution. 


Yang Data Model(s)

  1. oofpcipoc.yang  (model A)
  2. oofpcipoc-tree3.txt
  3. ran-network@2020-08-06.yang (model B)
    1. imports https://raw.githubusercontent.com/YangModels/yang/master/vendor/cisco/xr/534/ietf-inet-types.yang
    2. imports https://raw.githubusercontent.com/YangModels/yang/master/vendor/cisco/xe/16111/ietf-yang-types.yang
  4. ran-network-tree-11.txt

...

#ModelsFeatureImpactsJira(s)Notes
1ABtypedefNoneN/A
2ABgroupingNoneN/A
3ABcontainerNoneN/A
4ABlist with single key*Add List

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-73


5ABlist with composite key*Store & retrieve list with composite key

Jira
serverONAP JIRA
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-74


6ABString length <min>..<max>?
Verify ODL YangTools behavior
7ABdefault <default value>?
Verify ODL YangTools behavior
8ABuses <grouping>?
Verify ODL YangTools behavior
9ABreferenceNone
No effect on data or valdiation
Internal Model Documentation only
10ABmandatory?
Verify ODL YangTools behavior
11ABconfig false?
TBD
12ABleaf-list min-elements/max-elements?
Verify ODL YangTools behavior
13ABrange n1..n2?
Verify ODL YangTools behavior
14ABenum?
Verify ODL YangTools behavior
15ABnotificationStudy "notification" in Yang

16Bimport (without revision, see issue #2)
  • Determine version to be imported
  • Download latest version if needed (see open issue #3)


17BunitsNone, only to be used in a future 'describe' method

18Bconfig true?

19Brange " n1 | n2 | n3 | n4 | .. | nn "?
Verify ODL YangTools behavior
20ImportspatternHard to tell if this is used in actual models
Verify ODL YangTools behavior

*Note all 'list' in both models are confirm to have keys

...