NETCONF:Netconf Improvements

The following describes the list of Netconf operations and Netconf MD-SAL server. capabilities which had previously been missing and which will be added to Boron and Carbon.

Validate Capability

The goal of this improvement is to add the Netconf operation <validate>. Implementation is done according to RFC 6241, section 8.6. The improvement is comprised of:

  1. Advertized Capabilities urn:ietf:params:netconf:capability:validate:1.0 and urn:ietf:params:netconf:capability:validate:1.1

  2. Add the new Netconf operation <validate> -> Fully implementation according RFC 6241

  3. Modify the existing Netconf operation <edit-config> -> Adds a new value, "test-only", to the <test-option> parameter

Writable-Running Capability

The new capability is implemented accrording to RFC 6241, section 8.2. It is comprised of:

  1. Advertized Capability urn:ietf:params:netconf:capability:writable-running:1.0

  2. Modifies the <edit-config> operation to accept the <running> element as a <target>.

  3. Adds the new Netconf operation <copy-config> operation according to RFC 6241, section 7.3 including capability of accepting the <running> element as a <target>

Delete-Config

Adds the new Netconf operation <delete-config> according to RFC 6241, section 7.4. The operation is able to delete only the candidate datastore.

URL Capability

The NETCONF peer has the ability to accept the <url> element in the source and <target> parameters. The capability is further identified by URL arguments indicating the URL schemes supported. The capability is implemented according to RFC 6241, section 8.8 The capability provides only the File as part of the URL. As is advertised only urn:ietf:params:netconf:capability:url:1.0?scheme=file . File is absolute path to file in the file-system. Access to files are limited. The limitation is specified by folders where ODL has read only access and the folders with read-write access. The update is comprised of:

  1. Modifies the <copy-config>. The operation accepts the <url> element as the value of the source and the <target> parameters. The file that the url refers to contains the complete datastore, encoded in XML under the element <config> in the "urn:ietf:params:xml:ns:netconf:base:1.0" namespace.

  2. Modifies the <delete -config>. The operation accepts the <url> element as the value of the <target> parameters.

  3. Modifies the <validate>. The operation accepts the <url> element element as the value of the source parameter.

Adjust Edit-config by error-option

The <error-option> is part of Edit-config. See RFC 6241, section 7.2 . MD-SAL provides only the stop-on-error and continue-on-error. The option rollback-on-error is forbidden. The default operation is stop-on-error.

Kill session operation

This is the new Netconf operation according to RFC 6241, section 7.9