Re: [Netconf] Opinion poll on RESTCONF encoding

Kent Watsen <kwatsen@juniper.net> Fri, 28 August 2015 20:40 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 516831B2EE3 for <netconf@ietfa.amsl.com>; Fri, 28 Aug 2015 13:40:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 ZQgTvyCH1L70 for <netconf@ietfa.amsl.com>; Fri, 28 Aug 2015 13:40:33 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0791.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:791]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 847701B2EE1 for <netconf@ietf.org>; Fri, 28 Aug 2015 13:40:33 -0700 (PDT)
Received: from CO1PR05MB460.namprd05.prod.outlook.com (10.141.72.152) by CO1PR05MB393.namprd05.prod.outlook.com (10.141.75.24) with Microsoft SMTP Server (TLS) id 15.1.243.23; Fri, 28 Aug 2015 20:40:30 +0000
Received: from CO1PR05MB458.namprd05.prod.outlook.com (10.141.72.140) by CO1PR05MB460.namprd05.prod.outlook.com (10.141.72.152) with Microsoft SMTP Server (TLS) id 15.1.256.15; Fri, 28 Aug 2015 20:40:29 +0000
Received: from CO1PR05MB458.namprd05.prod.outlook.com ([169.254.10.27]) by CO1PR05MB458.namprd05.prod.outlook.com ([169.254.10.27]) with mapi id 15.01.0256.013; Fri, 28 Aug 2015 20:40:29 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Ladislav Lhotka <lhotka@nic.cz>, Mahesh Jethanandani <mjethanandani@gmail.com>
Thread-Topic: [Netconf] Opinion poll on RESTCONF encoding
Thread-Index: AQHQ4Fu1VDdK2ycC2UOA3lddVeqi4J4e/HeA///RngCAAIMlgIAAaSOAgABLOYD//9MOgIAAvEKAgABvCICAAJvXgA==
Date: Fri, 28 Aug 2015 20:40:29 +0000
Message-ID: <D2063C52.D43FB%kwatsen@juniper.net>
References: <1232641A-BE91-4AAD-962D-779E4D85403A@gmail.com> <CABCOCHRkmHw0oy8-AYyin+YaE8-2aS5fjwAmggx_FUOzd1rg5A@mail.gmail.com> <D203D804.D372C%kwatsen@juniper.net> <20150827052649.GA87193@elstar.local> <D204A742.D3B4B%kwatsen@juniper.net> <20150827161221.GA88495@elstar.local> <D204B66C.D3BD6%kwatsen@juniper.net> <641268B1-E221-46E7-8D61-4FAEF027FBA4@gmail.com> <BE3DB0B4-61B4-4EB6-9A97-47B3C865A434@nic.cz>
In-Reply-To: <BE3DB0B4-61B4-4EB6-9A97-47B3C865A434@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.4.140807
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net; nic.cz; dkim=none (message not signed) header.d=none;nic.cz; dmarc=none action=none header.from=juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.239.10]
x-microsoft-exchange-diagnostics: 1; CO1PR05MB460; 5:tA/DP2H3a4yNIgAEdXiA1XQOnPIo3/t5OMPDF1pbkIfBHk8kBQU8mf35/BWta1cmYKObHdoNyUCx+y+BEgWiLm10x8itIJXVsAGXG2kYN36FG/0xU+CmnYQM7spDIGhX4DJG8FI5NGhdtvn3PczfCw==; 24:gInaZyAcLyRlTSB7xhWwUD/6N0VviBg8SChTSVGawm+cc7WSz3jo26UL1y7DeZjDmOBqh1UJgyQb1/chxpZ3y5DZfVA+YwVhfS/ENNcD3dQ=; 20:MYeKS7/fQeJMYAycOwuHKsnJM94fSDB7DI7z0Xjr+vtiu2BbaZE4XRNyNakHfWsgATOaNZ1HgD+xsDHRDJuykw==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO1PR05MB460; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO1PR05MB393;
x-microsoft-antispam-prvs: <CO1PR05MB4604CD253322512F9065638A56E0@CO1PR05MB460.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:CO1PR05MB460; BCL:0; PCL:0; RULEID:; SRVR:CO1PR05MB460;
x-forefront-prvs: 0682FC00E8
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(24454002)(5001960100002)(105586002)(106356001)(19580395003)(122556002)(106116001)(93886004)(5002640100001)(19580405001)(86362001)(66066001)(99286002)(40100003)(189998001)(64706001)(36756003)(83506001)(101416001)(2900100001)(92566002)(97736004)(46102003)(54356999)(4001350100001)(87936001)(10400500002)(5007970100001)(2950100001)(102836002)(5001770100001)(4001540100001)(76176999)(50986999)(5004730100002)(68736005)(62966003)(81156007)(77156002)(5001860100001)(5001830100001)(2656002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO1PR05MB460; H:CO1PR05MB458.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <CF41C60804F98A4599E949AE168FA88D@namprd05.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2015 20:40:29.3928 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR05MB460
X-Microsoft-Exchange-Diagnostics: 1; CO1PR05MB393; 2:l8fb0Ve2GPJipR+RFh8tYAumU683WWXKd1hwe63AvEq6OSUA7FESJmDuRKFKNSbhHGsmG/quV8rqAN6N4OF+WnMM9w2uP7AbPSDOHwzkE3t8tXwuXQJ39Y9hEUtVto3fZqxGB3O7QqDZNaH7eVSyI8bN6+nfaptoX1i7pDvMmRw=; 3:/wxE3OBiRGNWZu+JNcxih4/D205EriuY+O6qY7WHIRO8EMHdnPo0WtQ5o1NwkLcACZxaUIaZxNaCRvWXPeJKRryKYhKwk4zPQ4pzthRRgKPwGq1suCH2ZIrora1Gj/MbdGLywqAWPoygYW4uL2HdKQ==; 25:Ofj5f1mnCnehKrwekNyhVfJGDhDVSlcP1igX8SkmkzOAbzyF2XuR+v9yFnhva+OHXbLs+FspyF3og/zZ0tvSfK8hzf+SUxAm/xtWVg/DnwidjpX44H5GmXeMEwoJfX6Po67845y+VRiskmrEv/G3Uoga9pXStA2LomicFNSGe0saUH2aH+0VhPrK3jDWkg82JGV5coaelRbWMthfriphZZ0R7DmyK3YsFmkL6Y8QhZazdFlAznftMzRYcmgyzzF+j9OTBy42APrA5bmkAVzVvw==; 23:qXnMgNOvLOWx+lmGvQmdjWifsH9oLqqzGcg9rAZIIT6iHbPSS9M9IoPqx3oItcuutu8Tr3adakmbIJ1QNYbQvch+JsY8/Io0n85UjfPDDVU8CneHn9uzERmtUbhukxhp6G8uG/PdBuzk4CMplQRzw/z+Yuxp23BZr1dUau3RyjMATQahPw2NvNZ5RycIpHYD
X-OriginatorOrg: juniper.net
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/Vx_L9E9PlmW0Gc5wwy4jKHKckXk>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Opinion poll on RESTCONF encoding
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
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, 28 Aug 2015 20:40:35 -0000

>>On 28 Aug 2015, at 02:45, Mahesh Jethanandani <mjethanandani@gmail.com>
>>wrote:
>> 
>> What I am reading from the discussion till now is:
>> 
>> 	€ Accept request-header needs to be supported and that it is not an
>>option.
>> 	€ The client can choose not to send the header, in which case the
>>server can pick an encoding of its choice and respond with it.
>> 	€ The client can send what it does support, in which case the server
>>either accepts the encoding it supports or returns a 406. The 406 (Not
>>Acceptable) status codes include information about the available
>>representations.
>> 	€ The client can send ³*/*". Same behavior as not getting a Accept
>>header.
>> 	€ Server MAY support advertising of encodings using the
>>./well-known/host-meta file and XRD.

+1 (and we should decide if the 406 response format is text or something
else)



>> 
>> If this a fair summary, we can update the RESTCONF draft with these
>>details


Right, Section 5.3 needs to be rewritten.



Kent