@128technology/yinz 中文文档教程
Yinz
一个用于 Node.js 的库,可以解析 YIN (RFC 6020) 模型并提取与其关联的 XML 实例数据。 请注意,该库旨在与 YINsolidated 生成的合并 XML 模型一起使用,它不适用于标准 YIN 模型。
该库旨在完成以下任务:
- Ingest XML datamodels produced by YINsolidated.
- Allow querying and walking of the ingested models, including support for the types outlined in RFC 6020.
- Ingest an XML instance of data matching the ingested datamodel. This typically comes from a NETCONF response.
- Allow querying of the instance data, including evaluation of when conditions, leaf references, etc.
Yinz
A library for Node.js that can parse YIN (RFC 6020) models and ingest XML instance data associated with them. Note that is library is designed to work with consolidated XML models produced by YINsolidated, it will not work on standard YIN models.
This library aims to accomplish the following:
- Ingest XML datamodels produced by YINsolidated.
- Allow querying and walking of the ingested models, including support for the types outlined in RFC 6020.
- Ingest an XML instance of data matching the ingested datamodel. This typically comes from a NETCONF response.
- Allow querying of the instance data, including evaluation of when conditions, leaf references, etc.