Hi guys,

Templates are something that may be problematic for this concept of common 
schemas across the running/candidate/intended DSes and then operational being a 
superset.

The <running> DS needs to have both the template itself in the schema as well 
as whatever nodes are used to hold 'exploded' data.  But what about intended 
and operational ?

For example, imagine we have the following instance data in a candidate & 
running DS:
1) a template that sets an admin-state leaf to 'enabled' in all interfaces
2) a set of 3 interfaces with a few leafs of config in them (address, etc)

Clearly the schema for the candidate/running DSes contain both the template and 
the interface schema nodes.

But does the schema for the intended DS actually have the template schema nodes 
?   In theory it doesn't *need* to (since templates are exploded between 
running & intended), and it feels strange to have those in there, but I suppose 
it could have them.  If they are there, then a read of the intended would show 
"admin-state enabled" in the template *and* in the 3 interfaces.

Does the operational DS contain the template schema nodes ?  If yes, then I 
suppose we would consider all templates as 'applied' implicitly ?

Rgds,
Jason


> -----Original Message-----
> From: netmod [mailto:netmod-boun...@ietf.org] On Behalf Of Robert
> Wilton
> Sent: Tuesday, October 31, 2017 10:01
> To: netmod@ietf.org
> Subject: Re: [netmod] I-D Action: draft-ietf-netmod-revised-datastores-
> 06.txt
> 
> So this version of the draft contains the small change that defines "datastore
> schema" and describes the "datastore schema" of <operational> as being the
> superset of the datastore schema for all the configuration datastores.
> 
> There are two remaining issues open on the issue tracker
> (https://github.com/netmod-wg/datastore-dt/issues):
> 
> (1) Sign off that usage of RFC 2119 language is appropriate. Perhaps one of
> the proponents of this change could please verify this.
> (2) The email thread regarding Actions and RPCs in NMDA.  I will send
> updated proposed text on the appropriate thread.
> 
> Thanks,
> Rob
> 
> 
> On 30/10/2017 18:04, internet-dra...@ietf.org wrote:
> > A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> > This draft is a work item of the Network Modeling WG of the IETF.
> >
> >          Title           : Network Management Datastore Architecture
> >          Authors         : Martin Bjorklund
> >                            Juergen Schoenwaelder
> >                            Phil Shafer
> >                            Kent Watsen
> >                            Robert Wilton
> >     Filename        : draft-ietf-netmod-revised-datastores-06.txt
> >     Pages           : 38
> >     Date            : 2017-10-30
> >
> > Abstract:
> >     Datastores are a fundamental concept binding the data models written
> >     in the YANG data modeling language to network management protocols
> >     such as NETCONF and RESTCONF.  This document defines an architectural
> >     framework for datastores based on the experience gained with the
> >     initial simpler model, addressing requirements that were not well
> >     supported in the initial model.
> >
> >
> > The IETF datatracker status page for this draft is:
> > https://datatracker.ietf.org/doc/draft-ietf-netmod-revised-datastores/
> >
> > There are also htmlized versions available at:
> > https://tools.ietf.org/html/draft-ietf-netmod-revised-datastores-06
> > https://datatracker.ietf.org/doc/html/draft-ietf-netmod-revised-datast
> > ores-06
> >
> > A diff from the previous version is available at:
> > https://www.ietf.org/rfcdiff?url2=draft-ietf-netmod-revised-datastores
> > -06
> >
> >
> > Please note that it may take a couple of minutes from the time of
> > submission until the htmlized version and diff are available at 
> > tools.ietf.org.
> >
> > Internet-Drafts are also available by anonymous FTP at:
> > ftp://ftp.ietf.org/internet-drafts/
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> > .
> >
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to