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

[YANGUTILS] If identifier name is enum then error is thrown.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      Issue : If identifier name is enum, then error is thrown,

      yang file :
      module enum {

      yang-version 1;

      namespace "ydt.enum";

      prefix "enum";

      organization "ON-LAB";

      description "This module defines for enum classifier.";

      revision "2016-05-24"

      { description "Initial revision."; }

      list enumList {
      key enum;
      leaf enum {
      type enumeration {
      enum ten

      { value "10";}

      enum hundred

      { value "100";}

      enum thousand

      { value "1000"; }

      }
      }
      }
      }

        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:
            Vidyashree-Huawei Vidyashree Rama
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: