Subject: Re: [Netconf] 4741bis - data stores

From: Balazs Lengyel <[email-masked]>
Date: Tue, 02 Jun 2009 11:31:33 +0200

Hello Martin,
I would also add, that
If
- the startup capability is present,
- and if a confirm a commit arrives, for a commit which was sent before a reboot,
the confirm operation SHOULD/MUST be answered with an error, and result in no changes to the 
datastores.

You reverted to startup during reboot, so it is very hard to even understand, what would you 
confirm at this point.
Balazs

Martin Bjorklund wrote:
> Hi,
> 
> WashamFan <[email-masked]> wrote:
>>> Hi,
>>>  
>>>  There has been some discussion whether different combinations of
>>>  capabilities are allowed or not.  A clarification could be that we
>>>  explicitly state that any combination is allowed unless otherwise
>>>  stated.
>>>  
>>>  One such combination is :confimed-commit and :startup.  The text on
>>>  :confimed-commit says:
>>>  
>>>     If the device reboots for any reason before the confirm timeout
>>>     expires, the server MUST restore the configuration to its state
>>>     before the confirmed commit was issued.
>>>  
>>>  But this seems to contradict the fact that the startup configuration
>>>  is used when the device boots.
>> I don't see the contradictory. If the device reboots unexpectedly in that
>> case, <startup>(even <running>) has not reflected the changes yet, and 
>> the server should be in the state before the confirmed commit was issued 
>> after <startup> has been loaded.
>>
>> But the point is which datastore the configuration here refers to? candidate?
> 
> It refers to 'running', which makes the contradiction.
> 
> If startup is not present, the confimred commit modifies running.  If
> the box reboots before the confirming commit is given, running is
> reverted to its state before the confirmed commit.
> 
> If startup is present, and the box reboots, running will be
> initialized from startup, and it will (may) not be equal to what it
> was before the confirmed commit.
> 
> 
> /martin
> _______________________________________________
> Netconf mailing list
> [email-masked]
> https://www.ietf.org/mailman/listinfo/netconf
> 

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
System Manager
ECN: 831 7320                        Fax: +36 1 4377792
Tel: +36-1-437-7320                  email: [email-masked]