Re: [Netconf] subscribed-notifications-12

"t.petch" <ietfc@btconnect.com> Fri, 20 April 2018 10:10 UTC

Return-Path: <ietfc@btconnect.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 207C3126D3F for <netconf@ietfa.amsl.com>; Fri, 20 Apr 2018 03:10:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 4PdABMI-5Or2 for <netconf@ietfa.amsl.com>; Fri, 20 Apr 2018 03:09:57 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10126.outbound.protection.outlook.com [40.107.1.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB182126CBF for <netconf@ietf.org>; Fri, 20 Apr 2018 03:09:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BAutwqrlY3kzYS5g+VICEEKOAgUvR7LqUXtZKHwzzyM=; b=IXiDNk8BrKdl+VwnxHFMCKKFxtOfsLfmIHdJSeLG0ekaS3YD8NCHWiwX7GgAZIv8ShlkTCI5LKL2OH8iuGLpxJ3T2b13X7+JVOKpkh5IY8I25vbsvDpF58zrgb0CDW7FbDMrUgDMtL8wz9OFh+N/Bt4ZKPy5VmvJDasjyYpn2+0=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (86.165.129.75) by DB6PR0701MB2998.eurprd07.prod.outlook.com (2603:10a6:4:73::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.7; Fri, 20 Apr 2018 10:09:53 +0000
Message-ID: <014f01d3d88f$9bf4a1e0$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: "Eric Voit \(evoit\)" <evoit@cisco.com>
Cc: "Kent Watsen" <kwatsen@juniper.net>, "Alexander Clemm" <ludwig@clemm.org>, <netconf@ietf.org>
References: <17B884BF-0BB8-4B7C-BFBB-0AAFBEA857F6@juniper.net> <aedeb7390d0b4faa9f2bf12c2fe45cd2@XCH-RTP-013.cisco.com> <040a01d3be9f$09700490$1c500db0$@clemm.org> <2089023D-DA09-48E9-8F37-8FE459DC4F49@juniper.net> <dfc78f2b1062498388824b1f6dd97ff6@XCH-RTP-013.cisco.com> <1EC2E732-C524-4552-A3AD-27507239F763@juniper.net> <2b788c22f7ee4af889813b805348d69a@XCH-RTP-013.cisco.com> <067301d3d7d3$71bc1820$4001a8c0@gateway.2wire.net> <7e405392a4be49abbba13bfa2fb6d38e@XCH-RTP-013.cisco.com>
Date: Fri, 20 Apr 2018 11:08:54 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.165.129.75]
X-ClientProxiedBy: CWXP265CA0018.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:2e::30) To DB6PR0701MB2998.eurprd07.prod.outlook.com (2603:10a6:4:73::8)
X-MS-PublicTrafficType: Email
X-Microsoft-Antispam: UriScan:(178726229863574); BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7193020); SRVR:DB6PR0701MB2998;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2998; 3:9YQDwagIY12cUCfIQcXgqqUR4e+GEaWPKdcXUgGFtLwxGzagKlr1WbCRsjSnB6j7B/osINmk18CEYMa2uZeLKL9XpfCEpIz5BKdAoMV9HNoLtcTmZVWiPARqvjkUogCbHvwisyny9uld4LkGsJirQsNA+UU0eeRcRcksG6GxO/Eh+1CW+k3/2TBjSdMU3UhlMWsdKGtAWTQDlb1Kb7rI2SupxIZuWMieXgDSuEFt028ymC3Rez2HmwhTcZTrS90Sgo4NA/kUxU/+r8MC3xemQ8AvBCVmjgoGO4gpMV76m2c=; 25:BWiQOYUZP8SwA5FFXTQJJFgF5yKnJOTlamCbE8ogdfmVAKe6XXHLnL5FtNlkvKf1ckYyKrSZn+5uU6AcrQ4DdEAzO0o/Kxb4aGBP4rqLMTbow2LdJ33xEpZ2niZFezi/woaKOiU2acB4ocS8p7g1IAsE3/ImUMVMEHD8/dXCA8B4ZGNqPWg4LyRC1ybxrO9VkfvgpCUnNC52OTMSvmm1oy1ASIOZiTgWaVxmB32zt1RZ9loo3dkPeCBedQK8vb+NYlvw8s4eHyrx8KNZRCHaUUVN844M4TvBY/iPRYJZ9SuTuMJN6OK60vTM+IELuBOQ3yjD8wBo21uKGyH6VvIhFA==; 31:15G9ui+DDKQYnwXbhiB/B7MDOAs3NrxyPYrrKfq41lla5yMNvJu8H8e9Io6XXM7K2Na1wJjrN6a6k+FdBtijJ8Aut/s93GLCk+keIwmw5qTRduhbcKUDzI6LidI/0rH70aRtduK90lprqysqUGODmsrC+3PexpnIcjeGRGsy1coJJsM2YKPuPWIKuVQ8hBVgm+sGe3bQF4LgmHOBhzImFyDftBGQnr4oZBqYGY2WZCY=
X-MS-TrafficTypeDiagnostic: DB6PR0701MB2998:
X-Microsoft-Antispam-PRVS: <DB6PR0701MB29988BB583E17B7F5053FD15A0B40@DB6PR0701MB2998.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(178726229863574)(166708455590820)(138986009662008)(95692535739014);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(61425038)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231232)(944501393)(52105095)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:DB6PR0701MB2998; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0701MB2998;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2998; 4:21qF4OA5kANUpXt5nQUbi1d9foZQtczARSyyR7j5rUnVImQ/PA4KCvZvV+tGLRaIzSRs6wdg2PePLO6UJ3+QAdVQVEGIkq06WgUpAAdhDLo4DjKRbHpszQXEoPrgxtNSq17UGV/H76Y0p8sb3CoKBtC3j09zefekayIeDd0OF/YDpPSnNUMXG3ppS3bLVbZP9I76c+/VhOHpPrsgLclyB058fwo9PVKVPBj6oct9rMyZSMSHVElSO+5ei/DvT+Aw5YPuMj2AburCLNmJmeKMMW/Sxt/NstB67mKyYgCf3hBcmB6GWPj98Cy67wSMuzuUCkbdiuLG6EagSJ0xe9bFFdnlMqxK07qOmRmG2vbNgz54JlS0KmGcxzhimlXcvPbDmejP1KFZKqptqJD+HaGlBj2cDrb71SjhRhFflrYoxDo=
X-Forefront-PRVS: 0648FCFFA8
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(376002)(366004)(39860400002)(396003)(346002)(39380400002)(51914003)(13464003)(25786009)(1556002)(230700001)(52116002)(81686011)(2486003)(50226002)(23676004)(84392002)(76176011)(66066001)(14496001)(61296003)(6306002)(3846002)(86362001)(8666007)(6246003)(5660300001)(4326008)(2906002)(53936002)(6116002)(33896004)(446003)(229853002)(386003)(6496006)(81816011)(47776003)(16526019)(186003)(9686003)(7736002)(62236002)(50466002)(44736005)(476003)(6916009)(305945005)(44716002)(478600001)(956004)(6486002)(15650500001)(316002)(8936002)(966005)(93886005)(54906003)(4720700003)(26005)(8676002)(81166006)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB2998; H:pc6; FPR:; SPF:None; LANG:en; MLV:nov; PTR:InfoNoRecords;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjA3MDFNQjI5OTg7MjM6OVgzYkV2SUNMdllYcGkzaTUxbEVHL1B6?= =?utf-8?B?QlVjOFN0S0J6Z2RIRmswSllvZGNFR2RNQ3owWi9GOVJJQ3pjdzNONER1dit3?= =?utf-8?B?VlZsb1M2U3JzWEtHOU12dm8zeFcrcm5JOFNoa2t4SURZbzkzS0h3N25qN29x?= =?utf-8?B?VjlxNVNPbzI0SmdrZ0poNUE4bDc1Y0JPL3B3Z3gxWTdFMXNnNGRMaGRXSFVs?= =?utf-8?B?a3RtMGxqM29nQ2ZTa3RhSTVOQVFRZS9jYS9GN214WFJxeVJ4aTBPUUU1R0kx?= =?utf-8?B?Vlp2cTF2RzVoaUczK2lFbVpRaUZRUnFsSmJGcm9TajhsWWw5SHlITTFWVWpM?= =?utf-8?B?cHdGOTNkYy9WeWkxbUQxazBucEZNdzB5ais3SGhlR3lYTVlyelhmaCtkZXlI?= =?utf-8?B?YkkzbEFiUENFdTNYSXRiV1d4WnlqRUR6bTVUN2tIOWJ6NktPRzBzbzJRV3J1?= =?utf-8?B?TnpoWGVYSmc1TXZENW1xSXBPakU2RW1WY3FXazcrSzNMcDFBMnFyeGVzOWRa?= =?utf-8?B?SjUzUzBUWkVwVVlTZzd6TUc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/IRQTfTMCa0PP8pgd7fxfkBJZj0PaZ3DkZ0zA9al6T1psNv7oAjyUKe8VoyJKmFMXUNmojgRcGVlR/fUe2+poZn5Yhj/o0yIwDloEE4B7xIfJ8vI2D9WuKzNGJONy4O9pN21dZDQ0dUQrXMtV9AOILT+7A8fL72ZtKO/cc/1gi/lYHJ9sX+hcoUDrxvKU3b7rBmmPO3jFzbPpfFc6h6T+duFyM2HoxCFUggItumW5PHdj6tN10Equqv/Q==; 5:kqbwu0ecGee+bCTvINgjGb9e6t56aPaTRmufgipPneRQu2KdBCCrYSLd5pkkUnW0iDYp9LSi/jhZLhfrx65D5zqkaUwN8NYkCqplGwIx+RoVqb4Jfo0f6TmlzKhjYz+GdQrMRHtokX5yVwh6DRtxBn/dc362n90RXEhjfLq64f4=; 24:z7st7c660h1wjwkqtI2LnGkrCM2FEhPFC0X6hs2u8lpNxFFLu/d+2JDLb/9s7cNn/KMXen8oOJqpEeMWTucfE40NlmSfz554UH2yYML2nIw=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB2998; 7:UkAS7raIdCRq5b0dMcBra5xpmXUcF3Ixkc8HBqkepfUFT9lSLN1telgigMrkrdsLkHq6EOZ2b8RLwQSnYQEre4MXPDX/CAMsbRPjllAZWV8XLwl+xtXpudJOeE4IEoJ3pAC9RjMZy/RYi3lSEW66bBplOTO6CtxCL+lkPOCr3GOIqsVvntGJGw8ZSQO8fqGBthckoIQx1y8BEMyxD10alWUEQ2PhXuGK3c/yTk5SFah3UhTxwh1a+cNIVnJcOfHC
X-MS-Office365-Filtering-Correlation-Id: 41298733-d09b-4676-8c43-08d5a6a6dc9b
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2018 10:09:53.5393 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 41298733-d09b-4676-8c43-08d5a6a6dc9b
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB2998
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Kgwfetz8Wn1oXnk6Oi1VEMV1ThE>
Subject: Re: [Netconf] subscribed-notifications-12
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 20 Apr 2018 10:10:00 -0000

Eric

OK so far.

I am puzzled by the features for encoding.

I can see four cases for a publisher; no features, encode-xml and
encode-json, encode-xml only, encode-json only.

The first case seems clear; the stream uses the encoding of the
subscription.

The second also seems clear; the subscriber can choose either encoding.

The third and the fourth puzzle me.  If only encode-xml is present, and
the subscription is in xml, then the stream will be in xml, whether or
not the encoding is specified.  If the subscription is in json, and the
encoding is not specified, then the stream will be in json.  If the
subscription is in json and the encoding is specified as xml, then the
stream will be in xml.

If only encode-json is present, then it is vice versa, mutatis mutandis.

I find this an odd combination to specificy.

Tom Petch

----- Original Message -----
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: "t.petch" <ietfc@btconnect.com>
Sent: Thursday, April 19, 2018 3:48 PM


> Hi Tom,
>
> Thanks for the review.  You can see the updated draft at:
>
https://github.com/netconf-wg/rfc5277bis/blob/master/draft-ietf-netconf-
subscribed-notifications-13.txt
>
> Some details inline...
>
> > -----Original Message-----
> > From: t.petch, April 19, 2018 7:42 AM
> > To: Eric Voit (evoit) <evoit@cisco.com>om>; Kent Watsen
<kwatsen@juniper.net>et>;
> > Alexander Clemm <ludwig@clemm.org>rg>; netconf@ietf.org
> > Subject: subscribed-notifications-12
> >
> > Eric
> >
> > I see some quirks in this I-D that I think need fixing
> >
> > It lacks a note to the RFC Editor asking that XXXX be replaced with
the number
> > assigned to the I-D
>
> Placed this at the front of the section leading in to the YANG model
>
> > It lacks a note to the RFC Editor asking that the two dates in the
YANG module
> > be replaced with the date of publication
>
> Placed this at the front of the section leading in to the YANG model
>
> > I see no Copyright in the YANG module
> >
> > The YANG module references
> >
> > 6991
> > 7223  (which is  superseded)
> > 7951
> > 7540
> > none of which I see in the References of the I-D
>
> Fixed.
>
> > Good practice is to have a section just before the YANG module
itself which
> > lists the documents from whiuch imports are made or to which
references are
> > made (if you simply add RFC6991 as a Reference, you will get an
unused
> > Reference error).  See, for example, RFC8344
>
> Done.
>
> > There are a number of Informative References which I think should be
> > Normative namely
> > 8040
>
> Done.  Agree this should be Normative based on the use of yang-data.
>
> > 5246
>
> Done.
>
> > 6241
>
> Done
>
> > 6242
>
> Done
>
> > 7950
>
> I believe this one is an informative reference.  I.e., the reference
in the YANG model is to an example of analogous behavior from HTTP2.  My
reading of rfc7950 section 7.21.4 doesn't seem to require a reference to
be normative.  If it does, I can move the information into the
description.
>
> Thanks again,
> Eric
>
>
> > Tom Petch
>
>