Contacts and other Resources

Issues/Decisions

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

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

ran-network@2020-08-06.yang will be used for both E2E Network Slicing and SON PIC use cases
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)

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. 

Currently, YANG models are integrated into ODL based CCSDK repo (as part of RANSlice feature), and parent POM files dictate versions for any common YANG files used across CCSDK/SDNC code. For example (as of Guilin release), following IETF import versions we are used:
         <bundle>mvn:org.opendaylight.mdsal.binding.model.ietf/rfc6991-ietf-yang-types/2.0.17</bundle>
         <bundle>mvn:org.opendaylight.mdsal.binding.model.ietf/rfc6991-ietf-inet-types/2.0.17</bundle>
 https://mvnrepository.com/artifact/org.opendaylight.mdsal.binding.model.ietf/rfc6991-ietf-yang-types



Yang  Models & Data

Models

  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

Data

  1. Preload-JSON-Oct30.json (data for ran-network, model B)

  2. SDNC_ConfigDB_API_v4.0.0.json Includes (legacy) ConfigDB API definition for Slicing for refrrence purposes

Test Results

TestODL ParsingDetails

oofpcipoc.yang 

Passed
ran-network@2020-08-06.yangPassedDownloaded latest version imported modules form internet and provide all 3 files to ODL Yang Parser
Preload-JSON-Oct30.json


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


Examples of 'Slice' Data in Preload-JSON-Oct30.json




1 "sliceProfilesList": [{
  "sliceProfileId": "b594-e98r-c7f2-ij78",
  "sNSSAI": "10000100",
  "coverageAreaList": ["Kingston"],
  "resourceSharingLevel": "Shared",
  "uLThptPerSlice": 45,
  "maxNumberofConns": 5000,
  "uEMobilityLevel": "stationary",
  "latency": 0,
  "maxNumberofUEs": 2000,
  "dLThptPerSlice": 55
}]

2

3




  • No labels