Re: [Netconf] [netmod] magic leaf 'type' in IETF interfaces

Andy Bierman <andy@yumaworks.com> Tue, 18 December 2018 18:14 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 064D8131199 for <netconf@ietfa.amsl.com>; Tue, 18 Dec 2018 10:14:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=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 CO0KKV6fjXuj for <netconf@ietfa.amsl.com>; Tue, 18 Dec 2018 10:14:50 -0800 (PST)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 A1CC2131192 for <netconf@ietf.org>; Tue, 18 Dec 2018 10:14:49 -0800 (PST)
Received: by mail-lj1-x229.google.com with SMTP id q2-v6so3907669lji.10 for <netconf@ietf.org>; Tue, 18 Dec 2018 10:14:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qu5cjoPouQ9Yjc0F2YWLg9buenT433nBKSHe4MCisKM=; b=TxP8AeBfMbSYmrdSgDqK5mcBP/2tyCakdgTmLihWyiZ9mJ//H7CHXa9oCKHzu9U30k /kGOBYXqKZgCfPO3DyFmI7lTKDiFksmX/Cw4z+UrbkeBfs5e1VZ5F5ov5EblZ5C5N+kQ NY7JCvguHG7d0wCjerXYbLeOHsPMN0MtPDLyJiU5VcBPa8TxNja2ASRHTyX/bIhAkvtc vdNgzylNbKWdEDynEzbARkDNWCaE9grk8/KbNaMh16dvSfOBXAORdDaDanwMjWxKkZ+H ic4o4yl9OGtBv3++26YgGurnhlcFFCFV7JX5J30TRV16/YE8klWL/8Pmnt1CD4340Pfz KfQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qu5cjoPouQ9Yjc0F2YWLg9buenT433nBKSHe4MCisKM=; b=PQkxcIBz3P5Qp/ixqFNIYav39NZiv2qEm6Q3HPGtkr0UTApTz6e0DHE1tcc1GSGoO2 8pBG748ZuC9oeYdmT9F+/Bfn3EtlsyZk5wd5QE+YQOvinJ68CwhIwlPuXwRT4yE+6Zsu 1dRzEcELBNVwDUuk22BNXPjGSf6dUsLIxbq4e7uFcABnBAbApnqbNPsgnkbJ9TA0loBS UVpJuebHzC0MSftUMZK0AxqWU1VPkokkCEBzMrjVFoJdZNc5JdR767x2Bk6YAXmH7e1L R9NVkDGo6tbfq34o/zSxAYRhOdvI31VKIr2tit8MBX/AvUapucDlrFX/nOXD+dGO5uma 4jTQ==
X-Gm-Message-State: AA+aEWbfR1Axx+Zaz/tPf4dp5m15dYsO/37QrrzCszpKTt4RMIMvepfC 6xZI3R7iY4UuvfOVU9hu4XyQzV3nE5DM2tF4zTWtN7sAzPk=
X-Google-Smtp-Source: AFSGD/WasPhXkiOBIFVCPPcOjj+tashzGiJuAs8PP6pk6X7h3JL5Zux+iz7cT8T5TP25Xp+1S8sGLfWWahJjRJUh3c4=
X-Received: by 2002:a2e:e02:: with SMTP id 2-v6mr9266886ljo.10.1545156887654; Tue, 18 Dec 2018 10:14:47 -0800 (PST)
MIME-Version: 1.0
References: <VI1PR07MB39818BD20967B36B8F24DBA69BA10@VI1PR07MB3981.eurprd07.prod.outlook.com> <20181217.091505.218628572185200621.mbj@tail-f.com> <83b139a1-a0ab-5fbc-f702-7f0d50a46864@ericsson.com> <90DB3C3B-FD52-4903-81B0-93985E6F74FE@tail-f.com>
In-Reply-To: <90DB3C3B-FD52-4903-81B0-93985E6F74FE@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 18 Dec 2018 10:14:36 -0800
Message-ID: <CABCOCHQc+kuNiw4guOsU5oRxnwZA0u7-sA5zHUKcERdqytaQpg@mail.gmail.com>
To: Jan Lindblad <janl@tail-f.com>
Cc: Balázs Lengyel <balazs.lengyel@ericsson.com>, "netconf@ietf.org" <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000694c19057d4fdf47"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/yFWJvkMewD5yK9dkddoX9gxybUM>
Subject: Re: [Netconf] [netmod] magic leaf 'type' in IETF interfaces
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Dec 2018 18:14:52 -0000

On Tue, Dec 18, 2018 at 5:37 AM Jan Lindblad <janl@tail-f.com> wrote:

> Hi,
>
> While I agree with Martin, in our systems we have a number of places,
> where the system does create configuration in running, due to
>
>    - different levels of automation and autonomous algorithms kick-in
>    - the created config needs to be possible to be further modified by
>    the operator
>    - the created config needs to be referenced from operator created
>    config
>    - the created config is not always ephemeral, it might need to be part
>    of backup/restore
>
> This is only a sampling from "the list of excuses". I have heard many
> more. The road to hell is paved with good intentions, however. If we want
> to build automation based on sound theory, clearly separating the orders
> from managers from a system's own operational view is key, IMO.
> Reliability, security, accountability are growing in importance, and they
> all play in this direction.
>
> We may not need to standardize rules to outlaw the above; the market will
> take care of that. What we need to ensure is that it is possible to be
> standards compliant without having to implement design excuses like these.
>
>
NMDA has a lot of room for proprietary mechanisms for converting <running>
to <intended>.
Many times the features desired by engineers exceed the capabilities of
YANG, such as
a dynamic default leaf.  YANG allows a simple constant, and no business
logic to pick the default.
This is a very valid use of "server auto-magic".

Maybe a future version of YANG can improve the client visibility into this
"auto-magic"


Best Regards,
> /jan
>

Andy


>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>