cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1802
Views
10
Helpful
3
Replies

How to generate yang file using yang data model ?

Rajesh cisco
Level 1
Level 1

Hi , I was look at the Yang data model for MPLS LDP and trying to write a yang file based on this.
Before that, I just wanted to know is there any way to generate yang file based on the yang model. Basically, I wanted to avoid the manual work.

refer data model:
https://www.ietf.org/archive/id/draft-ietf-mpls-ldp-yang-04.txt

Sample Yang file:
https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1632/mpls-ldp.yang

Please let me know. thanks.


3 Replies 3

abhirame
Cisco Employee
Cisco Employee

YDK consists of a set of APIs derived from an existing YANG model. We do not have a way to generate YANG model. I am not aware of any such tool. Most

Thank you so much Abi. can you point me good link on YDK guide.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: