The Model-Driven Service Adaptation Layer (MD-SAL) is message-bus inspired extensible middleware component that provides messaging and data storage functionality based on data and interface models defined by application developers (i.e. user-defined models).
Defines acommon-layer, concepts, data model building blocks and messaging patternsand provides infrastructure / framework for applications and inter-application communication.
Provide common support for user-defined transport and payload formats, including payload serialization and adaptation (e.g. binary, XML or JSON).
The MD-SAL usesYANGas the modeling language for both interface and data definitions, and provides a messaging and data-centric runtime for such services based on YANG modeling.
The MD-SAL provides two different API types (flavours):
MD-SAL Binding:MD-SAL APIs which extensively uses APIs and classes generated from YANG models, which provides compile-time safety.
MD-SAL DOM:(Document Object Model) APIs which uses DOM-like representation of data, which makes them more powerful, but provides less compile-time safety.
Please head over to our official documentation of MD-SAL .