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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Mon, 09 September 2019 10:06 UTC

Return-Path: <rwilton@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 401D9120043 for <netmod-ver-dt@ietfa.amsl.com>; Mon, 9 Sep 2019 03:06:28 -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=fpUcudMB; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=MW0lW8/I
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 5taDwMfEh-77 for <netmod-ver-dt@ietfa.amsl.com>; Mon, 9 Sep 2019 03:06:26 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0FC67120033 for <netmod-ver-dt@ietf.org>; Mon, 9 Sep 2019 03:06:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=28828; q=dns/txt; s=iport; t=1568023585; x=1569233185; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=uvvvmZzLRb05++trBEIUo6GTSds1XFOmjG4rWiyH+wc=; b=fpUcudMBH7LR5wgBx/3ERTEWXkhcg1LadaHKU3EuleO1HsK8HPFmYRC6 0G17aDSd0nuR48QgrqeRTwy+m4UZN6u5VvH8u1y9F3WRevok6RTiP0oBf RDUWYyPFGJzSYQkeAFLaqWM4vMsx6M5RNd/vm/ycngw9V/l/ZFYtB9nJx E=;
IronPort-PHdr: 9a23:vQxj8h9nSZGJav9uRHGN82YQeigqvan1NQcJ650hzqhDabmn44+8ZB7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfk0jgZdYBUERoMiMEYhQslVdSaCEnnK/jCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BvAABzI3Zd/5tdJa1lHAEBAQQBAQcEAQGBUwcBAQsBgRUvUANtViAECyoKhBeDRwOEUoYjTYIPl3CBLhSBEANUCQEBAQwBASUIAgEBgUuCdAIXgiAjNAkOAgMJAQEEAQEBAgEGBG2FLgyFSgEBAQEDEhEKEwEBOA8CAQgRBAEBIQoCAgIwHQgCBAESCBMHgwGBHU0DHQECDJlqAoE4iGFzgTKCfQEBBYFGQYMKGIIWAwaBNAGLdxiBQD+BV4IXNT6CYQIDAYFGGSuCXjKCJo89hSGJF45PCoIhhn+OEJkCggaDdYgDiAKNEoNXAgQCBAUCDgEBBYFSOIFYcBWDJ4JCg3KFFIU/c4EpjHIrgQQBgSIBAQ
X-IronPort-AV: E=Sophos;i="5.64,484,1559520000"; d="scan'208,217";a="627676967"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Sep 2019 10:06:22 +0000
Received: from XCH-RCD-013.cisco.com (xch-rcd-013.cisco.com [173.37.102.23]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x89A6M1M003042 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Mon, 9 Sep 2019 10:06:22 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-013.cisco.com (173.37.102.23) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 05:06:22 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 06:06:21 -0400
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 9 Sep 2019 05:06:21 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeFZCBxBtPlIdPhtzMaow8OfKdOwS5MtJfQppbefR7GUbhhGHIFXm+23XUbJSOx/nZDCZqHVhNR9AShraMZkEJKJEVwN/c6ohxDG01lynZKX628qp0U+J2UTHB9nOaajTCoZBMhqnFnLbnzeCi1pDH7S8NKbkq8z1mINACtmSTl1nK6tFH+floDV56rFs/tsZaQXz7ONd8DkJ5m2DnBTdB6EB0TC5yytLmjmjvPa9wtnBbPAqn7v87g9rgmiHzwn87GVR5ekSDPjv09Pl4kywpN42yPIZM8iRgyv6WnU1YLq/TRm6oFT98tXloXNXZGEu0uPmhD08NzmPzACJV4R4A==
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=uvvvmZzLRb05++trBEIUo6GTSds1XFOmjG4rWiyH+wc=; b=MY2oo5VID7Zu1+wLdQu0eGocuihCGMM5cC8O2RHBfM/OjmsF9K0n5glyr3Pt8T5U4IFRbUVPh1enIzRxRm5xV5Iz52NF/Yb/MBgO3yBpvkrOP1K4dLblYPJlum8QyoLHFeLHi2GcD4GihDli4+Cxz6kBEEKmpWBDfxC56ff7HfUvVRIxwR3pF+ZyIZz8GSqc/Ma1u2Je82OEqNKr1NmpOQpUVd5weY5OY6ucDSfnBoOnRSN9mqmBs6tpgWOEDx2y9Nl9ZY1K/ZiNyTpG5M+PB+pqxXkm6lC52axyM4wYAXRPS8SGcLQvGylryYRPycTNv+UO+yyc7mLcoMgTL7wSeg==
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=uvvvmZzLRb05++trBEIUo6GTSds1XFOmjG4rWiyH+wc=; b=MW0lW8/Ip7XFj0XkTgz9Nx0CNXzmGRMzKHvTnmkyyrLu4CYY7m0xIaeremPl69TPQwHmsDKQTOe2tSVXuqq6lz8ZRphJK5XKCT5Du1GhEqeIsN29WyhkJLvQnpac5WoqPZ6UozEOUGS1v25NHCmbawFfzcsw6exS2NdA/M7SZJc=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB3887.namprd11.prod.outlook.com (10.255.181.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.20; Mon, 9 Sep 2019 10:06:19 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::6db3:f4c:467b:30f6]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::6db3:f4c:467b:30f6%7]) with mapi id 15.20.2241.018; Mon, 9 Sep 2019 10:06:19 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: Client version selection draft
Thread-Index: AQHVZPQrCXTBLFmiykyNmNchhNxj5qcjGd6Q
Date: Mon, 09 Sep 2019 10:06:19 +0000
Message-ID: <MN2PR11MB43666DD9C491EBB43432DBEDB5B70@MN2PR11MB4366.namprd11.prod.outlook.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=rwilton@cisco.com;
x-originating-ip: [173.38.220.40]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a8b64c7a-c913-44d3-0b40-08d7350d5c66
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR11MB3887;
x-ms-traffictypediagnostic: MN2PR11MB3887:
x-ms-exchange-purlcount: 3
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB38875A6FCD8C047E4C85905EB5B70@MN2PR11MB3887.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01559F388D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(136003)(346002)(39860400002)(396003)(51444003)(53754006)(189003)(199004)(76176011)(8936002)(9686003)(55016002)(9326002)(186003)(71200400001)(7696005)(76116006)(81156014)(8676002)(81166006)(71190400001)(2906002)(7736002)(25786009)(86362001)(606006)(229853002)(6436002)(66946007)(6246003)(66476007)(66556008)(64756008)(66446008)(5660300002)(33656002)(53936002)(486006)(99286004)(14454004)(446003)(11346002)(478600001)(52536014)(74316002)(236005)(26005)(316002)(110136005)(256004)(3846002)(6116002)(14444005)(790700001)(53546011)(3480700005)(102836004)(54896002)(6306002)(6506007)(66066001)(476003)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3887; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: jjfGZx8HZV7v5PoPS44l/4EsKx6ZH2ukTJnImtFmSVJG06Ox1df/MAyaUaI8nbzjmWIILHNZaIBuVnNhitWgMYXsLE/WwOgqT+CUNveWyS9sFnptvnzvSpgU9BzdeYQmFVvfxtOW7KUvZRnkxMwfg/lsl0cpKpKSyjnQO5Z5AQlVtUMp0zKRXr12DLWEidSzLkBf7mB56XudLpdieKEMl2stHrEoixnQl7H8td7F6QEeuDssoplXkn4aVXVr99nifzWAFI71Q+KLpLlundUb2/aeZxMPI/xuiQLmunoxyaOjGmWXGdwh580thlgxjgf6H7bPqOCCw3WOya9cX7TQ9r92fTz2VHr0yLxgSDk/b7dz+EPQ8+w47IHL/FKwn4EA0q09lVe+gZ0cRHYtL5l16O1lvIkFSyAgbwcu841JHMY=
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB43666DD9C491EBB43432DBEDB5B70MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a8b64c7a-c913-44d3-0b40-08d7350d5c66
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2019 10:06:19.6303 (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: +uZsz6GuVn1dP1LfaxrEiWzKnChvr6qwkZDj8QgsyGx1iTVHq8Q6+3GjjpbRYJ13AN1v0IpENSMYul6xAvTgzg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3887
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.23, xch-rcd-013.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/Lx4EnQ8JG_f8By8PYfue24WObKc>
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: Mon, 09 Sep 2019 10:06:28 -0000

Hi Reshad,

My instinct is that clients will mostly want to interact with a network device just using a single package version.  Hence really the version selection is about choosing which schema family (native, ietf, openconfig) to use and also which particular version of the schema to use.  Once a schema has been chosen then I expect it to be available on the standard port/path (which I think raises the question that if you change the default schema to something else, then how do you change it again, or reset it back to the default.  This probably needs a RPC to be defined).

It is also possible that clients may want to configure some classes of features on devices using a particular schema (e.g. perhaps using a native schema if there is no support in OpenConfig/IETF).  If the draft supports anything like this then it might also need to provide some guidance about how configuration is combined, how it is validated, particularly if it conflicts.

The third scenario, that I can envisage for devices, is the case where some monitoring software might want to use a different schema across multiple vendors.  Long term, I would hope that this monitoring data would be telemetry/push based.  I think that means that whatever solution we come up with for version selection also needs to work in YANG push (dynamic and static subscriptions).

The other scenario to consider would be a config controller or orchestrator.  I can see that such a device might well want to offer different schemas and schema versions at the north bound APIs, and expect to interact with south bound devices supporting different schema and schema versions.


Regarding differences between NETCONF and RESTCONF, I think that is OK, and is aiming to play to both of their strengths.  I.e. for RESTCONF, a path based solution seems like a naturally good fit.  For NETCONF, I’m less sure what is the best approach.

I’m also not sure whether having more than one solution per protocol is good idea.  My hunch is that initially we should try and come up with a single solution per protocol.

Thanks,
Rob


From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Reshad Rahman (rrahman)
Sent: 06 September 2019 21:47
To: netmod-ver-dt@ietf.org
Subject: [Netmod-ver-dt] Client version selection draft

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.

Regards,
Reshad.