Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-584

Restconf ignores config attributes of type "empty"

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    • 1250

    Description

      If my yang model defines a config container as follows -

      container blah {
      leaf flag

      {type empty;}

      }

      and I try to set it using the following XML

      <blah>
      <flag/>
      </blah>

      Restconf ignores to set the "flag" field.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ashwin.pankaj@hotmail.com Ashwin Pankaj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: