Re: [netconf] Generic Capabilities model

Benoit Claise <bclaise@cisco.com> Thu, 05 December 2019 17:15 UTC

Return-Path: <bclaise@cisco.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 63486120108 for <netconf@ietfa.amsl.com>; Thu, 5 Dec 2019 09:15:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.491
X-Spam-Level:
X-Spam-Status: No, score=-14.491 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_HI=-5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 46EmKnv-dy04 for <netconf@ietfa.amsl.com>; Thu, 5 Dec 2019 09:15:12 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7D6A120091 for <netconf@ietf.org>; Thu, 5 Dec 2019 09:15:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8353; q=dns/txt; s=iport; t=1575566112; x=1576775712; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=fzY+N7kpYPHm29UR3onASQG/qx/hUrCueoa0T/TyjmU=; b=EMcL77Y+X4+1PIGG+VhT3+15E9kHcvR9cGHn8INHj/dr649dt92LFj1U 0YQAT2rKfm+Y1wamKDdov3QsbDg5xPDDX2zUT+Hk/AZtHSpro83U1iemJ y62grZlzZxo0TSViAoSIt1KfWtrh92zEbDzxj/QqB1rkPrS7xhyrx105u A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ANAADEOuld/xbLJq1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYFsAwEBAQELAYEbU4EdVSASKo0uh3wlhziLaoYQgXsJAQEBDAEBGAEOCAEBg3tFAoI3NgcOAgMNAQEEAQEBAgEFBG2FNwyFUwEBAQIBAQErQRALCw4XIScwBgEMBgIBAReDBwGCVyAPrgCCJx+EGwEDAgIPD2+DNYFCBoE2AYwwgUE/gTgMgmA+gj4mAQEDgUqGBASWcUaIAI8TgjiHH4RiiVMGG45Hi1+OSohBiDGJMQIRFYFZBiyBWDMaCBsVO4JsUBEUlW2FYCADMAGRZwEB
X-IronPort-AV: E=Sophos; i="5.69,282,1571702400"; d="scan'208,217"; a="20000124"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 Dec 2019 17:15:09 +0000
Received: from [10.55.221.36] (ams-bclaise-nitro3.cisco.com [10.55.221.36]) (authenticated bits=0) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTPSA id xB5HF6Yw023890 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NO); Thu, 5 Dec 2019 17:15:09 GMT
To: Qin Wu <bill.wu@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
References: <B8F9A780D330094D99AF023C5877DABAA94AFE56@dggeml511-mbx.china.huawei.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <397e7465-7578-27a6-c47b-0be11a406948@cisco.com>
Date: Thu, 05 Dec 2019 09:15:06 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAA94AFE56@dggeml511-mbx.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------B768F80148B8FA3151701897"
Content-Language: en-US
X-Authenticated-User: bclaise
X-Outbound-SMTP-Client: 10.55.221.36, ams-bclaise-nitro3.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/mUaghS-CEB5zWvYqMMnw1x2iyzU>
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: Thu, 05 Dec 2019 17:15:14 -0000

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
>
> draft-tao-netmod-yang-node-tags 
> <https://tools.ietf.org/id/draft-tao-netmod-yang-node-tags-00.txt>.
>
> 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
> https://www.ietf.org/mailman/listinfo/netconf