[YANGTOOLS-588] issue accessing mounted device supporting OpenConfig BGP Created: 26/Feb/16  Updated: 10/Apr/22  Resolved: 02/Mar/16

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

Type: Bug
Reporter: Giles Heron Assignee: Peter Kajsa
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: All


Attachments: File bgp@2015-05-15.yang    
External issue ID: 5437

 Description   

when attempting to access the list of BGP neighbors on a mounted device supporting OpenConfig BGP (using http://controller:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/xrvr-a/yang-ext:mount/bgp:bgp/neighbors) I get a VerifyException "Unable to find base type for leafref node". If I go for one specific neighbor with e.g. bgp:bgp/neighbors/neighbor/192.168.101.2 I get "java.lang.IllegalArgumentException: Module reference cannot be NULL".

The OpenConfig BGP model has a list of neighbors keyed by neighbor-address. Neighbor-address is a relative leafref to "../config/neighbor-address".



 Comments   
Comment by Giles Heron [ 26/Feb/16 ]

Attachment bgp@2015-05-15.yang has been added with description: OpenConfig BGP model from device

Comment by Peter Kajsa [ 01/Mar/16 ]

fix: https://git.opendaylight.org/gerrit/#/c/35576/1

Comment by Robert Varga [ 02/Mar/16 ]

Needs a Be backport.

Comment by Peter Kajsa [ 02/Mar/16 ]

stable/beryllium fix: https://git.opendaylight.org/gerrit/#/c/35601/

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