YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"".

Solutions on the web2

  • via JIRA by Gaurav Agrawal, 2 months ago
    YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"".
  • via JIRA by Adarsh m, 1 month ago
    Error in file: openconfig-platform-transceiver in /home/root1/onos/models/demo/src/openconfig-platform-transceiver.yang at line: 452 at position: 8 YANG file error: There is no leaf/leaf-list in YANG node as mentioned in the path predicate of the
  • Stack trace

    • org.onosproject.yang.compiler.api.YangCompilerException: YANG file error: Either "data-def-substatements" or "case" should be present in "augment "/org-openroadm-device:org-openroadm-device/org-openroadm-device:interface"". at org.onosproject.yang.compiler.tool.YangCompilerManager.processYangFiles( at org.onosproject.yang.compiler.tool.YangCompilerManager.compileYangFiles( at org.onosproject.yang.compiler.plugin.buck.YangGenerator.execute( at org.onosproject.yang.compiler.plugin.buck.YangStep.execute( at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget( at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt( at com.facebook.buck.rules.CachingBuildEngine.lambda$null$0(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.