Re: [netmod] explicit mount

Ladislav Lhotka <lhotka@nic.cz> Wed, 24 February 2016 14:26 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4230E1B305D for <netmod@ietfa.amsl.com>; Wed, 24 Feb 2016 06:26:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.357
X-Spam-Level:
X-Spam-Status: No, score=-5.357 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 B-HLcAjgtiI0 for <netmod@ietfa.amsl.com>; Wed, 24 Feb 2016 06:26:49 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 41C8D1B3058 for <netmod@ietf.org>; Wed, 24 Feb 2016 06:26:47 -0800 (PST)
Received: from [IPv6:2001:718:1a02:1:78aa:6044:e10:c902] (unknown [IPv6:2001:718:1a02:1:78aa:6044:e10:c902]) by mail.nic.cz (Postfix) with ESMTPSA id C15A1181C34; Wed, 24 Feb 2016 15:26:45 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1456324005; bh=5k721nMlT2dqcE8mpSLiN6XVmbQVPBs+6WwHU9GkrmY=; h=From:Date:To; b=YZ7rL2nw6fQKZ8VL40nWnv+Au/1bmqi3Jh9bRVe9ymGr0eURyJcFByO1MITsWe3Hp xRekEMmXtU1Ka5Re7zowRDrgEuLcNW8nt0TjoUFICgP3ANl6YVZLujqnc4f/T0RLNx fJhZFBZvq6kqnEF2ajbeCXg9/BRS4mzd9cG2RT9o=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20160223.160806.696185201696745163.mbj@tail-f.com>
Date: Wed, 24 Feb 2016 15:26:54 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <6F4F343B-3869-41A6-9E7C-CE655917F0F1@nic.cz>
References: <20160223.160806.696185201696745163.mbj@tail-f.com>
To: Martin Björklund <mbj@tail-f.com>
X-Mailer: Apple Mail (2.3112)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/lcnpznJiQlYK-qNo7bLdvOROrmI>
Cc: netmod@ietf.org
Subject: Re: [netmod] explicit mount
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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, 24 Feb 2016 14:26:51 -0000

> On 23 Feb 2016, at 16:08, Martin Bjorklund <mbj@tail-f.com> wrote:
> 
> Hi,
> 
> In yesterday's meeting, Lou (I think?) mentioned a use case for mount
> that is not documented in draft-rtgyangdt-rtgwg-device-model; the need
> for being able to specify modules to mount directly in the schema.
> Something like this:
> 
>  container root {
>    ymnt:mount-point "lne" {
>      ymnt:mount-module "ietf-interfaces";
>    }
>  }
> 

It is IMO impossible to use YANG extensions for similar purposes because it fundamentally changes YANG semantics.

Lada

> It would be useful if the use case for this could be described in more
> details.  Is it a requirement to be able to specify this in the
> schema, or could it be done (as Chris mentioned) in the RFC text?
> 
> The reason I ask is that it is probably not as simple as the example
> above.  First, you probably need to specify a revision of the module
> to be mounted.  Or a min-revision.  Then probably a set of features
> that must be enabled.  And so on.  It turns out that there is already
> a proposal for specifying such a "conformance profile" - YANG Packages
> (see draft-bierman-netmod-yang-package).  Maybe it would be better to
> re-use packages?
> 
> 
> /martin
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C