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

Duplicate field PmfGrp.Pmf._25Gps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7200

      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?

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

              Created:
              Updated:
              Resolved: