Re: [netmod] system configuration sync mechanism

Andy Bierman <andy@yumaworks.com> Wed, 04 August 2021 13:19 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 530993A1A8E for <netmod@ietfa.amsl.com>; Wed, 4 Aug 2021 06:19:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 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_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, 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 DrcRdiGpKidi for <netmod@ietfa.amsl.com>; Wed, 4 Aug 2021 06:19:51 -0700 (PDT)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (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 7E1913A1A8A for <netmod@ietf.org>; Wed, 4 Aug 2021 06:19:51 -0700 (PDT)
Received: by mail-wm1-x32f.google.com with SMTP id f9-20020a05600c1549b029025b0f5d8c6cso3910482wmg.4 for <netmod@ietf.org>; Wed, 04 Aug 2021 06:19:51 -0700 (PDT)
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=KTzz0akStGHyyqUtqAOdlKbiBZIvUgSyLsmiG2PVEwA=; b=0kf7RwTr0ogMLnVH1YdbdBtjS7KorKhvSA94+eFasIJWS2rg2tY+5tckHj7czrU42m b5x5DV/my60nGdCkOmbb6j9BinQlrGarkCmvwd/WMO5tftuZ7BuuAmVOg66boVCzy8Nh mWeYABGUkhZybkIA8sBLQS4+PcxU8qXRAliJRVVsXgG3uf0FRRpZZ+MJ0tij0gBegaEx s6Kv4D76ijPZ6Td2W7GCfloTZ7XPI6fAmfA3v1m0gGkJLpcscUlpTf/F77TRTO3imm0i pRsmsFH1CFUZdjoCiFeelY4504PRhgVtnfeS3v3KrpOYhjV/CqEOogVYYaS8u9NxFgB4 ZT9g==
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=KTzz0akStGHyyqUtqAOdlKbiBZIvUgSyLsmiG2PVEwA=; b=HJzaR65eFRQQkzolVygTRrLgP7lWjLNDK4cDp9S6S3OFLlzGXigkqFml0n16xjCNsm cqlQU5VCBrkNoSQom7+nTGsjIWxP2pFtkjkj7kXuAEEv7rsjMo8ZRGHDCBlW+XspfYX2 7hQasbHbAv3XUOCyKveydB9seHaY2e6Qi2h5bGj6V8EfJjGwNoMql6iJQUML7E8eOiw8 jBfVO4WeJxPgtn0qGhU2aHjxHWtANJb9kajgG53Gw9+nIAQEOCbq8bV73lVZgJebg2fq IvirjwJl06VZSrA6+jq6p0O5fsxSFFnpkZ/LCLTvDVMYMEUAKn1LsahyJbeLoylcGc4D DUjA==
X-Gm-Message-State: AOAM533OP/kRdUhJCXoDieFVIUVMe9r2q1IvLTd/Cu4ZyF8gihP2rCSK TWWAvRtBqirW121qx/DLjszr7xXmw9Cy6YSCYHWYZQ==
X-Google-Smtp-Source: ABdhPJxmbb2N2Ld9xvElASdA/buHJMT6ao1qaWvu4QLnuWucrUpsx6i1dUks+XukJcP6UbZ9sFGiWu1m9F37blbRiaw=
X-Received: by 2002:a7b:c7da:: with SMTP id z26mr9729458wmk.147.1628083189287; Wed, 04 Aug 2021 06:19:49 -0700 (PDT)
MIME-Version: 1.0
References: <CABCOCHR+E7uh5EOxXaMaFEBb-Oi0U_4G41Z=Jwk3mUAcodnAPg@mail.gmail.com> <0100017b1128b30f-fe4c9258-3392-476a-ae21-604d2a80f523-000000@email.amazonses.com>
In-Reply-To: <0100017b1128b30f-fe4c9258-3392-476a-ae21-604d2a80f523-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 04 Aug 2021 06:19:38 -0700
Message-ID: <CABCOCHT+qsWdZ2UN9F7WWELSvcwHzhc06Qg00A2TLqUxjeN3zg@mail.gmail.com>
To: Kent Watsen <kent@watsen.net>
Cc: "maqiufang (A)" <maqiufang1@huawei.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000029a54805c8bba843"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Y_v6Zf7AGxesJ8N3j4u4klb1CjM>
Subject: Re: [netmod] system configuration sync mechanism
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: Wed, 04 Aug 2021 13:19:56 -0000

On Wed, Aug 4, 2021 at 5:34 AM Kent Watsen <kent@watsen.net> wrote:

>
> I am confused by the confusion  ;)
>
> You all know that JUNOS implemented this concept before YANG was even a
> thing, right?
>
> Admittedly, it’s not a “datastore“, but flexing the NMDA is where we can
> do better.
>
> A “with-system” mechanism could also work.  The only downside is the
> inability for a client to get only the system configuration, without the
> rest of <running>.
>
> Please stop stating/suggesting “config true” nodes are referencing “config
> false” nodes,  or that config is referencing operational state.  There is
> no intention to break either of these tenants here.
>
> I think that some folks just joined the conversation and may have missed
> out when we covered all this before.
>
> The draft needs to be updated to more clearly identify the goals.



I strongly agree the draft could better explain the problem and the value
of the solution, especially how
this datastore is used to represent system values that are not in use.
Since NMDA already
provides a solution to retrieve the "system-only" nodes that are in use,
there is no value in that part
of the system datastore at all.

Also some pointers to implementations of this system datastore would be
helpful.

I am confused because there was an assertion made that this system
datastore was needed
so that the nodes could be referenced in config XPath.  This is not
correct.  The solution that Balazs
outlined is quite common and much better and less disruptive than adding a
new datastore.
It is trivial to identify the user-write operations that are allowed (e.g.
modify but not create, delete,
or rename a physical interface).


>
> K.
>
>
Andy