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

Re: Difference between get and get-config



Johan Rydberg wrote:
Martin Bjorklund skrev:

Is this device state information read-only per defintion?  Or is it
possible edit it (via <edit-config/>) if the agent supports the writable
running capability?

<edit-config> modifies the configuration data only, not the state
data.  So from a <edit-config> perspective, the state data is
read-only.

Is the state data said to be part of the data model?

I'm trying to figure out what happen if the user pipes the data
unmodifed from <get/> to <edit-config(replace)> and stores it in
a configuration store.  As I see it there are three possible
outcomes;

 1. the state data is filtered out.

This is what <get-config> and <copy-config> does

 2. the config and non-config data is stored in the store.
 3. yields an error.


Yes -- an access-failed error because you are attempting
to write to read-only data

Also, should it be possible to <validate/> a document with state data?


~j

Andy

--
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/>