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

Add support for <candidate> validation

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • netconf
    • None

      Add support for validating <candidate> datastore as defined in:

      https://tools.ietf.org/html/rfc4741#section-8.6

       

      Positive Response:
      
      If the device was able to satisfy the request,
      an <rpc-reply> is sent that contains an <ok> element.
      
      Negative Response:
      
      An <rpc-error> element is included in the <rpc-reply>
      if the request cannot be completed for any reason.
      A validate operation can fail for any of the following reasons:
      +  Syntax errors
      +  Missing parameters
      +  References to undefined configuration data
      

      Example:

      <rpc message-id="101"
                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
             <validate>
               <source>
                 <candidate/>
               </source>
             </validate>
           </rpc>
      
           <rpc-reply message-id="101"
                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
             <ok/>
           </rpc-reply>
      

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

              Created:
              Updated:
              Resolved: