Re: [netconf] Tsvart last call review of draft-ietf-netconf-netconf-event-notifications-17

"Eric Voit (evoit)" <evoit@cisco.com> Wed, 10 April 2019 13:30 UTC

Return-Path: <evoit@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 88EB91200FE; Wed, 10 Apr 2019 06:30:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 IGo9jGDa5g9u; Wed, 10 Apr 2019 06:30:33 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8AC8120072; Wed, 10 Apr 2019 06:30:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3884; q=dns/txt; s=iport; t=1554903033; x=1556112633; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ywz0Y2vYoSvjjCToBflLF19Q6/b8iY0CEJiFAoOBuuE=; b=MUJR350KsVDfX0DK/XG2shmnplY9BPtL+QHzrpRYERmVm6N5oX48njvk oI9nycSmnqesRFbaUV2r4pQLyx/GqcBM9uSLBRWbdBpbo+WrDztZXj8BB s/8AziT+yLwVtks5ZBhtLkVEed3nmdXUzJPWrmTgBQMNXeFZH3hJ2yvVk U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AEAADk7q1c/5RdJa1lGgEBAQEBAgEBAQEHAgEBAQGBUQUBAQEBCwGBZiqBaycKhASIHI0jmEaBew4BAYRsAheFVCI0CQ0BAQMBAQkBAgECbSiFSgEBAQECASMRQwIFCwIBCA4EAwUCJgICAjAVAg4CBAENBQiCT0uBbgisZIEvii6BCyUBi0YXgUA/gRGDEj6HToJXA4sLggqYdQkCk30iggaGFoxIgwaIUJN+AhEVgTAfOIFWcBU7gmyCQY4LQTGPTYEgAQE
X-IronPort-AV: E=Sophos;i="5.60,332,1549929600"; d="scan'208";a="257744056"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Apr 2019 13:30:32 +0000
Received: from XCH-RTP-011.cisco.com (xch-rtp-011.cisco.com [64.101.220.151]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id x3ADUVqJ010597 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 10 Apr 2019 13:30:31 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-011.cisco.com (64.101.220.151) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 10 Apr 2019 09:30:30 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1473.003; Wed, 10 Apr 2019 09:30:30 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Wesley Eddy <wes@mti-systems.com>, "tsv-art@ietf.org" <tsv-art@ietf.org>
CC: "draft-ietf-netconf-netconf-event-notifications.all@ietf.org" <draft-ietf-netconf-netconf-event-notifications.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Tsvart last call review of draft-ietf-netconf-netconf-event-notifications-17
Thread-Index: AQHU6XGhrLf+tGZ5QUSv4zZKpgLDaqY1arKA
Date: Wed, 10 Apr 2019 13:30:30 +0000
Message-ID: <e482f8ca4144485497b7fb31a8fe6a9a@XCH-RTP-013.cisco.com>
References: <155422272574.6262.7757640015847252701@ietfa.amsl.com>
In-Reply-To: <155422272574.6262.7757640015847252701@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.226]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.151, xch-rtp-011.cisco.com
X-Outbound-Node: rcdn-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/2zKlNp4e4zYKPy2TtcoHWUQRqHw>
Subject: Re: [netconf] Tsvart last call review of draft-ietf-netconf-netconf-event-notifications-17
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: Wed, 10 Apr 2019 13:30:35 -0000

> From: Wesley Eddy, April 2, 2019 12:32 PM
> 
> Reviewer: Wesley Eddy
> Review result: Ready with Issues
> 
> This document has been reviewed as part of the transport area review team's
> ongoing effort to review key IETF documents. These comments were written
> primarily for the transport area directors, but are copied to the document's
> authors and WG to allow them to address any issues raised and also to the IETF
> discussion list for information.
> 
> When done at the time of IETF Last Call, the authors should consider this
> review as part of the last-call comments they receive. Please always CC tsv-
> art@ietf.org if you reply to or forward this review.
> 
> I reviewed this in conjunction with the set of related WG documents on
> NETCONF/RESTCONF subscriptions and event notifications.  I also have some
> comments on other documents in the set, some of which may influence this
> once, since they are closely related.
> 
> In figure 3, and text on page 11, there is an example with a DiffServ codepoint
> value of "10".  This could be interpreted as binary, decimal, hexadecimal, etc.
>  It should be clear what the base is supposed to be.  It seemed pretty
> ambiguous in this and the related documents, so it's not apparent that an
> implementer would be sure to get it right or for it to be compatible.

Hi Wesley,

Figure 3 includes the XML definition <dscp>10</dscp>
This is below the XML namespace "urn:ietf:params:xml:ns:yang:ietf-subscribed-notifications"
 
In the "ietf-subscribed-notifications" YANG model where this "dscp" tag is defined, it is shown to be of:
      type inet:dscp;

higher in that YANG model, "inet" points to RFC 6991: Common YANG Data Types.  This is a core document for YANG which any YANG implementer should be familiar.

Within RFC 6991, the definition of "dscp" is

     typedef dscp {
       type uint8 {
         range "0..63";
       }
       description
        "The dscp type represents a Differentiated Services Code Point
         that may be used for marking packets in a traffic stream.
         In the value set and its semantics, this type is equivalent
         to the Dscp textual convention of the SMIv2.";
       reference
        "RFC 3289: Management Information Base for the Differentiated
                   Services Architecture
         RFC 2474: Definition of the Differentiated Services Field
                   (DS Field) in the IPv4 and IPv6 Headers
         RFC 2780: IANA Allocation Guidelines For Values In
                   the Internet Protocol and Related Headers";
     }

Hopefully this will address the ambiguity.  

Thanks,
Eric


> I have other broad comments on the DSCP usage that will be in review
> comments for the subscribed-notifications draft where it is more appropriate.