[OPNFLWJAVA-8] Module openflow-augments.yang fails pyang validation Created: 12/Dec/13 Updated: 17/Feb/14 Resolved: 17/Feb/14 |
|
| Status: | Resolved |
| Project: | openflowjava |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Medved | Assignee: | Jan Medved |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 239 |
| Description |
|
| Comments |
| Comment by sunny malhotra [ 27/Jan/14 ] |
|
I am trying to reproduce the bug.Though the pyang validation fails , but Console output : |
| Comment by Sahil Shah [ 12/Feb/14 ] |
|
I think as a fix for this the commiter has added a key(key “action” I tried look into the issue and as per my observation , the error occurs because the key “action” refers to container action instead of leaf which is against pyang validation rules. I would suggest that instead of using key “action” , we can explicitly mention config as false. After this change , the pyang validation doesn't show any errors. Please review the code and update. Gerrit Link : https://git.opendaylight.org/gerrit/#/c/5283/ |
| Comment by Michal Polkorab [ 12/Feb/14 ] |
|
Hello, I will take care of this. Michal |
| Comment by Michal Polkorab [ 17/Feb/14 ] |
|
Hello, issue fixed with https://git.opendaylight.org/gerrit/#/c/5283/ Regards |