Re: [netconf] Generic Capabilities model

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 06 December 2019 13:53 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 4B543120819 for <netconf@ietfa.amsl.com>; Fri, 6 Dec 2019 05:53:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.99
X-Spam-Level:
X-Spam-Status: No, score=-1.99 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, T_KAM_HTML_FONT_INVALID=0.01, 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 NmwotjwCyFQL for <netconf@ietfa.amsl.com>; Fri, 6 Dec 2019 05:53:08 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50077.outbound.protection.outlook.com [40.107.5.77]) (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 45989120817 for <netconf@ietf.org>; Fri, 6 Dec 2019 05:53:08 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m/QvO1OoFtEZdkP9n1/FAojQdgwt6k0XYjMIMCjKFy/MZ+2/zS8Oh4hvXrKh4bbUNngN2Rmb48MoZ1i1EZVnUUJGMokq9gdutFe2XA6NI1LpiJxWSXkV5RccS/jWvBbXzhZjAVuajct5o2YEhIkRouNw/3GqCjSjlc4nPFibN7m+H3z7CAF5mRSx1AspglD9sHc0pyWUrq+Ti+DwmAE1e/OsWqVNtOtZBt75XCOnyHZ85nJFqovGVH3/CnGPxZlCTynpkvvCEt2xtoFS5D+Gi05rQuSH9HARYIh+nfczj2Kisx8EijY04DPqiP3lExlvF5Ykrw0w5pGh9FcZKhrLRg==
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=djLGdLKUlN8tGQOFjsnThCtG8ENqJpcO2omyMR4d+fM=; b=dExnA7r23b3C5DFTKw1Z5dNwNqdUVqpUE69Ew5WnmQa/4AH5MnlNzusofkxsoQH+8LzHpcLvGJjzSuYXMrrcfRXvlK7JAZtDFz3knWndnFNZgvxGKTvpUDz2+jm6xICRXGyAO0bM5fD/0dr0tR/suP/KAyFlO7OGCjD9amB9PGtt+ia5LvInWi101YaUyobfT9V3eaXROTHY/7GG0SAny22wklsKui4W1hwOBYfQQ0PPPzObzl/eVImAkYbI7dDOsjIQnlF1trvJKRflT1mJp0zY0f8hfbjrjmhnljWoQTWa3mb1G3cJQr0oBgvAOjx9feP7+XY7mPavErJcHhUYeg==
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=djLGdLKUlN8tGQOFjsnThCtG8ENqJpcO2omyMR4d+fM=; b=qi+JFpX1im9RcdXcKxcvTTg/bTcIXj13LkORreKL5JFiHm/OMX3i9U9nwgAvpweH3xk8eB+unk7pCUblLs6jcW/o3rLK/L2vFivjfoe23fwvr2fwoFWL1426wUwJgszk5iYyQX/+f5X1ep4qGXOeTvTO+jyBk8vbdJ0Vuh6Yv84=
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com (52.133.47.21) by AM0PR0702MB3586.eurprd07.prod.outlook.com (52.133.50.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.5; Fri, 6 Dec 2019 13:53:05 +0000
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c]) by AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c%7]) with mapi id 15.20.2516.013; Fri, 6 Dec 2019 13:53:05 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>, Benoit Claise <bclaise@cisco.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] Generic Capabilities model
Thread-Index: AdWrHi7eIq0bEJsrSBqCRqY5LAgWxAAcVsMAAAljaYAAIc6G8A==
Date: Fri, 06 Dec 2019 13:53:05 +0000
Message-ID: <AM0PR0702MB3665E710521416F31B603E9CF05F0@AM0PR0702MB3665.eurprd07.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAA94AFE56@dggeml511-mbx.china.huawei.com> <397e7465-7578-27a6-c47b-0be11a406948@cisco.com> <CABCOCHRiA4-mvcex7vDAqKS_E-9133ycZLm6Tc2QN2eKs9Rysw@mail.gmail.com>
In-Reply-To: <CABCOCHRiA4-mvcex7vDAqKS_E-9133ycZLm6Tc2QN2eKs9Rysw@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: a5f6dc1f-a142-4dd1-7eef-08d77a539e76
x-ms-traffictypediagnostic: AM0PR0702MB3586:
x-microsoft-antispam-prvs: <AM0PR0702MB3586F09BC35CB440BF8CDDD8F05F0@AM0PR0702MB3586.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 0243E5FD68
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(346002)(396003)(39860400002)(366004)(199004)(189003)(86362001)(102836004)(316002)(26005)(85202003)(110136005)(478600001)(53546011)(76176011)(6506007)(7696005)(99286004)(8676002)(81156014)(4326008)(66574012)(186003)(966005)(71190400001)(71200400001)(52536014)(66616009)(81166006)(5660300002)(9326002)(85182001)(229853002)(54896002)(9686003)(561944003)(8936002)(66446008)(76116006)(64756008)(66946007)(74316002)(66556008)(66476007)(55016002)(33656002)(790700001)(2906002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0702MB3586; H:AM0PR0702MB3665.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: xba1NR6xmM9u+CvInKA21IpDf6V/ts9dsXT4ThwUtsYazLYRvkaGabsKLV9uUhHifyKA7ywsOdVaAqixnKFHaJ4hO/4SS8ptc4tQvI8zi5QoGxD9pyh5i1AoH/2U7PqpqpQAEOK2VWgGLCYNI+AYS9kMbm3ZAl0TJBtFjG67gxrLK3KfmJoyunYvX2upQRUM73J84859lbtqOQFqgUAgL7WjloDVd86FncDzJI00qIMk4clb5xi4onzKrPiAJNMJ0f9acz+qyajmQdSdPHT9Zlo1sxFfB+B1v269kzMQ92lSFnmJ8T5PKug4r//xQVrCfkaVhsY6seHb/ufZEEbDafr3Zrb5NhRKNyxIZoEQWv4YoumB9YUEJQIa2bTDIY1GgGHFL3bdvkeozKpHzAozreEzIs0OTCMQZEVxWWVJaQulN5ijsQMa2HxIDeCCUUDq1znLrbbNlKHmjaFUy7dz/1iDc5n8UGwywzdANnSla471DBYlWgFFO32prpk5689r62+/4yDwDPSL9vM/lSEzzg==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_02AF_01D5AC44.DC87D260"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a5f6dc1f-a142-4dd1-7eef-08d77a539e76
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2019 13:53:05.5404 (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: uv72J0cRUFqUafCioaRi7N1Wa3ti/fxqGxg/6TPSYdc2yZx15iiNlrm1K/FVZycOUboaQGoS0gdeM9eaOSvklco60JYpuw4u9TtsqzJKyJA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3586
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/i45bIoGLlk9rM7waCiXxatmagXs>
Subject: Re: [netconf] Generic Capabilities model
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, 06 Dec 2019 13:53:11 -0000

Hello,

We will soon publish a new version of the notification-capabilities draft, that is prepared for augmentation, by other modules.

Regards Balazs

 

From: netconf <netconf-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: 2019. december 5., csütörtök 22:44
To: Benoit Claise <bclaise@cisco.com>
Cc: netconf@ietf.org
Subject: Re: [netconf] Generic Capabilities model

 

Hi,

 

I strongly support this generic capabilities work.

IMO this approach would make NMDA much easier for a client to support, since the new /yang-library

would not be needed for this purpose.  Instead, a simple "nmda-operational" capability could be used in this module

to easily identify which config=true nodes should be expected in <operational>.

 

The complexity in /yang-library might be justified if new writable datastores (like <ephemeral>) are

ever introduced, but not for solving the problem "what features does this server support for the specified

data node (resource)"?

 

 

Andy

 

 

On Thu, Dec 5, 2019 at 9:15 AM Benoit Claise <bclaise@cisco..com <mailto:bclaise@cisco.com> > wrote:

Hi Qin,

I would agree.
I believe it's important to have a generic solution. I can picture more augmentations.
The change is trivial IMO, i.e. modify the ietf-notification-capabilities model 

*	Rename the top level container to system-capabilities
*	Add a container subscription-capabilities to the grouping subscription-capabilities to contain all subscription related capabilities
*	Invite others to augment the model with similar groupings for other capabilities.  

Regards, Benoit.

Hi, Balazs:

In last IETF meeting, you offered a proposal in netmod session on notification capability change that was discussed in netmod session.

I think it is a good idea to define generic capabilities model in draft-ietf-netconf-notification-capabilities

https://datatracker.ietf.org/meeting/106/materials/slides-106-netmod-sessb-generic-model-for-server-capabilities-00

since we have other capabilities that need to be covered, one of example such capability is one that can be self-described in

 <https://tools.ietf.org/id/draft-tao-netmod-yang-node-tags-00.txt> draft-tao-netmod-yang-node-tags.

With such new capability, should we augment from YANG Push model or should we augment from notification capability?

We see one downside of augmenting from YANG Push model, is it only can be used in the running time, it can not be used in the design time or

Implementation time.

 

So I think if one generic capability model can be defined, it will allow more flexibility to add new capability. However if we decide to take this approach,

Probably notification capabilities draft require substantial changes to the current model structure. But I think it worth to do so, in my personal view.

 

-Qin

 

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

 

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