Re: [netmod] kw comments on draft-voit-netmod-yang-mount-requirements

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sat, 09 April 2016 08:29 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 F353612D10D for <netmod@ietfa.amsl.com>; Sat, 9 Apr 2016 01:29:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] 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 TygDLbuZqOLz for <netmod@ietfa.amsl.com>; Sat, 9 Apr 2016 01:29:52 -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 B349312D0EC for <netmod@ietf.org>; Sat, 9 Apr 2016 01:29:51 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id E2B322226; Sat, 9 Apr 2016 10:29:49 +0200 (CEST)
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 QjhNo8bghbWg; Sat, 9 Apr 2016 10:29:23 +0200 (CEST)
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; Sat, 9 Apr 2016 10:29:48 +0200 (CEST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id A1D2420046; Sat, 9 Apr 2016 10:29:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id wE0WiUBdK5vv; Sat, 9 Apr 2016 10:29:46 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 8D2FE20043; Sat, 9 Apr 2016 10:29:46 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 8FDDB3A76447; Sat, 9 Apr 2016 10:29:45 +0200 (CEST)
Date: Sat, 09 Apr 2016 10:29:45 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Alexander Clemm (alex)" <alex@cisco.com>
Message-ID: <20160409082944.GA68503@elstar.local>
Mail-Followup-To: "Alexander Clemm (alex)" <alex@cisco.com>, "Eric Voit (evoit)" <evoit@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, "kwatsen@juniper.net" <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <51F6361D-5F32-449F-80D6-26A4B3569DC1@juniper.net> <20160405.113822.1614298419822308565.mbj@tail-f.com> <a56bf1df63ef47e7a7d96ba78146703e@XCH-RTP-013.cisco.com> <20160408065748.GA66159@elstar.local> <c41c4265f9654e4984b977e1ed4fa9a2@XCH-RTP-013.cisco.com> <f9d6744dbb994d9a99025ecdb95cb02f@XCH-RTP-001.cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <f9d6744dbb994d9a99025ecdb95cb02f@XCH-RTP-001.cisco.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/2Slh9252ja_vvxcQ_azjXoAD6ZI>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] kw comments on draft-voit-netmod-yang-mount-requirements
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: Sat, 09 Apr 2016 08:29:55 -0000

Is the essence of your long text that the difference of alias mount
and local peer mount is:

alias mount = read-write
peer mount = read-only

Is it documented somewhere how writing (including locking) works with
alias mount, how NACM works with alias mount, ...?

/js

On Fri, Apr 08, 2016 at 07:02:20PM +0000, Alexander Clemm (alex) wrote:
> Hello Juergen
> 
> to your question: 
> "> So why do we need 'local data mount' (aka 'alias mount')? Which 
> > problem does it solve that 'peer mounting' localhost does not solve?"
> 
> Yes, you could apply peer mounting to a local host as a special case.  Certainly there is nothing that should prevent that.  However, the distinction is still relevant.  For one, in the peer mounting case, the remote host is considered the authoritative owner, the mounting host is _not_ the authoritative owner.  In alias mount, since it is the same owner, it has authority.  
> 
> The fact that in peer mount the local host has no authority means that the use cases primarily targeted involve cases that require visibility of data and support for a data retrieval, read-only view.  One of the concerns that had been raised earlier were the ramifications that transactional behavior and locking etc would have in a distributed scenario.  Given that alias-mount is local, things are simplified and use cases that go beyond pure providing visibility easier to support.  So, alias mounting may be an important special case of peer mounting, but also a simple case.  This is a fact that we would like to leverage.  
> 
> In practical terms, alias mount and peer mount can look very similar.  Peer mount involves an additional parameter (to identify the target system), with corresponding additional mountpoint management ramifications.  So, peer mount can in that sense build on top of, or extend, alias mount.  
> 
> --- Alex
> 
> -----Original Message-----
> From: Eric Voit (evoit) 
> Sent: Friday, April 08, 2016 6:33 AM
> To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> Cc: Martin Bjorklund <mbj@tail-f.com>; kwatsen@juniper.net; Alexander Clemm (alex) <alex@cisco.com>; netmod@ietf.org
> Subject: RE: [netmod] kw comments on draft-voit-netmod-yang-mount-requirements
> 
> > From: Juergen Schoenwaelder, April 08, 2016 2:58 AM
> > 
> > On Fri, Apr 08, 2016 at 02:20:19AM +0000, Eric Voit (evoit) wrote:
> > > My thinking matches more closely to what Kent lays out above:
> > >
> > > schema-mount
> > > data-mount
> > > remote data mount   (a.k.a. peer mount)
> > > local data mount        (a.k.a. alias mount)
> > >
> > > The value in the term "yang mount" is that it provides a conceptual 
> > > umbrella to
> > ensure a cohesive syntax across the four valid permutations of the 
> > above.  The term itself was never intended to be implementable.
> > >
> > 
> > So why do we need 'local data mount' (aka 'alias mount')? Which 
> > problem does it solve that 'peer mounting' localhost does not solve?
> 
> To me it comes down to ease of use for the developer. If the system only allows mounting localhost, why require that parameter in the syntax?   That parameter shouldn't even be available/visible for entry. 
> 
> 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/>

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