Re: [core] some comments on netconf-adaptive-subscription

Qin Wu <bill.wu@huawei.com> Fri, 25 June 2021 17:05 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 010E43A0B8B; Fri, 25 Jun 2021 10:05:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KPI_JUF4alve; Fri, 25 Jun 2021 10:05:05 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ABD963A0B8D; Fri, 25 Jun 2021 10:05:05 -0700 (PDT)
Received: from fraeml702-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GBNTk5GJwz6G8G1; Sat, 26 Jun 2021 00:57:30 +0800 (CST)
Received: from dggeml704-chm.china.huawei.com (10.3.17.142) by fraeml702-chm.china.huawei.com (10.206.15.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 25 Jun 2021 19:05:01 +0200
Received: from dggeml753-chm.china.huawei.com (10.1.199.152) by dggeml704-chm.china.huawei.com (10.3.17.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Sat, 26 Jun 2021 01:04:59 +0800
Received: from dggeml753-chm.china.huawei.com ([10.1.199.152]) by dggeml753-chm.china.huawei.com ([10.1.199.152]) with mapi id 15.01.2176.012; Sat, 26 Jun 2021 01:04:59 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, "netconf@ietf.org" <netconf@ietf.org>, "core@ietf.org" <core@ietf.org>
Thread-Topic: some comments on netconf-adaptive-subscription
Thread-Index: Addp45gbKxamTYjtQFuNdpDeReFPpQ==
Date: Fri, 25 Jun 2021 17:04:59 +0000
Message-ID: <34e1882b99774c4e94216050aefafe78@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.52.202.106]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/BYr_fL8q5oiiTonxTLTTGUZbcps>
Subject: Re: [core] some comments on netconf-adaptive-subscription
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jun 2021 17:05:11 -0000

-----邮件原件-----
发件人: Michael Richardson [mailto:mcr+ietf@sandelman.ca] 
发送时间: 2021年6月26日 0:51
收件人: Qin Wu <bill.wu@huawei.com>; netconf@ietf.org; core@ietf.org
主题: Re: some comments on netconf-adaptive-subscription


Michael Richardson <mcr+ietf@sandelman.ca> wrote:
    >> [Qin]: I am also hoping RESTCONF and CORECONF can work together, but
    >> they seems to look into different use cases (constrained device
    >> management vs unconstrained device management) .  I am not sure we
    >> should generalized RESTCONF and CORECONF into a single protocol.

    > That's not what I'm suggesting.  I'm asking, if bandwidth is an issue,
    > why not use a smaller encoding.  And, why not integrate with CoAP
    > Observe?

draft-birkholz-yang-core-telemetry-01 [now expired] for instance tries to do a lot of the matching.  I think that the adaptive rate subscription that you've created would work very well within that model.
[Qin]: Well, I will investigate this and see what is missing there.
I guess yang-core-telemetry-01 needs to update itself as ietf-netconf-subscribed-notifications is published as RFC 8639 right.
[Qin]: Agree. 
I still don't know how XPath would work with COMI, but really I'm just sitting around the edges of the YANG over the wire space.
[Qin]: Good question, note that XPATH used for NETCONF follows XPath 1.0 [W3C.REC-xpath-19991116] and XPath 2.0
See RFC6241 section 8.9 and RFC7950 section 6.4.
--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide