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

leaf-ref to InstanceIdentifier

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: