Re: [netmod] schema-mount pre09 branch

Martin Bjorklund <> Tue, 06 February 2018 14:01 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B856312D7F4 for <>; Tue, 6 Feb 2018 06:01:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ancieay_DlIB for <>; Tue, 6 Feb 2018 06:00:53 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id A78E812D7E7 for <>; Tue, 6 Feb 2018 06:00:53 -0800 (PST)
Received: from localhost ( []) by (Postfix) with ESMTPSA id 0A0B21AE02C9; Tue, 6 Feb 2018 15:00:50 +0100 (CET)
Date: Tue, 06 Feb 2018 15:00:49 +0100 (CET)
Message-Id: <>
From: Martin Bjorklund <>
In-Reply-To: <>
References: <> <>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Archived-At: <>
Subject: Re: [netmod] schema-mount pre09 branch
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 06 Feb 2018 14:01:01 -0000


Thanks for your comments, see inline.

Robert Wilton <> wrote:
> Hi,
> Some comments on the pre-09 version, particularly the data model.
> 1) I still don't get why this draft is called "YANG Schema Mount"
> rather than "YANG Mount", since to me this implies that it *only* the
> schema that is being made available, and by implication not the
> instance data.  I.e. I can see what schema a VM is using, but I cannot
> access the instance data of that VM.
> I understand the scope of the draft (and I'm not trying to change that
> at all), and agree that it doesn't specify any protocol for how to
> remotely mount data (e.g. peer mount).  But my understanding of the
> solution here is that it doesn't just mount the schema.  I think that
> it also always makes the mounted instance data available using the
> regular NETCONF/RESTCONF operations right?  Which sounds like it is
> doing more than just mounting the schema!

Once you have a mounted schema, even in the inline case, a server
might be just a single normal server with no extra VMs or anything;
you just have a nested schema.  Such a server would allow you to use
normal edit-config to add mounted data, and it would just affect that
single server's database and instrumentation.

The point is that schema mount says nothing about *how* things are

Peer mount, OTOH, attaches instance-specific meaning to its mount
points - if you try to write to peer mounted data the server will act
as a "proxy" and write to the remote server.  (ok, current peer mount
is defined to be read-only, but you get my point).

> 2) Regarding the YANG Data Model:
> (i) Should "schema-mounts" just be "mounts", since it is already under
> the "schema" container.

I don't have a strong opinion on this.

> (ii) Should "parent-references" be part of the "use-schema" container,
> or should then be part of a schema directly.  E.g. should schema-mount
> augment yanglib:schema with both a "mounts" container and a
> "parent-reference" leaflist.

This would mean the same parent-references for all mount points in a
schema, as opposed to per-mount-point parent-references as we have
today.  Lada, what's your opinion on this?

> (iii) Do we definitely need the namespace list?  Shouldn't the
> prefixes/namespaces be resolved against the implemented modules in the
> referenced schema, or is this not sufficient?  If this is not
> sufficient, I wonder if it would be helpful for the draft to describe
> this.

It is not sufficient b/c the only prefixes available from the
implemented modules are the prefixes in the modules themselves, and
they aren't necessarily unique.

> (iv) I agree with Juergen that "inline" is a confusing term because it
> is meaning that the mounted schema is available inline in the instance
> data tree, not that it is inline in the schema tree.


> Thanks,
> Rob
> On 31/01/2018 21:36, Kent Watsen wrote:
> > All,
> >
> > The authors created a "pre09" branch on GitHub a few weeks back.  On
> > this branch, they completed a full update of the draft.  While waiting
> > for details on how to proceed with regards to a SM-bis, we thought it
> > would be helpful to make this text available now so that the technical
> > parts can be discussed.  With this in mind, can folks please have a
> > quick look and post any technical comments they have?
> >
> >
> > The "txt" version of the draft:
> >
> >
> >
> > rfcdiff against the current -08 draft:
> >
> >
> >
> > Since rfc7895bis obsoletes RFC 7895, the
> > server-must-implement-rfc7895bis requirement is no surprise, right?
> >
> > Thanks,
> > Kent // shepherd
> >
> >
> > _______________________________________________
> > netmod mailing list
> >
> >
> > .
> >