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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Thu, 19 September 2019 23:08 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 DE572120043 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 19 Sep 2019 16:08:57 -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=CBH5JmCS; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Ujv1oHAy
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 1fwyoPXoY0pQ for <netmod-ver-dt@ietfa.amsl.com>; Thu, 19 Sep 2019 16:08:55 -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 9BAAB120041 for <netmod-ver-dt@ietf.org>; Thu, 19 Sep 2019 16:08:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=15013; q=dns/txt; s=iport; t=1568934535; x=1570144135; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Nx3TgwNdhAmlt/Eg0UfbJ/EmSikt3Jc5V2LYo3T8bXA=; b=CBH5JmCSej332udBcLRvVJ4OcTpRGaK5YUKmVYj0Y3LXYnvDnzIHtGeY 6W3zTQz5D+9RgjmuIGaki6Fyo2mAd4Y04fUXzzPtiRSrpp0KDEHzAw6UY d/hhg83fjGaSLL5iHdiDs+rdQGJAGh3Lozzj3asH0wSNl7TYJB/MqH491 g=;
IronPort-PHdr: 9a23:kh/4GxVmbfaHugG77pvFuDn39MrV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSA92J8OpK3uzRta2oGXcN55qMqjgjSNRNTFdE7KdehAk8GIiAAEz/IuTtankgBs1CUVZj13q6KkNSXs35Yg6arw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAAAkCYRd/5JdJa1mGgEBAQEBAgEBAQEHAgEBAQGBUwUBAQEBCwGBFS9QA21WIAQLFhQKhBiDRwOEUoYsgjclkxaEXYEuFIEQA1QJAQEBDAEBGAEKCgIBAYN6RQIXgmwjNAkOAgMJAQEEAQEBAgEFBG2FLQyFSgEBAQQBARARHQEBLAsBDwIBCBEDAQIoAwICAiULFAkIAgQOBSKDAAGBHU0DHQECDKESAoE4iGFzgTKCfQEBBYJIgkIYghcDBoE0AYwIGIFAP4E4DBOCTD6CYQEBgS4BEgEJNg0JglUygiaNJAOCMYUpiSSOZQqCIpUIG5kjo06DWQIEAgQFAg4BAQWBUjhncXAVOyoBgkFQEBSBToNyhRSFP3MBgSiNCIEiAYEiAQE
X-IronPort-AV: E=Sophos;i="5.64,526,1559520000"; d="scan'208,217";a="334971533"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Sep 2019 23:08:54 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x8JN8sdh013334 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 19 Sep 2019 23:08:54 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Sep 2019 18:08:54 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Sep 2019 18:08:53 -0500
Received: from NAM05-DM3-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; Thu, 19 Sep 2019 18:08:53 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GbGMUEyLYdmFNLAo3RBmw77lBZCkD7owkw2NmknSyCa36ykews2urbArxnXrLfLnsr170NMU6vpKYRKuVZjwl+5QWE8ftKL9+2WAfpiM9WFgqLLb60mZgkOVSigBkzOKU437ydo+MAUUk4/X3/H7s2MM0w2aMSadUsIXu4FINO3PGjJ55qI5VucPnUecnnHTMMU3V9NLLADNG6Yit+rA8L54WPG+wJbQ/tbFr7k0jNdhcgTvd+Pn3gYBG+xknKxxpz5slcFfh16VW/V6Cao2uPVtyET5HOrZTXzMqO38DpqdqpcJ4XIoKrONFn/sr9xxInpUFm0Wnc1HT7wkcS5zWQ==
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=Nx3TgwNdhAmlt/Eg0UfbJ/EmSikt3Jc5V2LYo3T8bXA=; b=g1ZTynH0Z2EXyNTQey0Y/nonVEmdsCpsyxaa06ZLzmmrmKOiy7j1Lz6lDOy6JI/SMRFqEEu+Ri6QYAqcF/+QQYJnVS68S5RlJeb2JQdjqYuGULjtBjNOdGaP0MulxzdfIDQZHOIhSWfJ/O1oys+R6lMfavnvXy138Pm/HZHosuU57IGBaCVIqXV8WI79lLsyjuRc/CnbvzJIVu8vKbezSD4YTZD8S2p2N9o/mzlQT0R+ufdixFyMMmRuZrtcR/8/XivALgaIIm/IDPWsrRlX8BA4NWwBSk8EnupwFT00n1hQYzx3KGsZAK4LrT0r5FHgNPE0IliHk/jES1JbOIi7xw==
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=Nx3TgwNdhAmlt/Eg0UfbJ/EmSikt3Jc5V2LYo3T8bXA=; b=Ujv1oHAya+YOEC19KWcBjDfQom0lrsvg7kPylYVpYZEOGQr6C7Qz9ABj69gFIIugrA4hbzIpwXvOZq168lAgqGcK/0Ys2V9rhogR5BZ32etBHYOCbXFJJaNiA7DX7e59FPefi1z67ib2ALxQ8vKBZJEUTG/zqNJ6P/YrsXxJhvc=
Received: from MN2PR11MB4157.namprd11.prod.outlook.com (20.179.150.223) by MN2PR11MB4448.namprd11.prod.outlook.com (52.135.39.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.16; Thu, 19 Sep 2019 23:08:53 +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.009; Thu, 19 Sep 2019 23:08:53 +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///1XoA=
Date: Thu, 19 Sep 2019 23:08:52 +0000
Message-ID: <B86B1673-5A4A-416C-8526-A9C3EEF8D814@cisco.com>
References: <8DFB0DDF-F335-4097-99B5-64B3665160EC@cisco.com> <C409014E-7751-414F-A2BE-21192C2C6723@cisco.com>
In-Reply-To: <C409014E-7751-414F-A2BE-21192C2C6723@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.79]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 93cd813a-2950-47c8-234e-08d73d5656ea
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB4448;
x-ms-traffictypediagnostic: MN2PR11MB4448:
x-ms-exchange-purlcount: 2
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB4448D8EB4F1152AB94769A98AB890@MN2PR11MB4448.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 016572D96D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(396003)(136003)(39860400002)(53754006)(199004)(189003)(86362001)(66946007)(76116006)(66476007)(66556008)(58126008)(64756008)(37006003)(966005)(478600001)(7736002)(8936002)(8676002)(81166006)(66446008)(81156014)(316002)(5660300002)(486006)(256004)(9326002)(71190400001)(6862004)(606006)(71200400001)(476003)(76176011)(236005)(6486002)(229853002)(54896002)(6306002)(6636002)(6512007)(6436002)(33656002)(4326008)(11346002)(14454004)(53546011)(6506007)(102836004)(186003)(446003)(36756003)(2616005)(26005)(6246003)(6116002)(99286004)(25786009)(66066001)(3846002)(2906002)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4448; H:MN2PR11MB4157.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: iHn1B3mfTQIslo3b2cI6ULoFIrr0TWf1Z1B5hEXaQeZTU3OQrAsiHWhSs8Cg7Xwtij/+hWc+1s9nbmFt+odfjOLDo2SbSiaSCH5pQ6coBNIXiceVGUPRjiXyRw1a0wbPAlW3fvy56pleC3Sezjp84+IGKBYYvWBJBSSLJBhjYqacdzM0OHWWEeiGOoGQ+AeH6aYwduGIfsm/rofuk/CD2m3trkp5ibZkWW+BL6Cafq/RGfG0fIdr6NvNPH+YJtz0U/cN4+8j7AQKK6g1Mi/p479l9hLibZhvtim6lpqKINRybhNRMW0b5ad4Nc4oi9y2+lTlPbkjma3jdbz+1+PK69TGUPE2F7eXBjrTZtQXaY9wfafDck9soIkqZyWq7Ia7QAxKXkLI1PyNMNlDE0UEq6H82+rGfaUQv4XsaiBGY28=
Content-Type: multipart/alternative; boundary="_000_B86B16735A4A416C8526A9C3EEF8D814ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 93cd813a-2950-47c8-234e-08d73d5656ea
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 23:08:52.9712 (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: kfbWRSkNhCqA8iaKHDk+V4G/25eZzEmUzELIVgzBhebFZkOlUaVpBGgRD7gBZelyZO6ovjh2R/fXyAZbcU8HxQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4448
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/dr7h1SAlCq2nKiCrqo4ZB--lCwk>
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: Thu, 19 Sep 2019 23:08:58 -0000

Hi Joe,

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

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

Regards,
Reshad.

From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
Date: Thursday, September 19, 2019 at 3:46 PM
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

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