Re: [Netconf] SSE and HTTP/2 in restcon-notif

Kent Watsen <kwatsen@juniper.net> Thu, 27 September 2018 18:49 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 662F3130F0E for <netconf@ietfa.amsl.com>; Thu, 27 Sep 2018 11:49:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 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] autolearn=ham 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 Dqe8Q2j6Ncl7 for <netconf@ietfa.amsl.com>; Thu, 27 Sep 2018 11:49:06 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 82EE3130F06 for <netconf@ietf.org>; Thu, 27 Sep 2018 11:49:06 -0700 (PDT)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8RImwsP030824; Thu, 27 Sep 2018 11:49:04 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=LBO8CKSIKN6SPP8L3y2OwmLbZw+aFliB0h2w7ryY01k=; b=17D6vrAyvYT5SOEjASstOk7DgvWtd/RFxLfMsIZJytveCJGwzQWt5PHgaf8OzrHrwfWx I5Gr8UGhRdt6wWFNFTLhSy9BBeS+wnu36LDNpcEcdsFelZtWe2cHSGCvpdsTG3apb+qU xF1Xx5aeR32E5DhQfAo1bVP8N5Tqeeec21hEBNmBJr4KkDzDVvNQVouQYA5t41RbC/fQ 4hX6sqm9ovAGNVak4dsaD6sBtMtv9SWX+IjyROImNB6QTGYzNPmeiSFX0kQ5eimxDxyQ ur0M0/o43b6A3w+Z9Qm8saAk/IgS50CZXTWtQcBOHGJCPv2xFAMGruHhDxs8X7OEWrPp +A==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp0024.outbound.protection.outlook.com [216.32.180.24]) by mx0a-00273201.pphosted.com with ESMTP id 2mrt089a8w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 27 Sep 2018 11:49:04 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4649.namprd05.prod.outlook.com (20.176.109.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.10; Thu, 27 Sep 2018 18:49:01 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::8574:3388:660d:e495%3]) with mapi id 15.20.1185.014; Thu, 27 Sep 2018 18:49:01 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Reshad Rahman (rrahman)" <rrahman=40cisco.com@dmarc.ietf.org>, "Eric Voit (evoit)" <evoit@cisco.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] SSE and HTTP/2 in restcon-notif
Thread-Index: AQHUVpLBkBpJSSIQbkWRq5O8cMUK2Q==
Date: Thu, 27 Sep 2018 18:49:01 +0000
Message-ID: <B51DAF9C-4294-44BF-9138-7145E61F42AB@juniper.net>
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; DM6PR05MB4649; 6:63WUU0N1GnZCSnCea7PZSBKhPRcAESZdau1RmXv9zHM9za2/btORwdbJXsFzVyxt+sfh56HPaHOA7fz7oHq68VkCX0Z92I7+hWz3UM/3xnkPk2BznqZOPH/hrVAZUkRwXDAqMK35xkRYhdWrwXzvyz7ZpJ8OUjuu45SQKpC8ehx6wVZ9r+d54DaHtxTFzqJudq/03+qKlqsF8m1Af758lm15H628LWqQ68KYwKBTLEuQnlj3KuRO1JQDJ6r07VhP5VpV7NkckOLN2HXfT0U+Ov2CEl+V38TdfhzBoZQ6JdAWeEmGOF7MGz1DFuSAUegU57DvYJIToHnmsy67+NcZwlD+DFklt0SnmnHg2e9DZksQ4MsBc2XjY3pGbuSuhh28hXXFxjdM9Wml7cLdLYYjMbeGod1isjddkovw1B1ByySzgzaa2ARexuG8OxBE5rrP2g5PqQVa2INMmmXn8ek3yg==; 5:qhHfZRXL4JuMiZBPgP+Z4g7q2on2iecgc5Izq8sqG8QOaM4yPCeqqVQWgvUicaT1TlumzuoiLY+ERZo5sG7Or6v/sr1+tAqROljgCXA16r7eGFGjRFJpoyR6HqZjegdzJCDBr04jbtT1SFBOtBbjJOgiyu3Bst0Om+j5A5qjvKw=; 7:rHHjGFNuSmyXUyeOd4JwQ64NP1hUY9t+XALzxf9Cijch0Bso/U1Gw4YnsFKSY6chxuRa4nQPfRqfaaOVvtmAQXeUacdUMzIcFmZzwWqRULQONMJu1P9C7BSIZXvCdcBvE1rhpA5PgObhMmh12AeEW+RinKk/fnAwDSjn5DKrrUeoks8S8xKB60/30ci/rKh+XcadNCDcJ+BxK9HpgZU5dMsRI1Iobxj+uT2K38jF5ki87BqGsYWRy7X8ZvCzaPPz
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 71870937-7f1d-4872-6d09-08d624a9e427
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4649;
x-ms-traffictypediagnostic: DM6PR05MB4649:
x-microsoft-antispam-prvs: <DM6PR05MB464976C7427F0F0DA8D6059EA5140@DM6PR05MB4649.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051); SRVR:DM6PR05MB4649; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4649;
x-forefront-prvs: 0808323E97
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(346002)(376002)(366004)(39860400002)(396003)(136003)(189003)(199004)(486006)(5660300001)(2900100001)(2616005)(71200400001)(14444005)(316002)(97736004)(256004)(82746002)(81166006)(81156014)(476003)(7736002)(6116002)(3846002)(83716004)(71190400001)(86362001)(305945005)(25786009)(6486002)(229853002)(8936002)(68736007)(36756003)(26005)(5250100002)(105586002)(58126008)(4326008)(6506007)(6436002)(102836004)(53936002)(6512007)(186003)(2906002)(99286004)(8676002)(6246003)(106356001)(14454004)(33656002)(110136005)(478600001)(66066001)(4743002)(34290500001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4649; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: ZrMi1uGtKiP2G7VcGz+fWsL+Rw1OlJwXHOmdQt50sk5d+2XKfqngiQKlqcnaQRhm12eENMtZN8zOBWnvjpK/EASHmTRmMCBQQ1cwWvaznuKiEmpa9dc9SQ0nEG/AvCWKimzDA4W4/gY+EfdXbe0BZR44g1hC3sVp44qO1VOTljJAcjDSfXtYMzSOi8oiUI8sRQlFvyxiOUC8Y2+ho2gi1+PmW4ozsc+B/mlM5uu328DME1pwiYyrg3YxJoQ5PqaRYjTUOLp3TTevtkbb0aDSf5DXM5Sdf0lMf+F+d3T1RYKI1kcKiRJneS7gzjiAIvGKHYI7vTOOOvcU1/YOi3QFkhzQc1rxj9mXfsX+7xeEhaY=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <E371EE4CCB9E19448432A921186E8122@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 71870937-7f1d-4872-6d09-08d624a9e427
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2018 18:49:01.4740 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4649
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-27_09:, , 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-1807170000 definitions=main-1809270174
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-YkiwTAWj2QQPGEchJVy1AgIgiI>
Subject: Re: [Netconf] SSE and HTTP/2 in restcon-notif
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: Thu, 27 Sep 2018 18:49:08 -0000

<chair plea>
  Can we try to have a Last Call worthy version on the restcon-notif 
  draft by mid next week?  The chairs would like to Last Call both 
  NN + RN together if possible...
</chair plea>


As I understand it, there are three issues (any others?) as follows:

1) SSE

   Actually, with Reshad's last response, this may not be an issue
   anymore.  Just in case, I also feel that the *restconf*-notif draft
   needs to align as closely as possible to the RFC 8040 notification 
   solution.  Ideally, we just use SSE outright and we're done.

2) HTTP/2

   Not sure where this landed, but my thoughts are this draft needs to
   support both 1.1 and 2.0.  I envision the variation being relatively
   minor, something along the line of: 

     if 1.1, then SSE.
     if 2.0, client MAY open a stream first.

3) resource URIs

   This is likely where we need to spend the most time. We know that 
   establish-subscription returns a dynamically created URI, comparable
   to what a client might get from ietf-restconf-monitoring:restconf-state\
   /streams/stream/access/location.  Are there just two issues?

   a) how does the server ensure only said client accesses the resource?

   b) how does the server know when it's okay to reclaim the resource, 
      when a client doesn't "delete" or "kill" the subscription?



Kent // contributor