[MDSAL-115] Binding Codec does not provide leaf default value for identityref Created: 18/Nov/15 Updated: 09/Mar/18 Resolved: 16/Jan/16 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tony Tkacik | Assignee: | Igor Foltin |
| Resolution: | Done | 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: | 4647 | ||||||||
| Description |
|
With following model leaf transport-type { type sfc-sl:sl-transport-type-def; default "sfc-sl:vxlan-gpe"; description "Transport type from service-locator.yang."; }default statement value is parsed to string instead of IdentitySchemaNode, |
| Comments |
| Comment by Igor Foltin [ 22/Dec/15 ] |
|
Fix pushed: |
| Comment by Robert Varga [ 04/Jan/16 ] |
|
Reopening, as the fix was reverted in https://git.opendaylight.org/gerrit/#/c/32089/. It is failing with SFC's rendered-service-path.yang, which includes: import service-locator { prefix sfc-sl; revision-date 2014-07-01; }leaf transport-type { type sfc-sl:sl-transport-type-def; default "sfc-sl:vxlan-gpe"; }Hence the string has to be interpreted with the imports. |
| Comment by Igor Foltin [ 12/Jan/16 ] |
|
New fix pushed: |