[YANGTOOLS-584] DESCRIPTION is not valid for INPUT or OUTPUT. Created: 18/Feb/16 Updated: 10/Apr/22 Resolved: 18/Feb/16 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | zhuweisheng | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5379 |
| Description |
|
I am getting Error when trying to parse a yang file. my yang is: rpc method1 { } output { description "output des."; leaf param { type string; } } the error is: ) ) ) ) I think there may be have descriptions in the input or ouput node of rpc method. This may be a bug, there may be something wrong in the code of yangtools project. |
| Comments |
| Comment by Tony Tkacik [ 18/Feb/16 ] |
|
I see why it makes tempting to have description in input / output, See: Description to input / output will not be even added in YANG 1.1 (see If you think about it, it actually makes sense - you describe whole rpc |
| Comment by zhuweisheng [ 18/Feb/16 ] |
|
Sorry, I neglect. Yes, I agree with that. Thanks! |