cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
70
Views
10
Helpful
3
Replies
Highlighted
Beginner

How to generate yang file using yang data model ?

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.


Everyone's tags (4)
3 REPLIES
Cisco Employee

Re: How to generate yang file using yang data model ?

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

Beginner

Re: How to generate yang file using yang data model ?

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

 

Cisco Employee

Re: How to generate yang file using yang data model ?

Ask the Expert- MPLS troubleshooting