Re: [netmod] [Netconf] 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: 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 E552D131192 for <netmod@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=unavailable 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 YXb7BK0LsXEr for <netmod@ietfa.amsl.com>; Tue, 18 Dec 2018 10:14:50 -0800 (PST)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 A23CA131197 for <netmod@ietf.org>; Tue, 18 Dec 2018 10:14:49 -0800 (PST)
Received: by mail-lj1-x233.google.com with SMTP id k15-v6so15038039ljc.8 for <netmod@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=pncgP2YtksfF7QdeMF8FHrkB29mpiuqhqcxhACM5Gotz8A/g2sp+lCs9ONovMpGn5A 4FuPf6btD/lZ3jToz3JHOp/thlA2xBqj0KyRyp8tqy1ENxCExeE8I990Qhsq1pRyJUNJ nKPIoOmVEDzUrNNTM3YghVN7i9jhihFTuueJSUyrGVkwZTsLTwAIYtZICe0s0sSP/1Xl T5Ec/Oz7eV9g41aYVWJFvKSnuzgydcQngCbstso/FKKWVGwD4w8zXW7CuGndHzdClcpV Dt5JRJrIGjW/ED2MYafjzlugpeLXOVRe5KsmSlvRhc3dhAK8P6eOCwQfb6EaXBqWEQdy BAhQ==
X-Gm-Message-State: AA+aEWaBMG/n4CqCkUTEHbtlUqt11FZfP7ENY9BLo499Brdb9/eOIq9o a1RXGkIYHjLTnVyDVZAoDCPKULRAxynmLRPnI4iKUw==
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: =?UTF-8?Q?Bal=C3=A1zs_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/netmod/33-oIOORCjmu3PGOvpUkx0YxrEI>
Subject: Re: [netmod] [Netconf] magic leaf 'type' in IETF interfaces
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 18 Dec 2018 18:14:53 -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
>