Email us : sales@yumaworks.com

Error making SIL Bundle – path keyword error

Home Forums YumaPro User Forum Error making SIL Bundle – path keyword error

Viewing 1 reply thread
  • Author
    Posts
    • #18963
      chassap1
      Participant

      I’m trying to make a SIL bundle library. One of my Yang models includes IF-MIB.yang. I’m getting the following error. A snippet from the Yang model is below. Any suggestions? Thanks.

      Error: Got ‘path’, Expected: range, length, or pattern keyword
      IF-MIB.yang:529.11: error(246): wrong token value

      list ifRcvAddressEntry {

      key “ifIndex ifRcvAddressAddress”;
      description
      “A list of objects identifying an address for which the
      system will accept packets/frames on the particular
      interface identified by the index value ifIndex.”;

      leaf ifIndex {
      type keyref {
      path “/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex”;
      }
      config false;
      description
      “Automagically generated keyref leaf.”;
      }

    • #18964
      andy
      Keymaster

      There is no type name “keyref”
      Should be leafref

Viewing 1 reply thread
  • You must be logged in to reply to this topic.