[BGPCEP-306] Module "bgp" name conflict Created: 09/Nov/15  Updated: 03/Mar/19  Resolved: 13/Nov/15

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

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

Operating System: All
Platform: All


External issue ID: 4598

 Description   

BGPCEP project recently merged bgp/openconfig-api/src/main/yang/bgp.yang file; namespace "http://openconfig.net/yang/bgp", revision "2015-05-15".
Vpnservice already had model-bgp/src/main/yang/bgp.yang file; namespace "urn:cisco:params:xml:ns:yang:bgp" (with TODO to update), revision 2013-07-15.
Both modules have name (and prefix) "bgp" which leads to conflicts. This currently makes all CSIT jobs with install=all to fail.

I believe Vpnservice should rename their module, as it is older and not standardized.



 Comments   
Comment by Robert Varga [ 11/Nov/15 ]

Actually, BGPCEP should update the openconfig models, which already fix this via a proper prefix.

Comment by Claudio David Gasparini [ 11/Nov/15 ]

prefix modified
https://git.opendaylight.org/gerrit/#/c/29551/1

Comment by Vratko Polak [ 12/Nov/15 ]

The module name conflict is gone, but there is still something wrong, resulting in "Configuration Transaction failed on 2PC, server is unhealthy" in some *-all-beryllium tests:
https://jenkins.opendaylight.org/releng/job/integration-csit-1node-basic-all-beryllium/1245/consoleFull

But that is possibly for another Bug entry.

Comment by Claudio David Gasparini [ 13/Nov/15 ]

Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target not found: Absolute

{path=[(http://openconfig.net/yang/bgp?revision=2015-05-15)bgp-router, (http://openconfig.net/yang/bgp?revision=2015-05-15)vpnv6, (http://openconfig.net/yang/bgp?revision=2015-05-15)unicast]}

at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition$1.prerequisiteFailed(AugmentStatementImpl.java:128)

Comment by Vratko Polak [ 13/Nov/15 ]

Opened BGPCEP-311.

> Augment target not found

I have not seen this one. Perhaps because it is a heisenbug.

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