Class YangLibraryConstants
java.lang.Object
org.opendaylight.yangtools.rfc8528.data.api.YangLibraryConstants
Constants related to
ietf-yang-library.yang
. As schema-mount works in concert with yang-library, we need
these constants to interpret correctly categorize incoming data and present them to schema resolution process.
While RFC7895 and RFC8525 are not strictly required by YANG, RFC7950 contains a weak reference to it when dealing
with capability negotiation on protocol layers. Moreover RFC8528 makes it explicit that an instance of yang-library
is mounted underneath both inline
and shared-schema
types of mount.
While we could mandate use of either RFC7895 or RFC8525 across the board, this is not feasible, as mount points may be nested and point to external systems -- hence it is completely possible to encounter both old and new information in a single mount point tree.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Top-level containers which hold YANG Library information, ordered by descending preference, with more modern and/or preferred entries first. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The module name assigned toietf-yang-library
.static final XMLNamespace
The namespace assigned toietf-yang-library
. -
Method Summary
-
Field Details
-
MODULE_NAMESPACE
The namespace assigned toietf-yang-library
. This constant is required for XML-like parsers, using XML namespaces to reference modules. -
MODULE_NAME
The module name assigned toietf-yang-library
. This constant is required for JSON-like parsers, using module names to reference modules.- See Also:
-