Using YANG, applications are abstracted about the external protocol interaction. Application are requited to model the NBI interface in YANG and implement the business logic. YANG framework, automates the external world interaction.
Driver / provider to register the device schema to YANG management system and interact with device (SBI) using POJO generated from YANG files.