[netmod] comments on YANG mount requirements draft

Andy Bierman <andy@yumaworks.com> Mon, 28 March 2016 21:35 UTC

Return-Path: <andy@yumaworks.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 B49D712D0C1 for <netmod@ietfa.amsl.com>; Mon, 28 Mar 2016 14:35:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 JA8o-W_sPpzK for <netmod@ietfa.amsl.com>; Mon, 28 Mar 2016 14:35:40 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3206A12D554 for <netmod@ietf.org>; Mon, 28 Mar 2016 14:35:40 -0700 (PDT)
Received: by mail-lb0-x22e.google.com with SMTP id qe11so89173432lbc.3 for <netmod@ietf.org>; Mon, 28 Mar 2016 14:35:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=ydjHHJUiJWPWkM2qjXLZru05M2waa4yNH/2HGu/373Y=; b=upNFkwnJlcYEza71s6biZwGkGNSxXTnOtVBb3dggzcP0bnWsrw4BF27vC4AFpueT0c qMvPdND2MQ8TL8FKAT9nx/J2cV/FHqKHV9okmVJEJdDybENWXk9/VozE/v0Lpxrmnvdg ytq3fni2xV4rQ7/m6mbAZUBzCFDtESPlfhzIJjRNYXyFceeRiEDNeAVtL9EqrFbM52Vk M/Xu/ysHfrVyBFgTe17jXGL3AULtC3kuqwqLnxYDGGF5YpBExKa8aI1+p63+SGDWF2Kk +Zc2jUeQkDj6fBbmT807k1XId2Ic820EsUQeeeXIwQ5+OunN+y8x+zpcjGu1ONwTLvae sRag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=ydjHHJUiJWPWkM2qjXLZru05M2waa4yNH/2HGu/373Y=; b=Suf7iiLNYGvtuKhKia4LpBJORb3HbE3mdhMylE/asQOMHYVWRHlTQ3ZAWcYPLPzCjd Uvw3CZgIbk9ZJqtsGD0DeKDBsPga7CyKn7YCWSu0RWTP5zbYPiNYHOuTF3wJfi0+8AHL OT7oT0pvt5hcovEsvYYmAUeLvDassRc6IvoqxGvyaCMo/Vkv7kbWb3662dcTaSuCfo9X SyvGbcFygWMxDeVWH9XiM7WlPFmpsWRWZ71+xvjmdaCZhU95t16XcAp4zX3k8fkRHsLa Gkjh2ctWPaiVK2PZgSA4glqwPtnOe/8j/cg6/GswFYMlmKVenzLxCjZrbk6pwo/sNFZW 6zzg==
X-Gm-Message-State: AD7BkJKkMCqbSg/DLya6rOguLN+FCEA6tww+9pZKFn7BA3dkIJoTb+kVtZqH52DUqAQ67OC4p2oaPyXzYdwjTg==
MIME-Version: 1.0
X-Received: by 10.112.129.169 with SMTP id nx9mr10956963lbb.96.1459200938213; Mon, 28 Mar 2016 14:35:38 -0700 (PDT)
Received: by 10.112.135.97 with HTTP; Mon, 28 Mar 2016 14:35:38 -0700 (PDT)
Date: Mon, 28 Mar 2016 14:35:38 -0700
Message-ID: <CABCOCHSH-JJS5BQXTUWRs3dDqDbtuAaMMs2HCUjA7knPe2PDjg@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="047d7b3441da941bb7052f22b11b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/85Z_Fe4mhzoWahxiJmfgZVWFJng>
Subject: [netmod] comments on YANG mount requirements draft
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: Mon, 28 Mar 2016 21:35:42 -0000

Hi,

I was reading the requirements draft to see if that
offered any insight wrt/ why I should like any of the solution drafts.


https://tools.ietf.org/html/draft-voit-netmod-yang-mount-requirements-00


sec 1)  I do not really agree that the priority should be to make the
client as simple as possible.  There is no mention of the overall system
impact if the complexity is moved to the managed devices
(where resources are more expensive than a workstation or laptop)

I do not agree Alias Mount is needed at all.
This is a local presentation issue.  The client software
can map /foo/bar/baz to /top/acme-objects/orange
if they want.  It is a client-side presentation issue.
I do not understand why the client tool does not
just use the object paths derived from the YANG modules.

The only part of this problem space I support
is the ability for a controller to provide a nested root,
representing the document root of the mounted device.
This allows the YANG to be mapped correctly and predictably.

E.g,

OK (mount from root)

   /mounts/mount/server1/interfaces/interface/mtu

NOT OK (mount from arbitrary subtree)

   /mounts/mount/server1/interface/mtu


All cases in which the YANG paths are supposed to be ignored
because the relocated YANG is broken should not be allowed.

I do not see why we need YANG Mount and YANG Push and Pub/Sub.
Seems like they all do the same thing.  The client needs
push updates instead of polling the server.  What the client
does with the pushed data is an implementation detail.


Andy