[NETVIRT-1638] Modify yang modules such that it can be validated using pyang Created: 12/Nov/19 Updated: 23/Jan/20 |
|
| Status: | Open |
| Project: | netvirt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Magnesium |
| Type: | Task | Priority: | Medium |
| Reporter: | rohan julka | Assignee: | Nishchya Gupta |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Pyang is a yang modules validator which is used by the yang modules community. So to publish the yang modules in the yang modules Github it should be able to verify the yang modules using pyang. Right now it is giving some errors, the link to which is provided below.
|
| Comments |
| Comment by Nishchya Gupta [ 14/Jan/20 ] |
|
Please provide me the steps to reproduce these errors. |
| Comment by rohan julka [ 14/Jan/20 ] |
|
Clone the integration distribution repo Build the karaf distribution using mvn clean install Run the extract_modules script present in the bin directory of karaf distribution after that the models will be extracted in opendaylight_models Run the check modules script and the errors will be the saved in opendaylight_models folder inside Netvirt folder |