On Tue, Mar 26, 2019 at 05:15:40AM +0000, Qin Wu wrote:
>
> So do all these configuration datastores receive a 1:1 copy of
> <factory-default>?
> [Qin]: This is close to what Andy is asking, we allow multiple target
> datastore to be reset.
I did understand that you allow multiple targets. My question is if
all targets receive the same content, i.e., whether reset-datastore is
just N-times copy-config or whether there is more to it.
> If so, if we have a <factory-default>, why is invoking <copy-config> not
> good enough?
> [Qin]: Netconf <copy-config> operation needs to be extended to allow it to
> operate on the factory-default datastore.
> 2. YANG Instance Data [I-D.ietf-netmod-yang-instance-file-format]
>
> How would this be done? I do not see anything in reset-datastores that
> provides instance data. The copy-config operation already allows to provide
> source config inline. Why do we need another way of doing the same?
> [Qin]: In normal copy-config operation, how do we source config inline is
> used for factory default setting.
RFC 6241 page 43:
source: Name of the configuration datastore to use as the source
of the <copy-config> operation, or the <config> element
containing the complete configuration to copy.
> YANG instance data draft could provide generic solution for this. We add a
> note to see if there is additional parameters that need to be added, will see
> how to address this.
I am not saying this is needed. I think the WG needs to discuss
whether all four options listed in section 2 of your I-D make sense.
Perhaps 1. and 3. are sufficient (except that I do not know exactly
how 1. is supposed to work).
> I do not really understand why one would need to have reset-datastore on
> <candidate> - is <discard-changes> not good enough?
> [Qin]: It doesn't allow you reset to <candidate> without changing <running>.
Why would that be useful? The normal reset of <candidate> is to
<running>. <candidate> is an editing scratch pad - does it really
make sense to reset <candidate> to <factory-default> without
resetting <running>? What is the use case of this?
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany
Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod