Re: [Netconf] WGLC on restconf-notif-08

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Wed, 10 October 2018 18:48 UTC

Return-Path: <rrahman@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 B0DC71274D0 for <netconf@ietfa.amsl.com>; Wed, 10 Oct 2018 11:48:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 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, 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 bHlAPnB0n7kA for <netconf@ietfa.amsl.com>; Wed, 10 Oct 2018 11:48:41 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3301A126BED for <netconf@ietf.org>; Wed, 10 Oct 2018 11:48:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8420; q=dns/txt; s=iport; t=1539197321; x=1540406921; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=qee9M1bXESiqM3UGjShtF5nSxic3Y7ND5/86IhAX6sk=; b=JvA5gqEfJiu23jFzQKSbJzbTSddIq7/pmAVknHKBOPW/SmH0dNBjx2GF qGDjm6SCnlJZ+D0juU8ntXW63PJ01Pp4WWvfdJGC31JgVEIPyUJOkEaaj QzBHVElfCfUukgwdAb5MZl/PifVS4dQD76NeYxYnzZscASkU/brswOHBF o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AHAADiSL5b/4YNJK1cCRkBAQEBAQEBAQEBAQEHAQEBAQEBgVMCAQEBAQELAYFZKmZ/KAqDa5RKmQsUgWYLAQEYCwmDekYCF4Q5ITYLDQEDAQECAQECbRwMhToCAQMBASEROhsCAQgODAIJHQICAiULFRACBAEOBIJWSwGCAQ+mCYEuhHeEYAWBC4owF4FBP4ESJx+CTIMbAQGBNxIYFyOCRzGCJgKeBgkChk+KABeBT4RpiVOMMIk1AhEUgSUjATGBVXAVGiEqAYJBgzgBB4JDhRSFPm8PgQeKKQGBHgEB
X-IronPort-AV: E=Sophos;i="5.54,365,1534809600"; d="scan'208";a="246449148"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2018 18:48:40 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id w9AImea4007890 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 10 Oct 2018 18:48:40 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 10 Oct 2018 13:48:39 -0500
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1395.000; Wed, 10 Oct 2018 13:48:39 -0500
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Martin Bjorklund <mbj@tail-f.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WGLC on restconf-notif-08
Thread-Index: AQHUXC8dqc/ZdIehM0Ol7lZ9+zKBhqUYuN6AgAAzPQA=
Date: Wed, 10 Oct 2018 18:48:39 +0000
Message-ID: <C5B41C06-F491-417B-A5BB-8448C6A6DF28@cisco.com>
References: <4101090B-394D-4C65-837B-568ECEDCCBB3@juniper.net> <20181010.134515.758050607192527205.mbj@tail-f.com>
In-Reply-To: <20181010.134515.758050607192527205.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.b.0.180311
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [161.44.212.36]
Content-Type: text/plain; charset="utf-8"
Content-ID: <750665522B52D9499CF523A0360E54F0@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/PT6xXs6-A5OOLwb5iTphGx8JphA>
Subject: Re: [Netconf] WGLC on restconf-notif-08
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 10 Oct 2018 18:48:44 -0000

Thanks for the review, inline.

On 2018-10-10, 7:45 AM, "Netconf on behalf of Martin Bjorklund" <netconf-bounces@ietf.org on behalf of mbj@tail-f.com> wrote:

    Hi,
    
    I think that this document needs some fixes before it is ready.  Here
    are my comments.
    
    
    o  Title and Abstract
    
      This document is called:
    
         RESTCONF Transport for Event Notifications
    
      but netconf-notif called
    
         NETCONF Support for Event Notifications
    
      The titles should probably be aligned.
<RR> Ack.
    
      ... and note the document that they support is called
    
         Customized Subscriptions to a Publisher's Event Streams
    
      It is not obvious that "RESTCONF Transport for Event
      Notifications" relates to "Customized Subscriptions to a Publisher's
      Event Streams".
<RR> So you're suggesting "RESTCONF Support for Customized  Subscriptions to a Publisher's Event Streams" (and likewise for NETCONF)?
    
      Also, the abstracts should probably also be aligned.
<RR> The 1st paragraph is identical,  I'll remove the 2nd paragraph of abstract in RESTCONF-notif.    
    
    o  Section 3.1
    
      Last sentence:
    
        A subscriber can then attempt to re-establish.
    
      Please clarify what this means.  Specifically, the subscriber needs
      to re-send the "establish-subscription" and do a new GET on the new
      URI.  (right?)
<RR> Will clarify and right.    
    
    o  Section 3.2
    
       The reference RFC6520 is incorrect, it should be 8040.
<RR> Correct.    
    
    o  Section 3.3
    
      It seems this text starts a itemized list, but it probably
      should not be a list:
    
       o  In case of error responses to an "establish-subscription" or
<RR> Correct.    
    
    o  Section 3.4
    
      The text says:
    
       An HTTP GET is then sent on a separate logical connection (b) to the
       URI on the publisher.
    
      I think that is also ok if the GET is sent on (a) - in the case that
      you don't care about being able to modify the subscription.  This
      should be clarified.
 <RR> Yes that also works, will add some text.
   
      Also, "modify-subscription" may be sent on some other session.
<RR> As long as from same subscriber I assume. Do we care about NAT scenarios?   
    
    o  Section 4
    
       o  take any existing subscription "priority" and copy it into the
          HTTP2 stream priority, and
    
    
       What is the 'subscription "priority"'?  Can you add a reference.
<RR> Will do, dscp leaf in SN draft.    
       Can you also add a reference to HTTP2 stream priority?
 <RR> Will do, section 5.3 of rfc7540.   
    
    o  Section 4
    
       o  take any existing subscription "dependency" and map the HTTP2
          stream for the parent subscription into the HTTP2 stream
          dependency.
<RR> Will do, dependency leaf in SN draft and section 5.3.1 of rfc7540.       
      (same comments as above wrt. references)
    
      This text seems to imply that there in fact exists a HTTP2 stream
      for the "parent subscription".  I don't think is necessarily true.
<RR>  So just clarify that this applies only when there's an HTTP2 stream for the parent subscription?  
    
    o  Section 5
    
      In RESTCONF in general, JSON is not mandatory.  I don't think this
      document should change that.
<RR> I agree. 
    
    
    o  Section 5
    
      OLD:
    
       A publisher supporting [I-D.ietf-netconf-yang-push] MUST support the
       "operational" datastore as defined by [RFC8342].
    
      NEW:
    
       A publisher supporting [I-D.ietf-netconf-yang-push] MUST support the
       operational state datastore defined in [RFC8342].
    
      ... but why do we specify conformance requirement for YANG push in
      this document?
    
<RR> I think this is left over from earlier days, so will remove this. Looks like the whole section can be removed.    
    o  Section 6
    
      You should refer to Section 6.4 in RFC 8040 instead of RFC 5277.
<RR> Ack    
    
    o  Section 8
    
      Should the identity "restconf" be derived also from
      "sn:configurable-encoding"?
<RR> You are correct. And it was there in previous versions which had the http1.1/http2 transport identities.    
    
    o  Section 8
    
      Why is "uri" augmented to "subscription-modified"?   The URI can't
      change dynamically, right?
<RR> It shouldn't change so not needed. 
    
      Should the leaf "uri" be renamed to "location", to align with 8040?
<RR> I don't feel strongly about this one way or the other. Would like to hear from others.    
    
    o  A.1.1
    
      The example POST is:
    
       POST /restconf/operations/subscriptions:establish-subscription
    
      This is not correct, it should be
    
       POST /restconf/operations/ietf-subscribed-notifications:establish-subscription
    
      (same for all POSTs in the examples)
<RR> Ack.    
    
    o  A.1.1
    
      The example reply is:
    
    
       {
          "id": "22",
          "uri": "/subscriptions/22"
       }
    
      and then the GET is:
    
       GET /restconf/operations/subscriptions/22
    
    
      This isn't correct.  Perhaps change to:
    
          "uri": "https://example.com/restconf/subscriptions/22"
    
     and
    
       GET /restconf/subscriptions/22
<RR> Ack.    
    
    o  A.3
    
      The example of a subtree filter is not correct:
    
      OLD:
    
           "stream-subtree-filter": "/ietf-vrrp:vrrp-protocol-error-event/",
    
      NEW:
    
           "stream-subtree-filter": {
             "ietf-vrrp:vrrp-protocol-error-event": {}
            }
 <RR> Ack. Also s/XPATH/XPath in Figure 16.   
    
Regards,
Reshad.
    
    /martin
    
    _______________________________________________
    Netconf mailing list
    Netconf@ietf.org
    https://www.ietf.org/mailman/listinfo/netconf