/yang

Primary LanguageShellApache License 2.0Apache-2.0

Overview

This directory contains platform-specific YANG models for Huawei's products. The directory is currently organized by network device and hardware type with each sub-directory containing the models for that network device type. Each subdirectory will be further categorized based on product version or NOS version and may have further OS/platform-specific information in a README file.

Integration with Huawei YANG

Download huawei yang files

You can use git to clone huawei yang's repository and select product and version according your requirement.

git clone https://github.com/Huawei/yang.git

Ansible Integration

You can customize your ansible APIs using ansible-gen tool. It can help you to build your ansible APIs according yang files.

MDT(Model-Driven Telemetry) Integration

You can use protoyang tool to translate yang files to .proto files. And you can integrate these .proto files with telegraf platform. For more detail, please visit telegraf-huawei-plugin.

Documentation

see YANG API reference.

Resources

open-source projects on HuaweiDatacomm organization.

Huawei Datacomm developer website.