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

Parser should fail when key statement does not reference leaf.

    XMLWordPrintable

Details

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

    • 2563

    Description

      The following yang syntax should not be accepted since key does not reference leaf.

      list foo {
      key “bar”;
      list bar {
      key “type”;
      leaf type

      { type int32; }
      leaf value { type int32; }

      }
      }

      Attachments

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

        Activity

          People

            pkajsa Peter Kajsa
            tony.tkacik@gmail.com Tony Tkacik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: