[MDSAL-208] Duplicate field PmfGrp.Pmf._25Gps Created: 18/Nov/16 Updated: 09/Mar/18 Resolved: 09/Mar/18 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | zhuweisheng | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| External issue ID: | 7199 | ||||||||||||
| Comments |
| Comment by Martin Ciglan [ 18/Nov/16 ] |
|
zhuweisheng 2016-11-18 05:35:03 UTC I get a Error when trying to parse a yang file like below: enum 25Gps { description "pmf mandatory"; }enum 100Gps { description "undo pmf"; } } |
| Comment by Martin Ciglan [ 18/Nov/16 ] |
|
moving to MDSAL project, this is binding spec v1 issue not sure if this is going to be fixed there, leaving bug unconfirmed for time being |
| Comment by Robert Varga [ 30/Jan/18 ] |
|
The issue comes from mapping enumeration names, where the period in '2.5Gps' gets removed, leading to a conflict with '25Gps'. A bit more exploration in the mapping logic is needed to see if we can fix this without breaking everyone else. |
| Comment by Robert Varga [ 09/Mar/18 ] |
|
Dealing with duplicates should be the purview of the alternative mapping scheme discussed in |
| Comment by Robert Varga [ 09/Mar/18 ] |
|
This is a subset of issues solved in |