Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-718

Duplicate field PmfGrp.Pmf._25Gps

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7200

    Description

      I get a Error when trying to parse a yang file like below:
      grouping pmf-grp {
      leaf pmf {
      type enumeration {
      enum 2.5Gps

      { description "pmf optional"; }

      enum 25Gps

      { description "pmf mandatory"; }

      enum 100Gps

      { description "undo pmf"; }

      }
      default 100Gps;
      }
      }
      the error is:
      Duplicate field PmfGrp.Pmf._25Gps
      Is this a bug in yangtools?

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              zhuweisheng@huawei.com zhuweisheng
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: