Re: [netmod] Differentiating the types of Mount

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 16 March 2016 11:23 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B79912D535 for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 04:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HG_cOt6SekOF for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 04:23:37 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57A2312D540 for <netmod@ietf.org>; Wed, 16 Mar 2016 04:23:35 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 13BA322A0; Wed, 16 Mar 2016 12:23:34 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id hlf95KC6oKzh; Wed, 16 Mar 2016 12:23:21 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Wed, 16 Mar 2016 12:23:33 +0100 (CET)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 30F2520043; Wed, 16 Mar 2016 12:23:33 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id h41iYsQlC8SI; Wed, 16 Mar 2016 12:23:32 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1BE732003D; Wed, 16 Mar 2016 12:23:31 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 092303A37C6B; Wed, 16 Mar 2016 12:23:30 +0100 (CET)
Date: Wed, 16 Mar 2016 12:23:29 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Eric Voit (evoit)" <evoit@cisco.com>
Message-ID: <20160316112329.GB39598@elstar.local>
Mail-Followup-To: "Eric Voit (evoit)" <evoit@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, "Martin Bjorklund (mbjorklu)" <mbjorklu@cisco.com>, Lou Berger <lberger@labn.net>, "lhotka@nic.cz" <lhotka@nic.cz>, "Acee Lindem (acee)" <acee@cisco.com>, "Alexander Clemm (alex)" <alex@cisco.com>, "Ambika Prasad Tripathy (ambtripa)" <ambtripa@cisco.com>
References: <84d0c3c5331c4b5e9d0883f890a87a40@XCH-RTP-013.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <84d0c3c5331c4b5e9d0883f890a87a40@XCH-RTP-013.cisco.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/ljGJf3bFAe-b3fxPyUUV0-MpstE>
Cc: "netmod@ietf.org" <netmod@ietf.org>, "Martin Bjorklund (mbjorklu)" <mbjorklu@cisco.com>
Subject: Re: [netmod] Differentiating the types of Mount
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Mar 2016 11:23:39 -0000

On Wed, Mar 16, 2016 at 03:59:50AM +0000, Eric Voit (evoit) wrote:
> To help differentiate between concepts and drafts, below are strawman definitions for the various types of Mount which we have been discussing over the last year in Netmod.   Thoughts/suggestions?
> 
> YANG Mount
> ----------------  
> Definition: An abstracted term for a mechanism that a parent YANG model can use to link in YANG information defined or located elsewhere.  
> Purpose: Provides model flexibility by enabling the growth of YANG trees via an explicit reference to other YANG information and structures.

Trying to rewrite the definition to be more consistent with existing
terminology:

  The abstract concept of incorporating a YANG-defined data tree (the
  mounted data tree) into a existing YANG-defined data tree (the
  parent data tree).

Well, this is not really correct, perhaps we have to just say 'tree'
instead of 'data tree' since a schema mount (as I understand it) seems
to incorporate a schema tree into another schema tree while the other
two mounts incorporate a data tree into a data tree. So perhaps the
general definition is something like this:

  The abstract concept of incorporating a YANG-defined data tree or
  schema tree (the mounted data or schema tree) into a existing
  YANG-defined data tree or schema tree (the parent data tree).

The schema mount then essentially removes data tree and the other two
mounts remove the schema tree from this definition.

Is your alias mount simply a special case of a peer mount where the
peer is local? Or is there more to it? In other words, would it be
reasonable to think of the terms in this way:

         +-> schema (tree) mount
	 |
mount -> |                        +-> local data tree (alias) mount
         +-> data (tree) mount -> |
                                  +-> remote data tree (peer) mount

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>