Re: [Netconf] comments on draft-ietf-netconf-subscribed-notifications-12

Kent Watsen <kwatsen@juniper.net> Tue, 12 June 2018 21:17 UTC

Return-Path: <kwatsen@juniper.net>
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 4CE56130EA6 for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 14:17:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 xbDOqaoZaEMU for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 14:16:59 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 13C59130FB4 for <netconf@ietf.org>; Tue, 12 Jun 2018 14:16:59 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5CLDR77020441; Tue, 12 Jun 2018 14:16:55 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=2/AEx6wmTHzLTfsbyuk2Ar2TY1XLceWw2tkXwiDVbwI=; b=P3rWdGQ5DUYjMtMb1lu1TQULBVh1kt965vqw+WkixxP2gPH5TnzCaiu9ip3R/iYvT/lW 0dddqIckoH63pcKG7puht2xHdpti4flmGoJU3Y1mth/np+H/fnTQYloq0qd0QdQLq0Xo SqZRcjLRrVXXhI3moCyEolzM0xoVqygym5WipFPeyuMIFnURaJA8OMVfF0acYo9AHBHE xnMJg2Nxvq40I1XVIQ76xzdU6VNFBdKfcqldgWSi5AEwpZiZ9RS9c8j+imDzRELWCetO OoFe8r0yw8dPGF2cuEMuEC6Vbe4MNSjToGLT611Mo9Byy8mkpzRDCxtqh7z+hhW7+/dK ZQ==
Received: from nam05-by2-obe.outbound.protection.outlook.com (mail-by2nam05lp0240.outbound.protection.outlook.com [216.32.181.240]) by mx0b-00273201.pphosted.com with ESMTP id 2jjn1cg362-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 12 Jun 2018 14:16:55 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4486.namprd05.prod.outlook.com (52.135.203.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.6; Tue, 12 Jun 2018 21:16:53 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc%3]) with mapi id 15.20.0863.010; Tue, 12 Jun 2018 21:16:53 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, Martin Bjorklund <mbj@tail-f.com>, "alex@clemm.org" <alex@clemm.org>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] comments on draft-ietf-netconf-subscribed-notifications-12
Thread-Index: AQHT/nS/MUcivqD/HU6aN67dia0Z6aRVWncAgAC3XYCAAEcpAIAAEmGAgAAJoYCABnBmAA==
Date: Tue, 12 Jun 2018 21:16:53 +0000
Message-ID: <A58C7A8F-B926-4417-8080-685C0DB5E040@juniper.net>
References: <381e3937e0054984812ea69de97c7659@XCH-RTP-013.cisco.com> <20180608.110205.217184993423575402.mbj@tail-f.com> <9f987f8f571e4a499c589f4be02c0407@XCH-RTP-013.cisco.com> <20180608.162233.994500338881044294.mbj@tail-f.com> <acfc0df721cb475d9b1c829d1f7f5dd7@XCH-RTP-013.cisco.com>
In-Reply-To: <acfc0df721cb475d9b1c829d1f7f5dd7@XCH-RTP-013.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4486; 7:sWWZlRCgeox+bCA/XNKqG1VrDEEV4RMOzOCwet55A61n6JyGzO0YAhgsTWmFzGDVYlPTnh4uBr4xloYVr2tjZ3xn+R5s2L5bDomxiaZyypNl83TeETMgj23X6RNWpNtshD2XwWE1Z0hrIEUkFoRPzXPl/T1HZJ+sOd0aLbXPDvCLFQMXtDYzSyENjlIFr5e2AjwLvYcrSH2+ptgzW7r4taLIGc5olc125KnXEyOIzFno+JWiYYSXofH3USdbMCW7
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
X-MS-Office365-Filtering-Correlation-Id: f768ff44-6cbc-4d45-edcf-08d5d0a9d241
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(711010)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4486;
x-ms-traffictypediagnostic: BYAPR05MB4486:
x-microsoft-antispam-prvs: <BYAPR05MB4486747B6D5D668BED690BB8A57F0@BYAPR05MB4486.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR05MB4486; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4486;
x-forefront-prvs: 07013D7479
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(346002)(376002)(39860400002)(39380400002)(366004)(51444003)(199004)(189003)(26005)(316002)(186003)(36756003)(6512007)(102836004)(58126008)(110136005)(6246003)(4326008)(33656002)(59450400001)(97736004)(478600001)(99286004)(25786009)(14454004)(76176011)(106356001)(8936002)(105586002)(7736002)(305945005)(6306002)(93886005)(966005)(6506007)(53936002)(8676002)(81166006)(81156014)(2906002)(15650500001)(68736007)(3280700002)(3660700001)(575784001)(86362001)(66066001)(82746002)(229853002)(11346002)(476003)(2616005)(446003)(6436002)(6486002)(486006)(83716003)(6116002)(2501003)(3846002)(5660300001)(2900100001)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4486; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 5YFXN0+uI8a+JAW5xP7k6eWuGR7XoMcLAoGkv7jCmPO+vbll+GdUllz4EJhVmRP1AENee+NUoeQb+iGaknAaSOQLxJ2Iyn34Hh02FH7j9DzHQI3jh6vIEdFE1Qa5miwabdnvM1/oOJb9V0wEjfDd/JO+Uzso/sbLLoPfQayJEAcpV3MEL65LSg45cIq99xRw
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <326DC504733D0949B99E8AB6F9DF12A7@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: f768ff44-6cbc-4d45-edcf-08d5d0a9d241
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 21:16:53.8067 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4486
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-12_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806120235
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/dDIl6JgRMjTAeEBfYXxvN4a-iAk>
Subject: Re: [Netconf] comments on draft-ietf-netconf-subscribed-notifications-12
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing 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: Tue, 12 Jun 2018 21:17:08 -0000

Sure, but can YP import the "Event Record" term from SN?

Also, I think that the definition could be improved.  It currently reads:

   Event record: A set of information detailing an event.


Kent // contributor



> From: Martin Bjorklund, June 8, 2018 10:23 AM
> 
<snip>
> But the name of the leaf doesn't change the semantics.  The description says
> "number of event records", so your casual user still have to understand that a
> YANG Push notif is an event record.
> 
> BTW, it is not clear from the YANG push document that a YANG push notif
> really is an event record.  It uses the term "update record", and use the term
> "event record" in just one place.  This term should be imported from
> Subscribed-notifications, and used.

Update record has additional constraints.  Probably the way to handle this is to tweak the definition of update record in YANG push to the following:

"Update record: An event record which contains a representation of one or more datastore node updates.  In addition, an update record may contain which type of  update led to the datastore node update (e.g., whether the datastore node was added, changed, deleted).  Also included in the  update record may be other metadata, such as a subscription identifier of the subscription as part of which the update record was generated."

Eric

> /martin

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netconf&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=ChdyY-tKTlPquVOwbOXya3_PcGgirMepotW7UY8_V68&s=Bd-V3zeqTlVJmJa9OVqUUYf4I2RqZU5ce49Jd2xY37E&e=