[CONTROLLER-660] ODL unable to parse "max-elements" statement in a leaf-list Created: 04/Aug/14 Updated: 25/Jul/23 Resolved: 05/Aug/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Giles Heron | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 1482 |
| Description |
|
ODL is parsing a YANG module containing: leaf-list file { type string; max-elements unbounded; }ODL complains about the "unbounded": Caused by: java.lang.NumberFormatException: For input string: "unbounded". if I change the unbounded to e.g. 1000 then the issue is resolved. From reading RFC6020 the "max-elements unbounded" looks like valid YANG: http://tools.ietf.org/html/rfc6020#section-7.7.4 can someone take a look? |
| Comments |
| Comment by Giles Heron [ 04/Aug/14 ] |
|
Attachment opendaylight.zip has been added with description: zipped Opendaylight log file |
| Comment by Martin Vitez [ 05/Aug/14 ] |
|
This bug was fixed by https://git.opendaylight.org/gerrit/#/c/9521/ already and should not appears anymore. |