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

[ONOS-YMS-TEST] Ospf yang files is throwing error when space is present in enum.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      buck build onos
      Not using buckd because NO_BUCKD is set.
      [-] PROCESSING BUCK FILES...FINISHED 2.0s [100%] 🐳 New buck daemon
      [+] DOWNLOADING... (0.00 B/S, TOTAL: 0.00 B, 0 Artifacts)
      [+] BUILDING...4.2s [14%] (207/216 JOBS, 0 UPDATED, 0 [0.0%] CACHE MISS)

      => IDLE
      => //apps/yangdemo/yangmodel:onos-apps-yangdemo-yangmodel-yang... 0.9s (running javac[0.8s])
      => IDLE
      => IDLE
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:28: error: ',', '}', or ';' expected
      NO DIAGNOSTIC INFORMATION(0, "No diagnostic information"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:28: error: '}' expected
      NO DIAGNOSTIC INFORMATION(0, "No diagnostic information"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:85: error: class, interface, or enum expected
      private int ospfBfdDiagInfoTypeEnum;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:86: error: class, interface, or enum expected
      private String schemaName;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:93: error: class, interface, or enum expected
      OspfBfdDiagInfoTypeEnum(int ospfBfdDiagInfoTypeEnum, String schemaName) { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:95: error: class, interface, or enum expected this.schemaName = schemaName; ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:96: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:104: error: class, interface, or enum expected
      public static OspfBfdDiagInfoTypeEnum of(int value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:108: error: class, interface, or enum expected case 1: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:110: error: class, interface, or enum expected case 2: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:112: error: class, interface, or enum expected case 3: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:114: error: class, interface, or enum expected case 4: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:116: error: class, interface, or enum expected case 5: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:118: error: class, interface, or enum expected case 6: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:120: error: class, interface, or enum expected case 7: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:122: error: class, interface, or enum expected case 8: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:124: error: class, interface, or enum expected case 9: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:126: error: class, interface, or enum expected case 10: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:128: error: class, interface, or enum expected case 11: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:130: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:132: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:140: error: class, interface, or enum expected
      public static OspfBfdDiagInfoTypeEnum of(String value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:144: error: class, interface, or enum expected case "Control Detection Time Expired": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:146: error: class, interface, or enum expected case "Echo Function Failed": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:148: error: class, interface, or enum expected case "Neighbor is down": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:150: error: class, interface, or enum expected case "Forwarding Plane Reset": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:152: error: class, interface, or enum expected case "Path Down": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:154: error: class, interface, or enum expected case "Concatenated Path Down": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:156: error: class, interface, or enum expected case "Administator down": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:158: error: class, interface, or enum expected case "Reverse Concatenated Path Down": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:160: error: class, interface, or enum expected case "administrator down event received": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:162: error: class, interface, or enum expected case "Global BFD is not enabled": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:164: error: class, interface, or enum expected case "BFD session number reaches the max": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:166: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:168: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:175: error: class, interface, or enum expected
      public int ospfBfdDiagInfoTypeEnum()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:177: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:181: error: class, interface, or enum expected
      public String toString()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfbfddiaginfotype/OspfBfdDiagInfoTypeEnum.java:183: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:28: error: ',', '}', or ';' expected
      DONOT ADVERTISE(0, "DoNot Advertise"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:28: error: '}' expected
      DONOT ADVERTISE(0, "DoNot Advertise"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:35: error: class, interface, or enum expected
      private int ospfv2AsbrSumStatusEnum;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:36: error: class, interface, or enum expected
      private String schemaName;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:43: error: class, interface, or enum expected
      Ospfv2AsbrSumStatusEnum(int ospfv2AsbrSumStatusEnum, String schemaName)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:45: error: class, interface, or enum expected this.schemaName = schemaName; ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:46: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:54: error: class, interface, or enum expected
      public static Ospfv2AsbrSumStatusEnum of(int value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:58: error: class, interface, or enum expected case 1: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:60: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:62: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:70: error: class, interface, or enum expected
      public static Ospfv2AsbrSumStatusEnum of(String value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:74: error: class, interface, or enum expected case "Advertise": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:76: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:78: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:85: error: class, interface, or enum expected
      public int ospfv2AsbrSumStatusEnum()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:87: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:91: error: class, interface, or enum expected
      public String toString()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2asbrsumstatus/Ospfv2AsbrSumStatusEnum.java:93: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:28: error: ',', '}', or ';' expected
      LFA LINK(0, "LFA LINK"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:28: error: '}' expected
      LFA LINK(0, "LFA LINK"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:45: error: class, interface, or enum expected
      private int ospfv2CommBackupTypeEnum;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:46: error: class, interface, or enum expected
      private String schemaName;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:53: error: class, interface, or enum expected
      Ospfv2CommBackupTypeEnum(int ospfv2CommBackupTypeEnum, String schemaName)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:55: error: class, interface, or enum expected this.schemaName = schemaName; ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:56: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:64: error: class, interface, or enum expected
      public static Ospfv2CommBackupTypeEnum of(int value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:68: error: class, interface, or enum expected case 1: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:70: error: class, interface, or enum expected case 2: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:72: error: class, interface, or enum expected case 3: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:74: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:76: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:84: error: class, interface, or enum expected
      public static Ospfv2CommBackupTypeEnum of(String value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:88: error: class, interface, or enum expected case "LFA LINK-NODE": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:90: error: class, interface, or enum expected case "REMOTE LFA LINK": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:92: error: class, interface, or enum expected case "REMOTE LFA LINK-NODE": ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:94: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:96: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:103: error: class, interface, or enum expected
      public int ospfv2CommBackupTypeEnum()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:105: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:109: error: class, interface, or enum expected
      public String toString()

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commbackuptype/Ospfv2CommBackupTypeEnum.java:111: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:43: error: ',', '}', or ';' expected
      AREA AS(3, "AREA AS"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:43: error: '}' expected
      AREA AS(3, "AREA AS"),
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:65: error: class, interface, or enum expected
      private int ospfv2CommBorderRouterEnum;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:66: error: class, interface, or enum expected
      private String schemaName;
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:73: error: class, interface, or enum expected
      Ospfv2CommBorderRouterEnum(int ospfv2CommBorderRouterEnum, String schemaName)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:75: error: class, interface, or enum expected this.schemaName = schemaName; ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:76: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:84: error: class, interface, or enum expected
      public static Ospfv2CommBorderRouterEnum of(int value)

      { ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:88: error: class, interface, or enum expected case 1: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:90: error: class, interface, or enum expected case 2: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:92: error: class, interface, or enum expected case 3: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:94: error: class, interface, or enum expected case 4: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:96: error: class, interface, or enum expected case 5: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:98: error: class, interface, or enum expected case 6: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:100: error: class, interface, or enum expected case 7: ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:102: error: class, interface, or enum expected default : ^ /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:104: error: class, interface, or enum expected }

      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:112: error: class, interface, or enum expected
      public static Ospfv2CommBorderRouterEnum of(String value) {
      ^
      /org/onosproject/yang/gen/v1/urn/huawei/yang/huawei/ac/ne/ospfv2/rev20160101/huaweiacneospfv2ospfv2commtype/ospfv2commborderrouter/Ospfv2CommBorderRouterEnum.java:116: error: class, interface, or enum expected
      case "AREA":
      ^
      Errors: 100. Warnings: 0.

      root1@root1-HP-EliteBook-840-G2:~/onos$

        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:
              huawei-adarsh Adarsh m
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: