[YANGTOOLS-75] key from ListSchemaNode has different revision Created: 20/Jan/14  Updated: 10/Apr/22  Resolved: 23/Jan/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Martin Sunal Assignee: Martin Vitez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


Attachments: File flow-node-inventory.yang     File opendaylight-group-types.yang    
Issue Links:
Blocks
blocks CONTROLLER-116 RESTCONF: GET operation on group resu... Resolved
blocks CONTROLLER-119 Create group fails through RESTCONF Resolved
blocks OPNFLWPLUG-33 Not able to read GroupStats from Oper... Resolved
blocks OPNFLWPLUG-31 Queue list for a node connector is al... Verified

 Description   

example in snippet:

ListSchemaNode groupList;
Qname keyGroupId = groupList.keyDefinition().get(0)
groupList.getDataChildByName(keyGroupId) returns null

because

keyGroupId has revision=2013-10-18
child representing key in groupList has revision=2013-08-19

keyGroupId.toString:
(urn:opendaylight:group:types?revision=2013-10-18)group-id

part of groupList.childNodes.toString:
(urn:opendaylight:flow:inventory?revision=2013-08-19)group-id=LeafSchemaNodeImpl[qname=(urn:opendaylight:flow:inventory?revision=2013-08-19)group-id, path=SchemaPath [path=[(urn:opendaylight:inventory?revision=2013-08-19)nodes, (urn:opendaylight:inventory?revision=2013-08-19)node, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)group-id], absolute=true]]

Yang modules in attachment



 Comments   
Comment by Martin Sunal [ 20/Jan/14 ]

Attachment opendaylight-group-types.yang has been added with description: definition of group list in grouping groups

Comment by Martin Sunal [ 20/Jan/14 ]

Attachment flow-node-inventory.yang has been added with description: module where grouping group is used

Comment by Martin Vitez [ 23/Jan/14 ]

Fixed.

https://git.opendaylight.org/gerrit/#/c/4590/

Generated at Wed Feb 07 20:52:11 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.