Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4537

extraneous input error info need to be update. it should contain all statements which can be applicable. for eg.import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Environment:

      onos build compilation

    • Story Points:
      3

      Description

      module ospf {
      namespace "urn:cisco:params:xml:ns:yang:ospf";
      // replace with IANA namespace when assigned
      prefix ospf;
      revision 2020-10-20

      { description "Initial revision."; }

      /*feature flood-reduction

      { description "OSPF Flood Reduction."; }

      */

      leaf123 enabled1

      { type boolean; }

      }

      [INFO] — yangutils-maven-plugin:1.0.0-SNAPSHOT:yang2java (default) @ onlab-rest —
      [INFO] Error in file: /home/root1/onos/utils/test/src/main/yang/Onos_Yang_1.yang at line: 15 at position: 0
      extraneous input 'leaf123' expecting

      {'augment', 'choice', 'container', 'extension', 'deviation', 'feature', 'grouping', 'identity', 'leaf', 'leaf-list', 'list', 'notification', 'revision', 'rpc', 'typedef', 'uses', '}

      '}
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO]

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Vidyashree-Huawei Vidyashree Rama
            Reporter:
            sathishmurugesan sathishkumar murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: