Email us :

Error making SIL Bundle – path keyword error

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

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by andy.
Viewing 1 reply thread
  • Author
    • #18963

      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”;
      “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;
      “Automagically generated keyref leaf.”;

    • #18964

      There is no type name “keyref”
      Should be leafref

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