You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

CPS-97 - Getting issue details... STATUS


Issues/Decisions

#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?


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

Test Results

TestODL ParsingDetails

oofpcipoc.yang 

Passed
ran-network@2020-08-06.yangFailedorg.opendaylight.yangtools.yang.parser.spi.meta.SomeModifiersUnresolvedException: Some of SOURCE_PRE_LINKAGE modifiers for statements were not resolved.


Yang Features Used

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

CPS-73 - Getting issue details... STATUS


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

CPS-74 - Getting issue details... STATUS


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


  • No labels