[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.

 

https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/distribution-merge-managed-magnesium/958/opendaylight-models/netvirt/errors.txt.gz



 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

Generated at Wed Feb 07 20:24:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.