libyang-Parsing YANG Modules

libyang库支持YANG和YIN格式的YANG模块解析。在创建上下文时,内置了ietf-yang-metadata、yang等内部实现的YANG模块。可以通过lys_parse系列函数手动添加其他模块,或使用ly_ctx_load_module()自动查找模块。模块加载分为解析和编译两个步骤,编译时会解决引用、实例化组态等。
摘要由CSDN通过智能技术生成

YANG module parsers allow to read YANG module from a specific format. libyang supports the following module formats:

  • YANG

    Basic YANG schemas format described in RFC 6020 and RFC 7951 (so both YANG 1.0 and YANG 1.1 versions are supported).

  • YIN

    Alternative XML-based format to YANG - YANG Independent Notation. The details can be found in RFC 6020 and RFC 7951.

When the context is created, it already contains the following YANG modules, which are implemented inter

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值