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

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 10 January 2020 11:51 UTC

Return-Path: <balazs.lengyel@ericsson.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 5F15712002F for <netconf@ietfa.amsl.com>; Fri, 10 Jan 2020 03:51:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 (1024-bit key) header.d=ericsson.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 WdXnBFKYTuFj for <netconf@ietfa.amsl.com>; Fri, 10 Jan 2020 03:50:57 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80087.outbound.protection.outlook.com [40.107.8.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0006E120024 for <netconf@ietf.org>; Fri, 10 Jan 2020 03:50:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KomTVmr2rfU5bkaZT226upJXebv22dQDoAuHptjqkhjSyYxsyyoSHqZ2F4lH5AGWPm4SnIRT1THG4r+voohF0fwYRerJ25mFf5Nx1hjw+TzJpxSnQ8e0hxWgtslWNfxTNFOhVsiR3Mf0+ISUJkT72AiMJ+SI0hLdGUFgtUCcSyZC8NnPpngBuOGyLm0ZdSdipmfShl0ErhF2CV1uU0sFashFicYEiDwoAJKwVFjXc8eFwU7qYK8IhtjXDoU8NmtapxXZrrihdYngTdeAPZWW3D+WdTW3lx7s7AYS/Nsljv0OnKf1i1ojb1/X++F4lforSHZg1UXNh97Wsa9Vg+b1GQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=naQblk/QcARAv0D3wQHStBAxygGU+xNeTZYmi2m3kfU=; b=CzJEzkHsmeGueNgYBwWBmXEm2Hymvwa3RCLSUhVk3DXHY0Mr9eA1bMt1en9JyqrK7Ifqzc8xRa9lNm4ipcihMBAiYRokWPzfHANm7lBx/vmiHm06k3JotPkIEsZ7LFsvBudEThNzeZpsihwaBK+oFQoz2MYmDqM5Z433/Pvo8ymKo5iU5UAbSFTYUYrkSpoGTEPpt1vPVfXNXiPezY22bf28YZB/Q5JCFhLKnyXBMNVSI+oaKkAjLt7mLId9jdOZrCnpKdIBlDZuwFHW+PVJpwJEijt9HAhHsqh6yn5VGQn+A9s2av+IRUcidjAupW9e7o9pPYwQrYZM1I6Tqua4Gw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=naQblk/QcARAv0D3wQHStBAxygGU+xNeTZYmi2m3kfU=; b=U1d7qaUZUaFT+RwG+BFx02IqJOuAJcnidkAJobsZV1/F6vlpID5dVKK7aSxwcLUQqQlwn9GF7CvDruT0Yokb5u3Dh7ZC6YRTfZNG5MSy5C9LoEL5pvnNVZs6ElYpy3UJIm0CSgccKlYHfCpUISKuQi26lHzbbC5l6etwwtJg/dI=
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com (52.134.20.154) by VI1PR07MB5454.eurprd07.prod.outlook.com (20.178.81.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.6; Fri, 10 Jan 2020 11:50:54 +0000
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686]) by VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686%5]) with mapi id 15.20.2644.006; Fri, 10 Jan 2020 11:50:54 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>, Kent Watsen <kent+ietf@watsen.net>
CC: NETCONF Working Group <netconf@ietf.org>
Thread-Topic: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt
Thread-Index: AQHVxVsUq6ljVkP3y0ecYCN5b7iLjKfgMloAgAN4LHA=
Date: Fri, 10 Jan 2020 11:50:54 +0000
Message-ID: <VI1PR07MB4047CD903DA31C791A2BAA82F0380@VI1PR07MB4047.eurprd07.prod.outlook.com>
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>
In-Reply-To: <CABCOCHRn_sXEh_G4TKk3stZjWW0RFOroYtocFDKc2pntza_pVw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 207a2c25-fe15-4ae5-c7b1-08d795c35915
x-ms-traffictypediagnostic: VI1PR07MB5454:
x-microsoft-antispam-prvs: <VI1PR07MB54542DFD6F451D9299111A77F0380@VI1PR07MB5454.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:506;
x-forefront-prvs: 02788FF38E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(376002)(136003)(396003)(39860400002)(189003)(199004)(51914003)(15650500001)(81166006)(81156014)(8676002)(186003)(86362001)(55016002)(85182001)(5660300002)(2906002)(316002)(7696005)(26005)(53546011)(8936002)(33656002)(71200400001)(85202003)(6506007)(4326008)(9686003)(66476007)(110136005)(966005)(66616009)(64756008)(52536014)(478600001)(66556008)(66574012)(66946007)(76116006)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB5454; H:VI1PR07MB4047.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: G7K685X2/8P5HppnLpreAXayO+jYsTJvdexbzw2zt+VR1ShEDQL1iNmUrypwVHX1UNOiDRI3NnTtXHN5wYYrk1fSVBi5TDtnNGXeY88imWmC51povsc3yTfCNtDXMunTK5BfQ72ZZLW7PGUDDYHF+X1cxJziWGdtnIDvJrIquXVo/g2weiq+0IfB6/uMq/d3k6GPFKZLrdV2sJW59G+KYnnwYlhioTeg4R/zIU6JWnNoYqdaafo20YUJ6G1qTRGqNw+DP/v8GS1U+80uGMU680I88oKcVrZaKIhE8QYXZoMvifYadobyzhEJMLo/2pcVzRa6LFuPT8lAHCz8+I7oFFBghoqOkdnqhW+T0QsApBWth2ZTZqceVm+5T+PhnNf6RbTjPnSN+VdbpWjcMAF16qgS/zOvLxm44iUaQLW5y6JtMr3QgHUN2W0rBFdaX+BrXRz22v35x7mMS+e4JtoIYuArcYuuXszjyIc0ajjjpgvFAzN7VacTqcyKCvvRPKO+gc5gDG751HaKInm2EG9zNqEmnjBr7zILznU1oBzs2cQ=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0106_01D5C7B4.974C5320"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 207a2c25-fe15-4ae5-c7b1-08d795c35915
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2020 11:50:54.1315 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iAKgZo72C4QHv46CFL6ribptEbbadi6luoJLM2zvTJnbqWdVtq+r+i46+0v+sg9dPRwa+un1FQYIFGBDDM8NH918ceFdPjaHdl9qrwG/ljA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5454
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/axFCL8qvj5OIQ_LMNH8GI3loQyQ>
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 11:51:01 -0000

Thanks for the comments. See below. Balazs

 

From: netconf <netconf-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: 2020. január 8., szerda 5:46
To: Kent Watsen <kent+ietf@watsen.net>
Cc: NETCONF Working Group <netconf@ietf.org>
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

 

Hi,

 

I think the new system capabilities module is good enough.

The node-instance-identifier type allows a key to be missing, which provides some entry reuse.

 

My concerns are with the notification capabilities module.

 

  - notification-support:  why is this an enumeration instead of bits?

 

suggest:

 

     typedef notification-support {

        type bits {
          bit notifications-for-config-changes-supported {
            description "The publisher is capable of sending
              notifications for config=true nodes, but not
              for config=false nodes for the relevant scope
              and subscription type." ;
          }
          bit notifications-for-state-changes-supported {
            description "The publisher is capable of sending
              notifications for config=false nodes, but not
              for config=true nodes for the relevant scope
              and subscription type." ;
          }
        }

   - can the names be shorter (config-changes, state-changes)?

    these names seem redundant and verbose

 

BALAZS:  OK changed to bits and shorter names

 

  - update-period

    this object seems implementation-specific. 

    The description should be less normative and use 2119 language

 

            A periodic subscription to the selected data nodes must

            specify a value that is at least as large or greater than
            this

 

      Suggest:  s/must/SHOULD/

BALAZS: OK changed to SHOULD. This is a requirement on the client so I though it is not an RFC2119 must or should

 

  - 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/

BALAZS: OK changed to SHOULD. 

This is not implementation specific. E.g. the standard   3GPP TS 28.622 specifies that the system should declare a set of specific values (Not intervals) that are supported

 

 - max-objects-per-update

   - extremely implementation-specific; Does this assume a server generates updates

     by counting objects and stopping when this value is reached?

   - the text is not clear if it means objects or object instances? Do child nodes count

     as instances? IMO this object should be removed or changes to max. bytes per update

     (also implementation-specific)

BALAZS: RFC8641 defines:

     identity update-too-big {

       description

         "Periodic or on-change push update data trees exceed a maximum

          size limit.  Hints on the estimated size of what was too big

          may be returned as supplemental information.";

     }

This is the related capability. If you can get back a too-big error, then you should have a capability declaring what TOO-big means.

Bytes are risky. If the value of a string is updated from a single character to a 2 characters the subscription might become invalid 

as we have more bytes now. Also it is impossible to calculate the number of bytes as it depends on future instance data content.

You could say the same way that if we count data nodes, if a leaf-list gets one more entries the subscription could become invalid.

Still IMHO the best solution is to count the number of “data nodes”. I will change the description.

Also if the node can not a meaningful value it is free to omit the leaf.

 

 - supported-excluded-change-type

   - this union has overlapping enumeration implied values

    suggest assigning value -2; and value -1; to none and all enums

BALAZS: OOPS, will be corrected.

 

 

Andy

 

 

 

On Tue, Jan 7, 2020 at 5:04 AM Kent Watsen <kent+ietf@watsen.net <mailto:kent%2Bietf@watsen.net> > wrote:


Dear WG,

This is a fairly substantial update that defines a generic "ietf-system-capabilities’
module and a separate "ietf-notification-capabilities” module that augments into it.

We could start WGLC #2 now, but it would be good to get a few high-level reactions
from the WG before doing so.

Please provide comments as to if you believe the draft is ready for WGLC #2..

Thanks,
Kent // as shepherd


> On Jan 7, 2020, at 3:28 AM, internet-drafts@ietf.org <mailto:internet-drafts@ietf.org>  wrote:
> 
> 
> A new version (-09) has been submitted for draft-ietf-netconf-notification-capabilities:
> https://www.ietf.org/internet-drafts/draft-ietf-netconf-notification-capabilities-09.txt
> 
> 
> The IETF datatracker page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-capabilities/
> 
> Diff from previous version:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-netconf-notification-capabilities-09
> 
> Please note that it may take a couple of minutes from the time of submission
> until the diff is available at tools.ietf.org <http://tools.ietf.org> .
> 
> IETF Secretariat.
> 

_______________________________________________
netconf mailing list
netconf@ietf.org <mailto:netconf@ietf.org> 
https://www.ietf.org/mailman/listinfo/netconf