Re: [netmod] Differentiating the types of Mount

"Eric Voit (evoit)" <evoit@cisco.com> Wed, 16 March 2016 15:12 UTC

Return-Path: <evoit@cisco.com>
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 5D58212D97C for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 08:12:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 skfuJ2OREurW for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2016 08:12:17 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69E4A12D928 for <netmod@ietf.org>; Wed, 16 Mar 2016 08:12:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2901; q=dns/txt; s=iport; t=1458141129; x=1459350729; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=p/BRNMBK7VwFYjrEPBTu7b88c9r1MgzQQVUVBQA4NcM=; b=gb5OrcwtUkGw5clQTqusxycFOSdgJhSInQXDc1zpgMhTBEkr4mquLvry iZIQAU6Uiu91zhxTB5vD/hy3XSwU8ap2RT7FPpRNswdELNyLh/HswXVmy S7xUBCHm5tToE8GWkU3pS2Q7Xc/ZibsuStP78YWv3cnHdeZ619Rym4Jz1 M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D7AQCBd+lW/4UNJK1bA4NGU3S5fAENgW8dhXACgT04FAEBAQEBAQFkJ4RBAQEBAwEnEz8FCQICAQgOAgUDHhAbFyUBAQQODYgXCL9cAQEBAQEBAQEBAQEBAQEBAQEBAQEBFQSGGoREhF0mg3MFh2CLJIRNAY15jwyOfgEeAQFCg2WKT34BAQE
X-IronPort-AV: E=Sophos;i="5.24,345,1454976000"; d="scan'208";a="250056798"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Mar 2016 15:12:08 +0000
Received: from XCH-RTP-013.cisco.com (xch-rtp-013.cisco.com [64.101.220.153]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id u2GFC8dL030218 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 16 Mar 2016 15:12:08 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-013.cisco.com (64.101.220.153) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 16 Mar 2016 11:12:07 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1104.009; Wed, 16 Mar 2016 11:12:07 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [netmod] Differentiating the types of Mount
Thread-Index: AdF/OD2NJ3Cq4cCSQLyujReGzdHIoQAX41GAAAGL/6A=
Date: Wed, 16 Mar 2016 15:12:07 +0000
Message-ID: <21332d7a3dfd41009fb5023ca94baa94@XCH-RTP-013.cisco.com>
References: <84d0c3c5331c4b5e9d0883f890a87a40@XCH-RTP-013.cisco.com> <20160316112329.GB39598@elstar.local>
In-Reply-To: <20160316112329.GB39598@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.231]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/8BtPq2PFgUMuVLBJ3OULJZqolM8>
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
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 15:12:23 -0000

> From: Juergen Schoenwaelder , March 16, 2016 7:23 AM
> 
> 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).

This works for me.

> 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? 

>From a syntax standpoint, peer mount is more general.  But underneath, things get more complicated.

For example, many of the initial concerns about peer mount were on the implications of synchronizing objects across distributed systems.  (I.e., Eventual consistency is not appropriate when attempting to manage some type of objects.)  Alias mount shouldn't have this issue.

Eric

> 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

The formatting came through mixed up, and I didn't want to make any assumptions by doing my own reformatting.  If the answer above doesn't suffice, resend the example.

Eric

> /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/>