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

yang utils not finding trailing garbage error

    XMLWordPrintable

    Details

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

      ONOS BUILD

    • Story Points:
      3

      Description

      i gave 1 extra curly braces. pyang thorwing error. but yang utils build success

      typedef type2 {
      type string {
      length "1..253";
      pattern
      '(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.)

      {3}

      ([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))';
      }
      }

      }

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6.818 s
      [INFO] Finished at: 2016-05-19T17:15:07+05:30
      [INFO] Final Memory: 37M/482M
      [INFO] ------------------------------------------------------------------------
      0
      /home/root1/yang_automation/yang
      /home/root1/onos/utils/test/src/main/yang
      missed_states.yang

      pyang output:
      /home/root1/onos/utils/test/src/main/yang/missed_states.yang:47: error: trailing garbage after module

        Attachments

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

          Activity

            People

            Assignee:
            janani Janani B
            Reporter:
            sathishmurugesan sathishkumar murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: