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

RE: Difference between get and get-config



Hi,

I find it disturbing (but not surprising) that Andy
and Martin suggested two different errors (and two
different underlying reasons).  

The underspecified behavior of Netconf for various 
error conditions will probably be a source of very
widely divergent behavior on the part of Netconf
clients - who apparently should expect just about
anything in responses and somehow always gracefully 
cope with it.

Cheers,
- Ira

Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music / High North Inc
PO Box 221  Grand Marais, MI  49839
phone: +1-906-494-2434
email: imcdonald@sharplabs.com

-----Original Message-----
From: owner-netconf@ops.ietf.org [mailto:owner-netconf@ops.ietf.org]On
Behalf Of Andy Bierman
Sent: Thursday, May 24, 2007 12:51 PM
To: Johan Rydberg
Cc: Martin Bjorklund; netconf@ops.ietf.org
Subject: 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/>

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.8.0/817 - Release Date: 5/24/2007 4:01 PM
 

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