Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

Andy Bierman <andy@yumaworks.com> Fri, 10 January 2020 16:44 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 C6C88120A07 for <netconf@ietfa.amsl.com>; Fri, 10 Jan 2020 08:44:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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, 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 9r_WGu-7ryT9 for <netconf@ietfa.amsl.com>; Fri, 10 Jan 2020 08:44:38 -0800 (PST)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 1AFB11209FF for <netconf@ietf.org>; Fri, 10 Jan 2020 08:44:38 -0800 (PST)
Received: by mail-lf1-x132.google.com with SMTP id 203so1937307lfa.12 for <netconf@ietf.org>; Fri, 10 Jan 2020 08:44:38 -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=OEk92bVxNac2gFa8Hzeq5rYvVIWgHs0bO5tre2df21Y=; b=EN72+2LAXGqTElQ4j6RrUkooIsVTl2NaVWcd6zBVhGHfT+wjc6Xw9KFmcN+rGy03QV swrMiwwf1qTvtHlejDi59uVxMEe1WNR7QbCQcCkRZ3gFTfGPnGxl/V/w1LbzE2bI/s8z rjlAAVrv+k0TLAc1rfsVJfAmz+/JmamJrIKQtwemnxTgHq3z8VMbvZRX4VVqZk3uBogT THvdigcT7y5MyswrXdoN/AcZYxmLMem8I6qQJ3lkvRA/s5lZtT7pSeml52LBYqGSj8AT YsC3fkCxb7mz6ykZCA0DnciG39MtDh7EM5Ld37R2hHOJOm6Cy8VmpCxrYuF5PAf6WmVs 3YMA==
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=OEk92bVxNac2gFa8Hzeq5rYvVIWgHs0bO5tre2df21Y=; b=qhJyccabI1xWVNUguS1/c+QWIrzPam+qKvHt58TbOdhmMNADGmIRH4UwV2xEUkdaCX /LiLCYNuCwAEqLWIyC+cmSUs3k30zb3V0ftfKgrYwPaEz7WYtj5+Rv9uUs1pUfCPyi1K vdhLh5ZRNOzeRFJJ1TuqaEG5QnkpigIg93FgF4S2v7iGcVITWEK9LHvzsTjY/aZNvRuX IeUWf8vngZtl5qGx0kdjjCCw+7DrcemH2agEQ8sREAznHaGW7y+1Bn1zBiLlHRNXMlxx dJEjNWo4N8RystkMcUKd4ZscQdA5H1MG+S3VTkNnC/Dyo16X69ajjfaUzdZKxl/SUEjz Ytmg==
X-Gm-Message-State: APjAAAUr+R5aTVB7TE6uiNlez9O+u1aaCCe6WkBb64BeIhwQ9rkgsUKs CH6MD+Z9OsoaDdmO2KTQHXf8ujIBymWBuCXJt+ZTJA==
X-Google-Smtp-Source: APXvYqwC6k74t/1YHxezy46Wwbx5tUKK3kdk6swZCmTYczLeYro6sYByXgy9rx4NvWCktYVDWBkPV2TT+PxLnDdcJs4=
X-Received: by 2002:a19:4849:: with SMTP id v70mr2961837lfa.30.1578674676299; Fri, 10 Jan 2020 08:44:36 -0800 (PST)
MIME-Version: 1.0
References: <157838571918.20942.9897465405126184637.idtracker@ietfa.amsl.com> <0100016f801b8360-00636b39-8317-4e78-a233-dba17073fc39-000000@email.amazonses.com> <CABCOCHRn_sXEh_G4TKk3stZjWW0RFOroYtocFDKc2pntza_pVw@mail.gmail.com> <20200109.125407.1696793655072242187.mbjorklu@cisco.com> <CABCOCHSUfEAoQ27pgJYmmPnrQyE-rM8ur=BNF0nVD8sfuvZCmQ@mail.gmail.com> <VI1PR07MB404757A9D5638B70D8B91D62F0380@VI1PR07MB4047.eurprd07.prod.outlook.com> <CABCOCHSdv9i=OR142t_eMYJ5aNA2+5mQa0P2ZzEr_YzYmjO+KA@mail.gmail.com> <VI1PR07MB404708C5115CBE46086E7EBAF0380@VI1PR07MB4047.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB404708C5115CBE46086E7EBAF0380@VI1PR07MB4047.eurprd07.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 10 Jan 2020 08:44:25 -0800
Message-ID: <CABCOCHRqE9Y2gKsc4gDjmi3bDfDDeno3CWPgZX=E2PrMcPqtqg@mail.gmail.com>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: Martin Bjorklund <mbjorklu@cisco.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004c11fb059bcbd70b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Zcn1BzjjGi2CmQ07Ic3a1Roguaw>
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Fri, 10 Jan 2020 16:44:43 -0000

On Fri, Jan 10, 2020 at 8:07 AM Balázs Lengyel <balazs.lengyel@ericsson.com>
wrote:

>
>
>
>
> *From:* Andy Bierman <andy@yumaworks.com>
> *Sent:* 2020. január 10., péntek 16:48
>
> On Fri, Jan 10, 2020 at 4:16 AM Balázs Lengyel <
> balazs.lengyel@ericsson.com> wrote:
>
> *See BALAZS2 below. *
>
>
>
> >   - supported-update-period
> >     - this is very implementation-specific, especially as a leaf-list
> > instead of a
> >       leaf with a range
> >     - also has 'must' language that is inappropriate; s/must/SHOULD/
>
> See above.
>
> What about the supported-update-period leaf-list?
>
> If a server allows any centi-second value from 1 sec to 1 hour then this
> will
>
> be a leaf-list with 5900 instances in it..  Since there is no reason to
> limit the upper-bound
>
> (e.g., client wants 1 statistics update per day) this leaf-list will
> likely have millions
>
> of instances in it.
>
>
>
> IMO this leaf-list should be removed. The minimum-update-period is
> sufficient.
>
>
>
> BALAZS2: There are implementations and standards that use specific values
> not ranges.
>
>
>
> The YANG-Push standard simply specifies "centiseconds" as the type.
>
> There is no mention in RFC 8641 of anything related to supporting a subset
> of this data type.
>
> The YANG syntax for "centiseconds" allows for 4 billion distinct values:
>
>
>
>            typedef centiseconds {
>
>        type uint32;
>
>        description
>
>          "A period of time, measured in units of 0.01 seconds.";
>
>      }
>
>
>
>
>
> IMO this object could be added via augment by a vendor or other SDO.
>
> It has no relevance to the YANG-Push standard.
>
>
>
> BALAZS3: RFC8641 defines: period centiseconds derived from uint32.
>
> However it does not say anything about whether an application should/shall support
>
> -        The full uint32 range
>
> -        Just some interval(s)
>
> -        Zero to a minimum value
>
> -        A specific set of values
>
>
RFC 7950 specifies the server requirements for typedefs, and the built-in
type uint32
The YANG-Push data-def-stmts make no mention of any different
interpretation of this data type.


> I could argue the same way that a set of specific values is enough, minimum is not needed and is not specified in RFC8641
>
> IMHO 3GPP is an important user  community, so if they are using specific values, we should allow for that in our model.
>
>

It is one thing for a client to configure a subset of values and quite
another
for a server to only accept a subset of the specified values.
YANG Push is not constrained to a subset of the centiseconds data type.


> I see value in allowing both a minimum value and specific values. Does it harm anyone to allow both?
>
>
It doesn't belong in the module for YANG-Push.
IMO you need to use a deviation to replace the data type because your
implementation
that only accepts a subset of centiseconds is non-compliant.  A client
should not have to
go read some unrelated capabilities objects to find out how a server
deviates from the spec.

BTW, the module names a top-level container called
'notification-capabilities' but none
of the contents are for generic notifications. They are all for YANG-Push.


Andy