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

"Joe Clarke (jclarke)" <jclarke@cisco.com> Thu, 19 September 2019 19:47 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 3FBBF120152 for <netmod-ver-dt@ietfa.amsl.com>; Thu, 19 Sep 2019 12:47:01 -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=SdFOrdUc; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Gq2+tIgV
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 ePFp5XK37hFB for <netmod-ver-dt@ietfa.amsl.com>; Thu, 19 Sep 2019 12:46:59 -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 D694612013A for <netmod-ver-dt@ietf.org>; Thu, 19 Sep 2019 12:46:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11069; q=dns/txt; s=iport; t=1568922418; x=1570132018; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=fDu6ZHwH/OdGQqiOI8PNIzljBGMQEo5YZ470uuSRQQI=; b=SdFOrdUcVm+klns/jKpzMVVT2DtjT2+3DJCOnlij/ZEENEuATd+sTY9U /+tEhgI8mZQRJnsrji0AcWWjgTT6076zxcqxJVoKjL5wU9OfgzJ8tME3j HPXp5c0TvglZgdPGPZCR/bao44kUS3w9dOqMQEIoDSyfbXiAaBpsXdEbJ Y=;
IronPort-PHdr: 9a23:miJQsRRYdPjF+t6nBavv4KB3H9psv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESXBdfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH15g640NmhA4RsuMCEn1NvnvOi4xGM1YV1JN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AZAAAx2oNd/4gNJK1mGwEBAQEDAQEBBwMBAQGBUwYBAQELAYEVL1ADbVYgBAsWFIQig0cDhFKGK4I3kzuEXYEuFIEQA1QJAQEBDAEBGAEKCgIBAYN6RQIXgmwjNAkOAgMJAQEEAQEBAgEFBG2FLQyFSwIEAQEQEQoTAQEsCwEPAgEIPwMCAgIlCxQRAgQOBSKDAAGBHU0DHQECDKI1AoE4iGFzgTKCfQEBBYJIgkEYghcDBoE0AYwIGIFAP4E4DBOCTD6CYQEBgS4BEgEJQ4JeMoImjSQDgjGFKYkkjmUKgiKVCBuZI6NOg1kCBAIEBQIOAQEFgVI4Z3FwFTsqAYJBUBAUgU6DcoUUhT9zAYEojQiCRQEB
X-IronPort-AV: E=Sophos;i="5.64,526,1559520000"; d="scan'208,217";a="633852924"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Sep 2019 19:46:57 +0000
Received: from XCH-RCD-016.cisco.com (xch-rcd-016.cisco.com [173.37.102.26]) by alln-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id x8JJkvAh021129 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 19 Sep 2019 19:46:57 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-RCD-016.cisco.com (173.37.102.26) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Sep 2019 14:46:57 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Sep 2019 14:46:56 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 19 Sep 2019 14:46:55 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FGq/7ESkDaApZ41/+5fMPNJNwLBbho5tnOmW0d3mRSsYNCsaHGXenYlrs25MQhmNi21E7masMUUqziYbBtSdrV2YLg0eXaNWg5PsT/47MgHa5ZwYfn6ve5WNg+USjuld4GSTwHA+0SgLGwnQzgPAv8p3I41c/baZuNf7NTnHXbxkpMzHVotwViAgQMnqIWKHoK9cUSFN0PHZxwemtLjIqh/RZ41KtSDmgssjv43J6+JmJ47RtdOgdcbT61E8Iv9qZ0I5QYNwoZwQmsWVtdXNXc8k/j6V5UodK+9Iu2RQZiJRJBBa+j4UUqx1lOfuXdS4DZN1K/VCjNj/NvQ3lBa73Q==
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=fDu6ZHwH/OdGQqiOI8PNIzljBGMQEo5YZ470uuSRQQI=; b=E32p8yD3wGuvjUKIAooUxw2m2rX+vL7qaGEUH0LooxE4kv7sFhu4mKM+sfmIapeAPP3JhIWcAIIJlYyYLKzwzC5aa+oDn2+D2Fg9hYX/U9JeoEcd+m94vXQpz9Ry67OKjDHPl+hcppa+MYJibMe5tCq/WFzYKtFNJIgRNcnZdjzcOcm8wJlpo0pd+1Hcpb/N60utc4dg7aHbemHjLKmEoCMlMrtrwyGimGPkQrDED0h3WnBzpvR8tVXLSOI8gejtq5EPW17xJkp+QVhgkotbAAPgEIH7Vc0SPX/tjF6/iETycbrsCMuNMs4Cm1ONETMnJoE8pZpXpN0hSvwcg1xKWw==
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=fDu6ZHwH/OdGQqiOI8PNIzljBGMQEo5YZ470uuSRQQI=; b=Gq2+tIgVtvv1kEsrQE4wZZZdYgJ4DgxorS+2ShM/7exRCMZSzI0Ni4XYVHcsng8lWeztjlxvcxfn5FhkV4ddsA2QcrK750/XrKZ1ITrY8WL2/gH53WRZG01QzOBRS1Zo4eoyE3LR6wj+oxo49RPGhxUymWTmP6yyKHJDAAuyuMk=
Received: from DM6PR11MB3418.namprd11.prod.outlook.com (20.177.219.223) by DM6PR11MB2585.namprd11.prod.outlook.com (20.176.103.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.26; Thu, 19 Sep 2019 19:46:55 +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.2263.028; Thu, 19 Sep 2019 19:46:55 +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] Version selection for NETCONF
Thread-Index: AQHVbpIh9vUtRsFtyEexO1oOfFx8VqczaNZx
Date: Thu, 19 Sep 2019 19:46:55 +0000
Message-ID: <C409014E-7751-414F-A2BE-21192C2C6723@cisco.com>
References: <8DFB0DDF-F335-4097-99B5-64B3665160EC@cisco.com>
In-Reply-To: <8DFB0DDF-F335-4097-99B5-64B3665160EC@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:387:1:803::61]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4dec5187-281c-457d-59c0-08d73d3a2015
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR11MB2585;
x-ms-traffictypediagnostic: DM6PR11MB2585:
x-ms-exchange-purlcount: 2
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB258568E3035E6DF6EC30B7DDB8890@DM6PR11MB2585.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 016572D96D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(366004)(376002)(396003)(39860400002)(199004)(189003)(53754006)(33656002)(53546011)(476003)(102836004)(2616005)(46003)(6506007)(36756003)(4326008)(37006003)(7736002)(186003)(316002)(790700001)(6116002)(76176011)(99286004)(2906002)(11346002)(446003)(66946007)(6486002)(71190400001)(71200400001)(6862004)(486006)(966005)(229853002)(14454004)(6246003)(76116006)(256004)(66446008)(66476007)(66556008)(6512007)(6436002)(236005)(64756008)(6306002)(54896002)(81156014)(8936002)(606006)(6636002)(8676002)(25786009)(86362001)(81166006)(478600001)(5660300002)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2585; 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: +fVyZxBhDF3SBNgQuJZ68jkEbRJifM1vLgWIWlmMZTosX5OfqEppPCMsoSnyDwS8dCAr+NNNAqb02swNf2a0CQHV5YMwYhe6bZaWDgti3X3nhKCzIY1PRYJstcdwigom8qtjjJdTphvUxT9uge/PYiALVoDW4e/x9nO4hm8qYxDd94Gr0l5EU68OlOk4juYR9xkOeWEyBGaBMSlPDwPo+nI/noKfzKKzYtRNKCNSYQLnUpg6ld6xlPMCgeOWSTezwBkYG+qg8Ef8LIE6StyYiboEUtJYNKrZOVkajGZ+cnjIoO7m6GRMPn/vl+TN+RleXtOAxTYd/E4MIh/+9UAvuunARnW6mOGv09vOk4TdJgtWa6XNyB+RvwIW6QOkqEFzZwcYIFCkgZY/+YFtUZseqYDYn19sN34Gg3HzML5yaqk=
Content-Type: multipart/alternative; boundary="_000_C409014E7751414FA2BE21192C2C6723ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 4dec5187-281c-457d-59c0-08d73d3a2015
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 19:46:55.0889 (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: bqcbyrPQEsOklESvPfure71i6K0NJqsRtugjF3zS63PuQ6h79bO7JPj5GXm8oILXRTzhRpsYDq8VsKmL8xDfvQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2585
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.26, xch-rcd-016.cisco.com
X-Outbound-Node: alln-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/GJ_boIKO4gj-WPz9wAz_-9SNrlc>
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 19:47:01 -0000

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