[CONTROLLER-1116] Type of global-rib-extensions reported wrong Created: 20/Jan/15  Updated: 19/Oct/17  Resolved: 20/Jan/15

Status: Resolved
Project: controller
Component/s: config
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates CONTROLLER-1110 Persisted current config sets wrong s... Resolved
External issue ID: 2609
Priority: Normal

 Description   

Not sure about target component for this bug, feel free to change.

This bug is seen on this build (probably also before):
https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-helium-project-centralized-integration/110/

Steps to reproduce:
1. bin/start
2. bin/client feature:install odl-bgpcep-all odl-restconf-noauth odl-netconf-connector-all
3a.
curl -H "Accept:application/json" 127.0.0.1:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-rib-impl-cfg:rib-impl/example-bgp-rib/odl-bgp-rib-impl-cfg:extensions
returns:
{"odl-bgp-rib-impl-cfg:extensions":{"name":"global-rib-extensions","type":"odl-bgp-rib-spi-cfg:consumer-extensions"}}
3b.
curl -H "Accept:application/xml" 127.0.0.1:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-rib-impl-cfg:rib-impl/example-bgp-rib/odl-bgp-rib-impl-cfg:extensions
returns:
<extensions xmlns="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl"><name>global-rib-extensions</name><type xmlns:x="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:spi">x:consumer-extensions</type></extensions>

In both cases, "consumer-extensions" is wrong (namespace/prefix is ok).
Intead, "extensions" is right, as it is present in the default 41-bgp-example.xml file and it works when creating additional rib-impl modules.



 Comments   
Comment by Maros Marsalek [ 20/Jan/15 ]

Marking as duplicate of 2596 and setting target for Lithium.

Generated at Wed Feb 07 19:54:43 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.