[YANGTOOLS-510] ListItem nodes can't be wroten successfully in local rib Created: 24/Sep/15 Updated: 10/Apr/22 Resolved: 13/Oct/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Zhao Guo | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| External issue ID: | 4349 | ||||||||
| Comments |
| Comment by Zhao Guo [ 24/Sep/15 ] |
|
org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNormalizedNodeStreamWriter: public void startUnkeyedListItem(final NodeIdentifier name, final int childSizeHint) { final DataContainerNodeAttrBuilder<NodeIdentifier, UnkeyedListEntryNode> builder = UNKNOWN_SIZE == childSizeHint ? If yang file defines a group which contains child nodes as "listitem" type, like the following nodes "communities", "extended-communities" etc, the precondition "Preconditions.checkArgument(getCurrent() instanceof ImmutableUnkeyedListNodeBuilder)" will always fail and throws exception. grouping path-attributes { } } } container local-pref { reference "http://tools.ietf.org/html/rfc4271#section-5.1.5"; leaf pref { type uint32; } } container aggregator { uses bgp-t:bgp-aggregator; }list communities { uses bgp-t:community; }list extended-communities { uses bgp-t:extended-community; }container originator-id { uses originator-id; }container cluster-id { uses cluster-id; }} |
| Comment by Robert Varga [ 24/Sep/15 ] |
|
What release train has this been observed with? |
| Comment by Zhao Guo [ 25/Sep/15 ] |
|
(In reply to Robert Varga from comment #2) lithum and lithum-sr1 |
| Comment by Iveta Halanova [ 12/Oct/15 ] |
|
also with master |
| Comment by Martin Ciglan [ 12/Oct/15 ] |
|
Hello Could you please add error stack trace. Many thanks. |
| Comment by Iveta Halanova [ 13/Oct/15 ] |
|
search: 2015-10-05 11:06:55,830 |
| Comment by Iveta Halanova [ 13/Oct/15 ] |
|
Attachment FS s novym s extComm.log has been added with description: sending flowspec-route with ext.comms |
| Comment by Tony Tkacik [ 13/Oct/15 ] |
|
Beryllium: https://git.opendaylight.org/gerrit/28316 |