Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-119

Unable to get data by keyvalue with "="

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 4884

    Description

      RESTCONF Protocol draft-ietf-netconf-restconf-09

      Examples:

      container top {
      list list1 {
      key "key1 key2 key3";
      ...
      list list2 {
      key "key4 key5";
      ...
      leaf X

      { type string; }

      }
      }
      }
      For the above YANG definition, URI with key leaf values will be
      encoded as follows (line wrapped for display purposes only):
      /restconf/data/example-top:top/list1=key1val,key2val,key3val/
      list2=key4val,key5val/X

      The following example shows how reserved characters are percent-
      encoded within a key value. The value of "key1" contains a comma,
      single-quote, double-quote, colon, double-quote, space, and forward
      slash. (,'":" /). Note that double-quote is not a reserved
      characters and does not need to be percent-encoded. The value of
      "key2" is the empty string, and the value of "key3" is the string
      "foo".

      Example URL:

      /restconf/data/example-top:top/list1=%2C%27"%3A"%20%2F,,foo

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              ge.yubo@zte.com.cn geyubo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: