[netmod] Re: comments on system-config-08 draft

Andy Bierman <andy@yumaworks.com> Fri, 23 August 2024 10:03 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 39F50C14CEE4 for <netmod@ietfa.amsl.com>; Fri, 23 Aug 2024 03:03:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s74Zso5Zg7xB for <netmod@ietfa.amsl.com>; Fri, 23 Aug 2024 03:03:35 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 366AFC14F6E2 for <netmod@ietf.org>; Fri, 23 Aug 2024 03:03:35 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-7143677f81bso32783b3a.3 for <netmod@ietf.org>; Fri, 23 Aug 2024 03:03:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1724407414; x=1725012214; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kaCZzSADDeDumP7BApX99SWZzFL0sIUCZWFHpJ/xeJ8=; b=g1dLzI6BkYdRNjb7Yt7P4rXf0sBsDcmjUJqf7f4p6Z6PDd6jyRYLShxaaGd3OxtODs QxEaDj0aX74qXnNOLaetde+pnPIEG1M0Xdu5QkxyqERVoNBWRChdx4gPaNfyJQPwvwXF 9vtfsjEEblN3Wo8eU9sGOpJZqHrmF/6KfBM2vnq/bmDv6aTOOOfeVleGZSF0LadScsr+ YUxhTTv7SQKBk6+oEZDOSx0D8RC286oujQLR/0ETKdLaCntQ2YA5Z69+odnIrC/d8ZES z9J7xCQYVaHN005RhLUhsET8x7AbcDInjDK1eQHgWgehTGEum5Zlbx9Gfg8qWv90IkMz 99Qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724407414; x=1725012214; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kaCZzSADDeDumP7BApX99SWZzFL0sIUCZWFHpJ/xeJ8=; b=JvRavVf+ja+DR0KcqMyojYv+fFcPHvlWxlt+2Xm/SB8czoT9WLX7bc04PBtHWMgWr7 c+28CaoF+Hs1Y5o62ueZgFk9zqg2h55WYyR3mLhaE7rGFZh7kfCnz4b3ZIZG41Aha/8X krtC9fcs1Vngvcco3PX/1QonJW5NCKEOwuAy6Aq2lmiNWn2LdWLYnT79fkqlhbs20UXs tg71bqKkQCakxfrva/X4CiZKrbtW6i5A7Ma5KFwgugozbg1tkqoZCSytR35GY4O+9eOT C7/VJ+dxhBDVB5o1XijnujMvmyQx/ClnRw8Q+zzh5+gf208NHXNdLGanAGvcLOcmcs9R 9vXg==
X-Forwarded-Encrypted: i=1; AJvYcCX70MjcYv+MHhbFZx6el9oqlZMJGrdThzBi/jXM7c0m5R/6dz//Lpv3YwgtWgpo0KlolcvUyLU=@ietf.org
X-Gm-Message-State: AOJu0Yz5FmnS/Yk8OBnUlEjdSQLFRkJaA3724e2HQ/nqnMMB9B8nrfmA WBpWnxRj12CN6gt9iWnjnUR8Eyt4m9YdmUYr721K2BVnUS3zjUEc5xfTnBOoUrgL1o3ql6GqB0M cQKKMmAmeepZry7/U5R9wDc0Tbn0RNVrZNGggB4InwXIyEd/4ua4=
X-Google-Smtp-Source: AGHT+IEPLjH5/aMTKKYNSYsVHO/q0VYdbgyKc5/k77r62MtbeDSDidnCC989exYoAEImwnPSOIUdXn+fGuBWTV3SoGI=
X-Received: by 2002:a05:6a00:6f03:b0:710:5d3b:b444 with SMTP id d2e1a72fcca58-7144540b0femr1190147b3a.0.1724407414317; Fri, 23 Aug 2024 03:03:34 -0700 (PDT)
MIME-Version: 1.0
References: <CABCOCHScHJENof+1obOgXUDZZMhhPhs9rvKHw4W0RRfF0R1_Hw@mail.gmail.com> <bf769710572f4b3884d58d128cf58305@huawei.com> <CABCOCHRWgBpt1Cx4FJqec=-80_PLvRKK1gz7oWJ06C=+_zjNRA@mail.gmail.com> <0100019175c50c8e-f22d8526-dfbf-49a2-badb-6ad10afd0186-000000@email.amazonses.com> <CABCOCHQihWy92AzWzgQSVFuWFuHEkN-_yK5T-r=jL0r5eOPkTQ@mail.gmail.com> <010001917aa52f3b-02340517-a63d-42ee-8c27-590f00b4b451-000000@email.amazonses.com> <CABCOCHTq-i3utR5_EUrYfdUfnx56gr5FxVNLubVEmc+LLXsUag@mail.gmail.com> <bd836cb888554e539bf9b39e948dc550@huawei.com>
In-Reply-To: <bd836cb888554e539bf9b39e948dc550@huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 23 Aug 2024 03:03:23 -0700
Message-ID: <CABCOCHRy9SdF91NuiOOnbfhHtCgsA1X+8=LLMZJ1rzCoqTQ3Mg@mail.gmail.com>
To: "maqiufang (A)" <maqiufang1@huawei.com>
Content-Type: multipart/alternative; boundary="00000000000060fcaa062056e3ff"
Message-ID-Hash: V7J2OVL5OG3TJAMWIEHSFPZMWLUCIDX4
X-Message-ID-Hash: V7J2OVL5OG3TJAMWIEHSFPZMWLUCIDX4
X-MailFrom: andy@yumaworks.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Kent Watsen <kent@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: comments on system-config-08 draft
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/DpxwzufkepfaxBOEyzlkuZKkumk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

On Thu, Aug 22, 2024 at 8:09 PM maqiufang (A) <maqiufang1@huawei.com> wrote:

> Hi, Andy,
>
>
>
>
>
> Changing the running config so it is split into 2 datastores makes
> operations more complicated.
>
> It doesn't actually work since YANG is hierarchical and has
> cross-references.
>
>
>
> IMO the only improvement needed is to add metadata to <running> so a
> client can
>
> better understand the system config and make edit requests that will not
> fail.
>
>
>
> Most deployment (90%?) is non-NMDA and it will probably stay that way.
>
> The developer focus is on data model deployment, not redoing the
> foundation. IMO people want YANG to
>
> be simpler and faster. I don't see how splitting config up into 2
> datastores helps.
>
>
>
> I am not sure I agree this draft is “changing the running config so it is
> split into 2 datastores”.
>
>
>
> I think it is already the case that NMDA never puts system configuration
> into <running>, it’s only in <operational>. So has NMDA already made NBC
> changes to the behavior of non-NMDA servers? If you know any existing
> standards that say system configuration is defined in <running>, I would
> appreciate that if you could help navigate, as I’ve always thought putting
> system configuration into <running> is just one of the existing various
> proprietary implementations, our implementation used to be this way, but
> not now, after some customers complained that they don’t want to see some
> system config magically appeared when they write some config into <running>
> and then read back, and there are other reasons like performance.
>
>
>

There is no such thing as "system config" defined in YANG.
It was never mentioned as an operator requirement in RFC 3535 (but separate
config and state is a requirement).

The "split config" is a result of suppressing system config (whatever that
is) when <running> is retrieved.

IMO this is no different than "with-defaults".  A client can retrieve
<running> with the defaults or without them.
A similar filter for "with-system" or "with-unused-system" would be simpler
than adding a new datastore to NMDA.
The complex interactions between datastores and operations on datastores
(like copy-config) are non-trivial.



>
> Best Regards,
>
> Qiufang
>
>
>
>
>

Andy