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

Add support for parsing wildcard instance identifiers to JSON codec

    XMLWordPrintable

Details

    • New Feature
    • Status: Confirmed
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      While https://tools.ietf.org/html/rfc6020#section-9.13 requires instance identifiers to have keys,
      it would be useful to be able to parse unkeyed ids to YII and then II (both support wildcards).

      Simplest solution would be to make JSONStringInstanceIdentifierCodec accept
      wildcard instance identfiers.

      Example use case would be to define processing order for yang nodes in human friendly format, e.g.:

      /ietf-interfaces:interfaces/interface -> /v3po:bridge-domains/bridge-domain

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mgradzki Marek Gradzki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: