[YANGTOOLS-504] Need to bump iana-afi-safi module version to be greater than 2014.0.0 Created: 15/Sep/15 Updated: 10/Apr/22 Resolved: 22/Sep/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jeff Liu | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4309 |
| Description |
|
org.opendaylight.odlparent.featuretest.SingleFeatureTest checks for module version and requires all module versions to be greater than 2014.0.0. However iana-afi-safi is currently versioned as 130704, therefore it failed the SingleFeatureTest if any module is trying to use it. Error message is below. We need to bump up the iana-afi-safi module version to be greater than 140000. <error message="Unresolved constraint in bundle org.opendaylight.bgpcep.util [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (&(osgi.wiring.package=org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.afn.safi.rev130704)(version>=2013.7.0)(!(version>=2014.0.0)))" type="org.osgi.framework.BundleException"><![CDATA[org.osgi.framework.BundleException: Unresolved constraint in bundle org.opendaylight.bgpcep.util [111]: Unable to resolve 111.0: missing requirement [111.0] osgi.wiring.package; (&(osgi.wiring.package=org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.afn.safi.rev130704)(version>=2013.7.0)(!(version>=2014.0.0))) |
| Comments |
| Comment by Martin Ciglan [ 16/Sep/15 ] |
|
Hi Jeff Could you please specify steps to reproduce this issue? Just to clarify it. Many thanks. |
| Comment by Tony Tkacik [ 16/Sep/15 ] |
|
This seems as some private build of BGP PCEP, since single feature test in bgpcep project does not report this issue. |
| Comment by Jeff Liu [ 16/Sep/15 ] |
|
in my draft change 26945, I'm trying to use the address-famiily and subesquent-address-family in iana-afi-safi yang module, that's when the SingleFeatureTest failed. The class generated by yangtool is versioned as rev130704, which is smaller than 140000. It seems SingleFeatureTest requires all module/classes to be greater than 140000. you can checkout my 26945 draft change, and run the SingleFeatureTest to reproduce the error. |
| Comment by Robert Varga [ 17/Sep/15 ] |
|
This is a problem with your changeset: you are introducing a dependency on iana-anf-safi, but you have not updated the BMP feature definition to pull it in, hence the failure. |
| Comment by Robert Varga [ 17/Sep/15 ] |
|
Actually I spoke too soon, the problem is that iana-afn-safi is not included in the models features. |
| Comment by Robert Varga [ 17/Sep/15 ] |
|
https://git.opendaylight.org/gerrit/27099 |