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

"Joe Clarke (jclarke)" <jclarke@cisco.com> Mon, 09 September 2019 18:30 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 0D21412022D for <netmod-ver-dt@ietfa.amsl.com>; Mon, 9 Sep 2019 11:30:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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=R6Y/Co7h; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Sb45tZsg
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 H8gI3KYlwpws for <netmod-ver-dt@ietfa.amsl.com>; Mon, 9 Sep 2019 11:30:29 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 766E21200A4 for <netmod-ver-dt@ietf.org>; Mon, 9 Sep 2019 11:30:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9693; q=dns/txt; s=iport; t=1568053829; x=1569263429; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=MOicipeHQUfJMa3eRJ+52IGGHhQJfkndiYgOB/aLf4E=; b=R6Y/Co7hg/eP1d9NV5CROZMQz/7cnn2WVUEVRbCimY//v2QgDSlpP2Tr cBfVVPkDCKb4b7GiFW7DEbxg95i8pqgTnL6gW8TofMczT+iGi2plWbGxc g3vR3tfYVdjNHJFSZA4GHRYYnvDMket1fRKlRJb+2Jd2kizo35VJlPG2p E=;
IronPort-PHdr: 9a23:UMwBthyKwMGaIjXXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5YhSN/u1j2VnOW4iTq+lJjebbqejBYSQB+t7A1RJKa5lQT1kAgMQSkRYnBZuHAknyNv3nRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ClAADDmXZd/4ENJK1lHAEBAQQBAQcEAQGBVQUBAQsBgRUvUAOBQyAECxYUhCGDRwOKeJVwhFyBLoEkA1QJAQEBDAEBLQIBAYFLgnQCF4IhIzYHDgIDCQEBBAEBAQIBBgRthS4MhUsCAQMSER0BATcBDwIBCEICAgIwJQIEDiAHgwCBHk0DHQECmi0CgTiIYXOBMoJ9AQEFgkeCTBiCFgmBNAGLdxiBQD+BOB+CTD6EEIM/MoImjz2FIZdmCoIhlHQbmQKCBoN1oG4CBAIEBQIOAQEFgVkOI4FYcBVlAYJBgkKDcopTc4Epj3UBAQ
X-IronPort-AV: E=Sophos;i="5.64,486,1559520000"; d="scan'208,217";a="328126295"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Sep 2019 18:30:28 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id x89IUSkE025016 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Mon, 9 Sep 2019 18:30:28 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 13:30:28 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 14:30:27 -0400
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 9 Sep 2019 14:30:27 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F6bZfiB9SEPFhNJtxDp3V6jeJc/0c2L3u8WqlOuq7paPse/Q5ykxzrldD2CG6Zkv+S4zTHzEmOqICDwg4hAwuZPljoaqq5IgTlCBazvgVd0bMZ4g/HXUxBaMZqgYX3HAfXTmv1nwksbJGNJ3K6L6RRQX/UBsCQhRTyo9DPgrbhszm2jcfKb829XA/geks9Y+SX7uFQOM1iyoTD3q0K401DnvR0ut4PqpCpvSs8LruwiACl0f4A3BaGYN2giyYFbcS0iM+mKswyb+CQQkwxm0QwDn/Jdyz7l1uwUHP0aRCZXxf+lnQDdJ0EPIZ4HvO7Xrmhq0PmZXan5oT3YUQs1TRw==
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=MOicipeHQUfJMa3eRJ+52IGGHhQJfkndiYgOB/aLf4E=; b=fiPaDJhMe+S14XBbVv7XvjHbyqtHJePr4/sLjyyq/FnS7ifgNJcNeG0MeKK/SeCVXHAZy/MGCrlISTkmWi+uomrNhtnjFrHNRS9f+q2meKpeRo9vtSg1j6oTRDMuhfzIAeAlVUEIYkXGVl6HXm+Mjx9O1if95COocX1RMy3y1pCdoM7IzgEHT5G8Cz8ycrqEysBqGEaLis31yCTqGH3oxJR1hXTju+2CWkWpkqpHXAontTrWRejWoFB555HoJIk58qY386dzXl4r6rbqZFHdN2oEs9oswmzBadrUptZ+ZaNVIwMngqAbsh+bs/sY85dfQRQPXQzNMR1Nu7zjzGIE0A==
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=MOicipeHQUfJMa3eRJ+52IGGHhQJfkndiYgOB/aLf4E=; b=Sb45tZsgeMkHGnCs67/juoulywdIZ0PEMfj8PVSLWgXP2ATtipnHsdMnF76z5hiH13gbc2DolyZhkvIVd6WNo9b+p2xrzV0HxvyNcnn/QR+40nui33wrHzSzpiOzzsbyNJMvLKKgBh4krNfh2Laco09YU270Kr1V4cncALIDu9E=
Received: from DM6PR11MB3418.namprd11.prod.outlook.com (20.177.219.223) by DM6PR11MB3529.namprd11.prod.outlook.com (20.177.220.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.13; Mon, 9 Sep 2019 18:30:26 +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.018; Mon, 9 Sep 2019 18:30:26 +0000
From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Client version selection draft
Thread-Index: AQHVZPQrCXTBLFmiykyNmNchhNxj5qcjGd6QgABPNQCAAEZPgA==
Date: Mon, 09 Sep 2019 18:30:26 +0000
Message-ID: <07B1F9B0-18D3-414C-8C3D-E35ECD512953@cisco.com>
References: <257C5858-8045-4B92-9DC4-764168507329@cisco.com> <MN2PR11MB43666DD9C491EBB43432DBEDB5B70@MN2PR11MB4366.namprd11.prod.outlook.com> <16882EF0-6F22-4BF4-BB63-96F85515B4FC@cisco.com>
In-Reply-To: <16882EF0-6F22-4BF4-BB63-96F85515B4FC@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:8d79:620:e934:f060]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e5c24b60-79a3-4264-7314-08d73553c8b4
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR11MB3529;
x-ms-traffictypediagnostic: DM6PR11MB3529:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB352929DE03A25CC5727F0577B8B70@DM6PR11MB3529.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 01559F388D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(39860400002)(396003)(136003)(346002)(51444003)(189003)(199004)(81156014)(25786009)(6486002)(53936002)(446003)(478600001)(71190400001)(2616005)(6506007)(66446008)(64756008)(76176011)(11346002)(5660300002)(486006)(102836004)(476003)(66476007)(66556008)(6636002)(37006003)(33656002)(36756003)(99286004)(316002)(54906003)(256004)(6436002)(7736002)(81166006)(2906002)(229853002)(6116002)(46003)(8676002)(8936002)(71200400001)(186003)(54896002)(76116006)(91956017)(6512007)(14454004)(6862004)(4326008)(86362001)(6246003)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3529; H:DM6PR11MB3418.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: 8g6UH4rP7E7j44ordinb4gvNPTSbLcuFpqm0O6FoN4GIOGEaAM45noUxMNurxjDQg7m35+d3KwwW9B1NYs4vlYGNs8jDJ4wua0qL406pM9N0fd0Izo/nGCwcxvc1YYCciGHMs6IsoKSys5WKSO0yzBXGn+6ikDK/p14Y2dsd306YvLmeQSq2z1KKwrMpzf/LgEjGboEsuxLLNruDY2rZO2DMTpdsNUV45TLeqk/O/qGW1lV9isgIj0hZaDqMDgcUC9zg9BxvcKC2PV26iXGZ+86Fr1JI5ckL2RkivtLpIzhWCjqtGyA6+HKtocxXyQnU01gBrzNt3umCUTwROquJF1BVSQvnTbav2nLo4l/O2kfInm641Zy3P4Wr4nyxlgxm75OgKi6foByfgeSRFAHNwrFmu78/kr4qiYRAsA8hmC4=
Content-Type: multipart/alternative; boundary="_000_07B1F9B018D3414C8C3DE35ECD512953ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: e5c24b60-79a3-4264-7314-08d73553c8b4
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2019 18:30:26.1301 (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: X9t+7A2tPHNBHywaq+4LDlLnxdcwHxKe91gAA6/0bnxHQwYqI5izVwEXCCemdy7amF+02vHBuOKNIE+utJMlNg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3529
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/uUBkqNYYIsXCAfVZ19zRdhVO4aI>
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 18:30:31 -0000

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).
<RR> Definitely.

These types of flows will be interesting to discuss.  One reason I like the RPC option for NETCONF is it will work with call home.


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.
<RR> We haven’t discussed this in the past but yes the schema selection should apply to any kind of device.

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.
<RR> The path solution for RESTCONF is pretty neat, the only drawback is it requires updating RFC8040, so we should discuss with Andy.

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.
<RR> I’d rather not have multiple solutions either. If we do go with multiple solutions, we have to pick 1 mandatory one per protocol.

+1

Joe