Re: [Netmod-ver-dt] Version selection for NETCONF

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Sat, 21 September 2019 15:41 UTC

Return-Path: <rrahman@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 C41B31200F9 for <netmod-ver-dt@ietfa.amsl.com>; Sat, 21 Sep 2019 08:41:16 -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=jdb5kgVD; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=hj8WgUWh
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 CyIibVTSBRrK for <netmod-ver-dt@ietfa.amsl.com>; Sat, 21 Sep 2019 08:41:14 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B24FA120088 for <netmod-ver-dt@ietf.org>; Sat, 21 Sep 2019 08:41:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19755; q=dns/txt; s=iport; t=1569080474; x=1570290074; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=izyXXFog21/cstrSyLWgJfGUp+mhyAjb3WktrK36iXM=; b=jdb5kgVD1sKjpc9kzo18wj2Jr9wzHX9O3YdWvMPB8EdvFwBE4ZY/o7vB NXgkLvHVf2sRolZGK6S3XHwF/53L1krTDow30Ymha6ot6cCpEfcbwXoGh Xbr7lJeVrm2lzYCUfc7CDL1VRtPiI1TFtQx5ghVczLpzqVkNgzzhtjAtK c=;
IronPort-PHdr: 9a23:N1YfSRy97JuSUcPXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5YhSN/u1j2VnOW4iTq+lJjebbqejBYSQB+t7A1RJKa5lQT1kAgMQSkRYnBZufE0T7KffsRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAACVQ4Zd/5BdJa1lGgEBAQEBAgEBAQEMAgEBAQGBUwUBAQEBCwGBGy9QA21WIAQLFhQKhBiDRwOEUoYjglyTF4RdgS4UgRADVAkBAQEMAQEYAQoKAgEBg3pFAheCciM0CQ4CAwkBAQQBAQECAQUEbYUtDIVKAQEBAQMBARARHQEBLAsBDwIBCBEDAQIoAwICAiULFAkIAgQOBSKDAAGBHU0DHQECDJ1TAoE4iGFzgTKCfQEBBYJIgkIYghcDBoE0AYwIGIFAP4E4H4JMPoJhAQGBLgESAQk2DQmCVTKCJo0kA4IzhSmJJI5pCoIilQobmSWjVoNZAgQCBAUCDgEBBYFSOGdxcBU7KgGCQVAQFIFOg3KFFIU/cwGBKIwAgSIBgSIBAQ
X-IronPort-AV: E=Sophos;i="5.64,532,1559520000"; d="scan'208,217";a="342674970"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 21 Sep 2019 15:41:12 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id x8LFfCp5005523 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Sat, 21 Sep 2019 15:41:12 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 21 Sep 2019 10:41:11 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sat, 21 Sep 2019 10:41:11 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sat, 21 Sep 2019 10:41:11 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oIrIG2CF5HcGJba7WTOHCpJdVTush7wRp5d5JsLYT8s4EsFGJUCu9rwfWr3VmBQVfLRMWbMrm6gNJ/LqcqCKubkS2fDzUZ3oXbXKMBHocyBnrwdCSdE+BgsHJhZqn7LEEjQEdqm6b+84BrxRjyMN0fs6KBB+eMiyXsDKRUQGTC3T3FPBLWbF7nXVuZ3HzVAnmpbgifaCwH/3FVfFk4QLcWM2aRe8WNCFtpxqVQ5PX+KbHAM/wXZAWs6iq1lI2uGaKvkQ+53Vfx5b2hFyWUMLU5w/FvR1LzFMzqzImMKjJeSTA3+VjFq3GCm33ZZoSZ5MPkao3qH/x+AFKlDPaKHtNg==
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=izyXXFog21/cstrSyLWgJfGUp+mhyAjb3WktrK36iXM=; b=C+7bhd/lY14nBEJ8pjc899+wwwrovpLBmL8mHjK/Re6X529IjfhQU1CqTODz4y2pzTUaHh2na1AnMi/OZOhNLX0fBx38ohZ+kDyUYTcbWp5l126WiPOaswaApcpBqPhVVVgZ8KEMnyI+ZaqgiMs06B1FYXX8zqWu6g35rdDXOhGh2YxsNc6JR76FOyix0iJ6bm9fC56st5weWxjN76VuW8tG6ut/GE+4UEIrM03T5tJDDaXHCiE/PzYt52zgVLKxdAY0wyD5OOR8x5E9Bm7CJNYOlgwIq/6PCW/RGgSH3rgYTZd+0yD4scCz+UI1NlVD5GPOpYDXyQf9bApIzTYBjA==
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=izyXXFog21/cstrSyLWgJfGUp+mhyAjb3WktrK36iXM=; b=hj8WgUWhPsG9Az0W7nd8lj7dAjIFAuYTHVzw8e9VRBJSP+cFeMDzvm8w/rD5Hzj7oxLb9/JTiqWw/l2XmlYfEQTDBZyuFuq3dMWlUhRzEFFzMSol+yURcampqWObiQWMA9S52G9X62Kl6RZuooW8xDX7h5G/2R8U+LRr8k4myNs=
Received: from MN2PR11MB4157.namprd11.prod.outlook.com (20.179.150.223) by MN2PR11MB3694.namprd11.prod.outlook.com (20.178.253.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.25; Sat, 21 Sep 2019 15:41:09 +0000
Received: from MN2PR11MB4157.namprd11.prod.outlook.com ([fe80::580d:742:e376:3337]) by MN2PR11MB4157.namprd11.prod.outlook.com ([fe80::580d:742:e376:3337%4]) with mapi id 15.20.2284.023; Sat, 21 Sep 2019 15:41:09 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "Joe Clarke (jclarke)" <jclarke@cisco.com>
CC: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Version selection for NETCONF
Thread-Index: AQHVbpIh9vUtRsFtyEexO1oOfFx8VqczaNZx///1XoCAAUwlgIABW2yA
Date: Sat, 21 Sep 2019 15:41:09 +0000
Message-ID: <9B017188-9D59-47E3-8D00-531CFD2266D9@cisco.com>
References: <8DFB0DDF-F335-4097-99B5-64B3665160EC@cisco.com> <C409014E-7751-414F-A2BE-21192C2C6723@cisco.com> <B86B1673-5A4A-416C-8526-A9C3EEF8D814@cisco.com> <D8653BF0-8AFF-401B-8945-12505F09828C@cisco.com>
In-Reply-To: <D8653BF0-8AFF-401B-8945-12505F09828C@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1c.0.190812
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rrahman@cisco.com;
x-originating-ip: [173.38.117.75]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6f0bf759-ab9d-4b8f-5a5a-08d73eaa2007
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR11MB3694;
x-ms-traffictypediagnostic: MN2PR11MB3694:
x-ms-exchange-purlcount: 2
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB369463AE632A6B7EFE7AE8EFAB8B0@MN2PR11MB3694.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0167DB5752
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(366004)(136003)(346002)(39860400002)(53754006)(189003)(199004)(99286004)(36756003)(58126008)(71190400001)(229853002)(478600001)(966005)(71200400001)(236005)(33656002)(6436002)(66066001)(37006003)(316002)(14454004)(54896002)(66476007)(6486002)(25786009)(64756008)(6306002)(5660300002)(6512007)(66446008)(7736002)(66556008)(6636002)(76116006)(66946007)(9326002)(2906002)(4326008)(256004)(6862004)(8936002)(3846002)(6116002)(486006)(26005)(11346002)(476003)(2616005)(446003)(606006)(102836004)(8676002)(81156014)(6506007)(76176011)(53546011)(86362001)(81166006)(186003)(6246003)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3694; H:MN2PR11MB4157.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: Y8Vu/LEbckRE+IR8zC5+VUFbEQcv/H1KTxfl9TAHxzMBGNT/XK2qN364ud6NHFbg5YaEsI2HaX4V2q0yw96N3wQ2H8VkxBzV6xaAvc6XGQklfsHDsSXfeogLiZAxWFFcB/U2p3DaoYm0YYSRheuhpk687p5HgUmhslMmsiSSiYVDPmfa/I1TXANIpQhphXX6nH9NhX45uNWPdlL6i4i06w7wNfw810yWxEve0+juOkL7RE6VFt/IPKfxT76DpBrnnkSrprLvZuIYD+S2b6WK5fL3QaqaSW10IJ437cWjjIKWRWcKzf50gRpix5Cs8oHO/5hLXftnoEfBGNHXuPUm1tVf91+vE4AAyNmwWFPrMJg+nytONnsSWkmjmCQAG7SU5H9tEKAdSGdOj037uSEcABc+XGx4wuf7uKqMs6Ay46g=
Content-Type: multipart/alternative; boundary="_000_9B0171889D5947E38D00531CFD2266D9ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 6f0bf759-ab9d-4b8f-5a5a-08d73eaa2007
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2019 15:41:09.7330 (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: cvnimx9KNS4RNktZz7cqgisn7bK51DO4LK3puIxPlZWAKrTv6qKzBZx8NY7m3aYFU24vqRT1dth6JWyUorAGGg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3694
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/kASXFmIJUte3kD9W7-6Y9Ww7SL0>
Subject: Re: [Netmod-ver-dt] Version selection for NETCONF
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: Sat, 21 Sep 2019 15:41:17 -0000

Hi Joe,

From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
Date: Friday, September 20, 2019 at 10:57 AM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
Cc: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Subject: Re: [Netmod-ver-dt] Version selection for NETCONF




On Sep 19, 2019, at 19:08, Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>> wrote:

Hi Joe,

We discussed YL in today’s meeting and consensus was to have it in both YL and capabilities.

Works for me.



Good question about default schema, this could indeed be handy.

It could simply be an empty or boolean leaf to mark the default.
<RR> Makes snse. The leaf would be in YL. We’d need to have the equivalent in capabilities.

Regards,
Reshad.

Joe



Regards,
Reshad.

From: "Joe Clarke (jclarke)" <jclarke@cisco.com<mailto:jclarke@cisco.com>>
Date: Thursday, September 19, 2019 at 3:46 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Cc: "netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>" <netmod-ver-dt@ietf.org<mailto:netmod-ver-dt@ietf.org>>
Subject: Re: [Netmod-ver-dt] Version selection for NETCONF

Why not advertise in yang library since both RC and NC need this?  Other than that, the RPC flow sounds right.  But what is the default schema?  Does the server flag one as default?

Joe
PGP Key : https://www.marcuscom.com/pgp.asc

On Sep 18, 2019, at 21:30, Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>> wrote:
Hi all,

Last week (email + meeting) there seemed to be consensus on the use of “root path” method for RESTCONF.

For NETCONF, we discussed using capabilities. Extending the capabilities to include “schema versions” seems sensible, with 1 top-level schema per schema family where family is e.g. vendor-xxx-native, ietf, OpenConfig.

  1.  An example of schema-versions advertised: vendor-xxx-native_1.2.1, vendor-xxx-native_2.0.0, ietf_2.3.0. We also need an RPC for the client to select which schema-version (among the ones advertised by the server) it wants to use.
  2.  If a client doesn’t call the SetVersion RPC, then the server’s behavior is to resort to default schema version (when multiple versions of schemas are supported).
  3.  If a server doesn’t advertise any schema-versions, client doesn’t call SetVersion RPC and both behave as they do today.

Thoughts on this?

Regards,
Reshad.

_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org<mailto:Netmod-ver-dt@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod-ver-dt