Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-907

Path computation overrides units

XMLWordPrintable

      Encountered in Aluminium logs:

      2020-06-08T10:50:07,594 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)path-constraints, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)delay]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      2020-06-08T10:50:07,594 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)path-constraints, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)jitter]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      2020-06-08T10:50:07,595 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)constrained-path, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)delay]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      2020-06-08T10:50:07,596 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)constrained-path, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)jitter]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      2020-06-08T10:50:07,596 | INFO  | features-3-thread-1 | AbstractListStatementSupport     | 499 - org.opendaylight.yangtools.yang-parser-rfc7950 - 4.0.8 | Configuration list (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)path-description does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at null:141:8]
      2020-06-08T10:50:07,597 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)get-constrained-path, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)input, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)constraints, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)delay]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      2020-06-08T10:50:07,597 | WARN  | features-3-thread-1 | DerivedTypeBuilder               | 494 - org.opendaylight.yangtools.yang-model-util - 4.0.8 | Type AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)get-constrained-path, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)input, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)constraints, (urn:opendaylight:params:xml:ns:yang:path:computation?revision=2020-01-20)jitter]} uverrides 'units' of type DerivedUint32Type{baseType=DerivedUint32Type{baseType=RestrictedUint32Type{path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24, (urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint32]}, baseType=BaseUint32Type{path=AbsoluteSchemaPath{path=[(urn:ietf:params:xml:ns:yang:1)uint32]}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@681b686c}, status=CURRENT, range=org.opendaylight.yangtools.yang.model.util.type.ResolvedRangeConstraint@2ed94361}, description=24-bit unsigned integer., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:uint24?revision=2020-01-04)uint24]}, status=CURRENT}, description=Link delay is in the range 0 - 16.777215 seconds. Larger value is also encoded with Max value., path=AbsoluteSchemaPath{path=[(urn:opendaylight:params:xml:ns:yang:graph?revision=2019-11-25)delay]}, status=CURRENT, units=microseconds} to "micro-seconds"
      
      

      base type/sub type relationship does not allow for changing of units, as that would presumably involve value conversion, too. In this particular case "micro-second" is incorrect spelling and should be trivially fixed.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: