Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-308

leaf-ref to InstanceIdentifier

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Medium Medium
    • None
    • None
    • Binding runtime
    • None

      Given  the model

      leaf role-set {
       type leafref {
       path "/rpol:routing-policy/rpol:defined-sets/role-sets/role-set/role-set-name";
       }
       description "References a defined neighbor roles set";
      }

      when reading from DS and calling getRoleSet()

      where

      /**
       * References a defined neighbor roles set
       *
       *
       *
       * @return <code>java.lang.String</code> <code>roleSet</code>, or <code>null</code> if not present
       */
      java.lang.String getRoleSet();

       

      I was not able to find a tool or way to do a direct conversion from this string 

      to an InstanceIdentifier.

            Unassigned Unassigned
            cdgasparini Claudio David Gasparini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: