[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between get and get-config



Johan Rydberg skrev:

Reading the RFC I got the impression that the stores can only store a
single configuration (ie, a XML tree with data).  But extensions such
as notification and monitor introduces data parallel to the
configuration data (the 'top' node).

For reference, was scanning through the NETCONF RFC and found the
following statements:

  In 7.3, in regards to the source parameter to copy-config;

     Name of the configuration datastore to use as the source
     of the copy operation or the <config> element containing
     the configuration subtree to copy.

  My interpretation is that subtree means a single XML node.

  In 7.2, in regards to the config parameters to edit-config;

     A hierarchy of configuration data as defined by one of the
     device's data models. [...]

  My interpretation is that hierarchy mandates a single XML node.

In the netconf-model I-D [2], section 5.7 there is an example of a
<get/> that returns both configuration and non-configuration data.
In the example, the configuration data is contained in a <xc:config>
node.  My feeling is that is probably an error in the I-D.

~j

[2] http://www.ietf.org/internet-drafts/draft-chisholm-netconf-model-06.txt

--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>