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

Re: Transaction support in Netconf



Hello Juergen,
Why do you think using a candidate configuration is better then edit-config ?
pro for using candidate:
- It is difficult to assemple big edit config commands
con:
- the managed node needs to keep a complete candidate configuration or calculate a delta between the running and the candidate, which might be quite an effort

Any other arguments ?

Balazs

PS. If I have other questions shall I keep posting them to the newsgroup or only to you ?


Juergen Schoenwaelder wrote:
On Wed, Nov 16, 2005 at 09:16:03AM +0100, Balazs Lengyel wrote:

Hello All,
I am investigating transaction support in Netconf. One way to handle this is to use an edit-config operation with the test=test-then-set and error=rollback options. This however raises some questions as this functionality covers only a single RPC request:


1) How big can an RPC request be ? Any limit ?


I think the protocol does not specify a limit. However, concrete
implementations may have specific limits (after all, memory is usually
not unlimited).


2) If I have a big configuration tree is it allowed to modify to
independent parts of the configuration tree in one RPC request
(e.g. add a new interface and switch on and configure OSPF in on
request) ?


I think the answer here is that this is specifically allowed.

The other option to address your requirement is to use the candidate
capability. This allows to make multiple changes on a scratchpad
configuration and once you are done with your changes, you commit the
candidate configuration in a single commit operation. I believe this
is actually better than trying to create a large atomic edit-config
transaction. (So make sure the netconf implementations you are looking
at support the candidate capability.)

/js


--
Balazs Lengyel                       Ericsson Hungary Ltd.
TSP System Manager & AXD Operational Suite (AOS) OPM
ECN: 831 7320                        Fax: +36 1 4377792
Tel: +36-1-437-7320     email: Balazs.Lengyel@ericsson.com

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