-
Bug
-
Resolution: Done
-
Bugzilla Migration
-
None
-
Operating System: All
Platform: All
-
4779
During system testing [1] a Change [0] for upcoming Weather event [2], it was uncovered that BGP openconfig code does not honor mandatory statement.
The code should be fixed so that the following does not happen:
Caused by: java.lang.IllegalArgumentException: Node (http://openconfig.net/yang/bgp?revision=2015-10-09)bgp is missing mandatory descendant /(http://openconfig.net/yang/bgp?revision=2015-10-09)global/config/as
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[39:com.google.guava:18.0.0]
at org.opendaylight.yangtools.yang.data.impl.schema.tree.MandatoryLeafEnforcer$Strict.enforceOnTreeNode(MandatoryLeafEnforcer.java:58)[59:org.opendaylight.yangtools.yang-data-impl:0.8.0.SNAPSHOT]
For reference, the built .zip is in [3] and it was created by a multipatch job with these parameters [4].
[0] https://git.opendaylight.org/gerrit/28666
[1] https://jenkins.opendaylight.org/releng/job/bgpcep-csit-1node-userfeatures-only-beryllium/880/consoleFull
[2] https://wiki.opendaylight.org/view/Weather#Bug_4355_-_Data_Tree:_Enforce_.27mandatory_true.27_leaf_presence_in_CONFIG_datastore
[3] https://jenkins.opendaylight.org/releng/job/integration-multipatch-test-beryllium/5/org.opendaylight.integration$distribution-karaf/artifact/org.opendaylight.integration/distribution-karaf/0.4.0-SNAPSHOT/distribution-karaf-0.4.0-SNAPSHOT.zip
[4] https://jenkins.opendaylight.org/releng/job/integration-multipatch-test-beryllium/5/parameters/
- blocks
-
YANGTOOLS-511 Data Tree: Enforce 'mandatory true' leaf presence
- Resolved
- is blocked by
-
BGPCEP-335 Single feature tests fails due to "Uses constraint violation"
- Resolved