Skip navigation links

Package org.onosproject.yms.ydt

Provides interfaces to build and obtain YANG data tree which is data (sub)instance representation, abstract of protocol.

See: Description

Package org.onosproject.yms.ydt Description

Provides interfaces to build and obtain YANG data tree which is data (sub)instance representation, abstract of protocol. NBI protocol implementation takes care of the protocol specific operations. They are abstracted from the intricacies of understanding the application identification or handling the interaction with applications. NBI protocols need to handle the encoding and decoding of data to the protocol specific format. They are unaware of the YANG of applications, i.e. protocols are unaware of the data structure / organization in applications. They need to translate the protocol operation request, into a protocol independent abstract tree called the YANG data tree (YDT). In order to enable the protocol in building these abstract data tree, YANG management system provides a utility called the YANG data tree builder. Using the YANG data tree utility API's protocols are expected to walk the data received in request and pass the information during the walk. YANG data tree builder, identifies the application which supports the request and validates it against the schema defined in YANG, and constructs the abstract YANG data tree.
Skip navigation links