+1. If a value was explicitly configured in <running>, that takes precedence as origin whether it matches <system> or not (just like it takes precedence as the value in <intended>).
For config that is *not* in <running>, and comes from <system>, then we should probably go with "system" as the origin. It is a bit confusing that <system> flows into <intended>, but then some data from intended has origin=intended and some has origin=system. That effectively means origin information can be added before the data flows into intended and is passed through transparently. Maybe the model is that unlabelled data flowing thru <intended> gets labelled with origin=intended, but anything with an origin upon entry into <intended> keeps that origin. New datastores that get defined (e.g. <system>) that feed into <intended> can define if they tag an origin. Jason > -----Original Message----- > From: netmod <[email protected]> On Behalf Of Rob Wilton > (rwilton) > Sent: Wednesday, November 24, 2021 5:17 AM > To: Juergen Schoenwaelder <[email protected]>; > maqiufang (A) <[email protected]> > Cc: [email protected] > Subject: Re: [netmod] Should the origin="system" be required for system > configurations copied/pasted into <running>? > > +1 to Juergen's comment. > > // As a contributor. > > > -----Original Message----- > From: netmod <[email protected]> On Behalf Of Jürgen > Schönwälder > Sent: 24 November 2021 09:25 > To: maqiufang (A) <[email protected]> > Cc: [email protected] > Subject: Re: [netmod] Should the origin="system" be required for system > configurations copied/pasted into <running>? > > On Wed, Nov 24, 2021 at 03:21:14AM +0000, maqiufang (A) wrote: > > > > But suppose the node is a list entry (e.g., an interface) or a leaf with the > same value. In this case, it is not clear which origin should be used. I > think it > would be ok to use "system" in this case. > > For me, <running> is explicit config and hence it has precedence. The > precedence must be a function of how the datastores related, it should > not depend on which values a config leaf has. > > /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 > > _______________________________________________ > netmod mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/netmod _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
