Formal
Providing yang modules
Public access to yang modules would be very benifical, avoiding error prune and time consuming extraction from from word documents.
- https://github.com/YangModels/yang
- http://www.netconfcentral.org
- and of cause the related 3GPP TS page
... are good candidates to publish agreed and reviewed 3GPP yang modules.
YANG mechanics
Revision in import statements
The "revision date" in yang import statements should be avoided to gain more flexibility, when the imported yang module is update. It avoids updates of the importing yang model.
TS 28.541 v16.1.0 example | Proposal |
---|---|
submodule ngc-UDRFunction { belongs-to ngc { prefix ngc; } import EP_RP { prefix ep-rp; revision-date "2018-07-31"; } import ManagedFunction { prefix mf; revision-date "2018-07-31"; } import nrm-types-3gpp { prefix nrm-type; revision-date "2018-07-31"; } import ietf-inet-types { prefix inet; revision-date "2010-09-24"; } | submodule ngc-UDRFunction { belongs-to ngc { prefix ngc; } import EP_RP { prefix ep-rp } import ManagedFunction { prefix mf } import nrm-types-3gpp { prefix nrm-type } import ietf-inet-types { prefix inet } |