ietf-topology contains invalid leafrefs

Description

The legacy ietf-topology model contains a day-zero bug in its 'topology-ref' typedefs. These are using leafref with an absolute path with unqualified names.

As per RFC7950 section 6.4.1, these are qualified based on referent and end up pointing into invalid places. An example of this can be found with https://docs.opendaylight.org/projects/bgpcep/en/latest/pcep/pcep-user-guide-active-stateful-pce.html#lsp-instantiation not being accepted anymore and the following error reported:

The underlying cause for this is:

As is evident, we are trying to lookup network-topology in odl-topology-pcep namespace – and that does not exist, leading to the failure.

Environment

None

Activity

Done

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 21, 2021 at 1:44 PM
Updated August 2, 2021 at 9:29 AM
Resolved July 21, 2021 at 3:21 PM