Re: [Netmod-ver-dt] Client version selection draft

"Joe Clarke (jclarke)" <jclarke@cisco.com> Fri, 06 September 2019 20:53 UTC

Return-Path: <jclarke@cisco.com>
X-Original-To: netmod-ver-dt@ietfa.amsl.com
Delivered-To: netmod-ver-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7F78120DF1 for <netmod-ver-dt@ietfa.amsl.com>; Fri, 6 Sep 2019 13:53:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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 header.b=e2nCrjvg; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=QoQjl1Rx
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 6msbzfZBiDHJ for <netmod-ver-dt@ietfa.amsl.com>; Fri, 6 Sep 2019 13:53:16 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67CC0120DEE for <netmod-ver-dt@ietf.org>; Fri, 6 Sep 2019 13:53:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9335; q=dns/txt; s=iport; t=1567803196; x=1569012796; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=kIbITPmcYpEZ1YI8kCYpoyKvbDzNiTQO8GGGglnnGgI=; b=e2nCrjvgxiQjdERVhuzWTLblkKFQ2+KfdOIl4RaUAqk+MdlhlXmTxhWA ptS/92rHefvuTC+QaxBP4s2z9H6fHpzEneAiZgoPK4sy85fWFZmJilope ZERqBXHi72BRyJJEnfWIPg0v/rz6TmIARUm9TbAnpuTCr34lUIHzfNn+1 4=;
IronPort-PHdr: 9a23:CwW7Nh1Wnw9QujwEsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxKHt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQC0b/JeTpYgQxHd9JUxlu+HToeUU=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AYAAAyxXJd/4YNJK1lGwEBAQEDAQEBBwMBAQGBUwYBAQELAYEVL1ADbVYgBAsWFIQhg0cDhFKGIpVthFyBLoEkA1QJAQEBDAEBJQgCAQGEPwIXgiAjNAkOAgMJAQEEAQEBAgEGBG2FLgyFSwIBAxIRHQEBNwEPAgEIPwMCAgIwFBECBA4FGweDAAGBHU0DHQECDJ5NAoE4iGFzgTKCfQEBBYFGQUCCSRiCFgMGgTQBi3cYgUA/gTgfghc1PoJhAgMBggqCXjKCJo87hSGWc24KgiCGfY10G5h7ggWDdZADkGQCBAIEBQIOAQEFgVI4gVhwFWUBgkGCQoNyhRSFP3OBKY9GAQE
X-IronPort-AV: E=Sophos;i="5.64,474,1559520000"; d="scan'208,217";a="327090472"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 06 Sep 2019 20:53:15 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id x86KrFjh016593 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Fri, 6 Sep 2019 20:53:15 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 6 Sep 2019 15:53:14 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 6 Sep 2019 15:53:14 -0500
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 6 Sep 2019 15:53:14 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gOpF0aqMAOnYCDqI/wwwoVh8zLANPseS0kiUOtdYsZWCgVK49gLgKEqR8nd4XcXLsmIm+vuPT9aSdGGH3N8mbkTN7Uh5zdoiheQ3yjpIj+yTD9yiZF5c6nFuAb9UuqODj+pKVcDxo2bc4TbmaUciefBU3vMsWuA0GvvlauoUkLORWiXCfq+y/mCzPPjNiwUG373hOlx8EQ2XtzxITnJAsJefrZ6OwKxyMu9Tbdp4hxjBs1fj5oKhyQxb+Q8xCP1ZjhiGyqfwGw6Acd79qkCXcGIhpOc6aHqs9U+jkTLR9a+i4Y45scfl8jK2N2USXDapg2Ust1Y3e3JTUHY4In9Jfw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kIbITPmcYpEZ1YI8kCYpoyKvbDzNiTQO8GGGglnnGgI=; b=Kz0VqJFoNJzpV09OHx9gX4BMhYyYPIOiE2zyZv00a5G5fj4ITbXhon4mxAHAWqOYOEhU9U3WO5iSv2ikl/pQ1bjVHxEpeD860sdPax4w4miwkVqbZxvGx713UJX3Frpg92PI5E1rpQenvfKutmyWogULvhtPkKBdZicv7wakrQo8u7moyqXfyk5SnXt2uOeKV1HjXdfpza37sOZHMZjBw3TVeJx8NjwTJB7OaK7XwmtxJX129d5dck2ckAOXpggxR8sdfwQrR64rk03p2ImGKn63ud+90ShlQ9+6KU4MvuKsMyfpAnUuQnBA1IS7BxepFw6jJwiep3gyQD0sEL7C/w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kIbITPmcYpEZ1YI8kCYpoyKvbDzNiTQO8GGGglnnGgI=; b=QoQjl1Rxmby78qTQMLduFYF6oQBeHIB97Va2H3HODmkuDpZM3a5PRgI/gDnx3MnfNR1BDWm03abbHVqJN4zUy7EbD21Z7V5aPny+KqajQqwNJ7NTmIVnSWQ8f83KJ7SzXbkhIBJYsiK/PRiX1OvxwAoIizAyA9cSZK7PH58XNuE=
Received: from DM6PR11MB3418.namprd11.prod.outlook.com (20.177.219.223) by DM6PR11MB3353.namprd11.prod.outlook.com (20.176.122.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.14; Fri, 6 Sep 2019 20:53:13 +0000
Received: from DM6PR11MB3418.namprd11.prod.outlook.com ([fe80::ddcd:cbad:9978:4c68]) by DM6PR11MB3418.namprd11.prod.outlook.com ([fe80::ddcd:cbad:9978:4c68%5]) with mapi id 15.20.2241.014; Fri, 6 Sep 2019 20:53:13 +0000
From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Client version selection draft
Thread-Index: AQHVZPQrCXTBLFmiykyNmNchhNxj5qcfIEqA
Date: Fri, 06 Sep 2019 20:53:13 +0000
Message-ID: <9D72F915-EF4B-43EB-B950-060F91724E70@cisco.com>
References: <257C5858-8045-4B92-9DC4-764168507329@cisco.com>
In-Reply-To: <257C5858-8045-4B92-9DC4-764168507329@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jclarke@cisco.com;
x-originating-ip: [2600:1700:b00:b239:50ac:90a1:bdf0:eeb1]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 276a8122-1605-4650-16f9-08d7330c3c09
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR11MB3353;
x-ms-traffictypediagnostic: DM6PR11MB3353:
x-ms-exchange-purlcount: 1
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB3353D53848AF331C3EE5CD6DB8BA0@DM6PR11MB3353.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0152EBA40F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(396003)(39860400002)(346002)(376002)(199004)(189003)(53754006)(6486002)(102836004)(66946007)(66556008)(64756008)(229853002)(66446008)(66476007)(486006)(71190400001)(256004)(6506007)(76176011)(86362001)(53546011)(37006003)(7736002)(91956017)(76116006)(6116002)(606006)(99286004)(6636002)(4326008)(2906002)(6436002)(478600001)(6306002)(33656002)(316002)(8936002)(14454004)(46003)(5660300002)(6862004)(25786009)(186003)(6512007)(81156014)(71200400001)(54896002)(6246003)(8676002)(81166006)(14444005)(36756003)(53936002)(446003)(476003)(236005)(2616005)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3353; H:DM6PR11MB3418.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 1vsyu63UaEt1l3DYK4M91lRSLH/F8jWt9gJMvGR22QIaYhLd3x1jHAcI2A3K1PTYCy0i9yuIXejDtBmet4PpYqB1LZyuCE5iqn2hr1lbALa/F18FxxEAWT0XMZ9wm0lu1vgNqbwYCPkvHKvq1pFivjcE3LgLDsRI1Pei1mOlckKq6YwH+LhAn1PyIWW1IPY4+WzgfwJbo3jtBQqWIvSWoOSyVijpC0M0+O36HWOGbVaYNzwoXtMvlLxv7qz/murAbg4q1zTsRNA4yamd+9z2U6vPS+j6bEbx0TgCsix1d0s4sxdXlAGtKbmIzCcW9krqNgYebSmxerc+qwT2eX85m2lYqQbhpImQ4/YsSnxymWXnG3FIbuU7ZQDnkRpZ1TcxAlytaC4pw5I55W6NWCQKWR66qjJJ0wbdCSWneDlkcSI=
Content-Type: multipart/alternative; boundary="_000_9D72F915EF4B43EBB950060F91724E70ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 276a8122-1605-4650-16f9-08d7330c3c09
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2019 20:53:13.5457 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jv99OP5xjJyl8HBZzppm/jDLrCm9CZOmzzHAJBB5H/+mssvYziUVfrWKtrOI+czrQ90K6M+Kdu1uarY1NI7Lhg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3353
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/ALhKhENmhpoBJu2SKFHwUAntxQo>
Subject: Re: [Netmod-ver-dt] Client version selection draft
X-BeenThere: netmod-ver-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NetMod WG YANG Model Versioning Design Team <netmod-ver-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod-ver-dt/>
List-Post: <mailto:netmod-ver-dt@ietf.org>
List-Help: <mailto:netmod-ver-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Sep 2019 20:53:19 -0000


On Sep 6, 2019, at 16:46, Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>> wrote:

Hi all,

The draft<https://datatracker.ietf.org/doc/draft-wilton-netmod-yang-ver-selection/> has 2 schemes for clients to select version:

  *   Via port number (port maps to schema-set). This works for both NETCONF and RESTCONF

  *   Via root-path (root-path maps to schema-set). This works for RESTCONF only.


Would like to hear from the DT on  this, more specifically:

  1.  Any other directions we should investigate as a solution for this? E.g. new NETCONF RPC (or updating capability exchange somehow)?
  2.  How important is it to have the same scheme work for both NETCONF & RESTCONF?
  3.  Any concerns if we have more than 1 solution per protocol? The WG will have a big say in this obviously.

One solution that _could_ work for both protocols is username indexing.  That is, you pick a character to delimit the username from the package version.  For example:

jclarke%1.3.1

This has the obvious advantages that you don’t burn TCP port numbers for NETCONF and it would work for both protocols.  A big disadvantage is usernames cannot contain the delimiter otherwise (well, they could if you have rules like if the second portion is not a known version pattern, it treats the whole string as the username).

I don’t know if the WG would accept this, though.

A modified approach do this is to use a different SSH subsystem for NETCONF (e.g., netconf%1.3.1).  This only works for NETCONF, but it doesn’t burn TCP ports.

Joe