[Netmod-ver-dt] Version selection for NETCONF

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Thu, 19 September 2019 02:30 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 C71C21200FE for <netmod-ver-dt@ietfa.amsl.com>; Wed, 18 Sep 2019 19:30:09 -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=T06njXM1; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=OwHbARBc
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 2aSf4gjmmDDL for <netmod-ver-dt@ietfa.amsl.com>; Wed, 18 Sep 2019 19:30:07 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3EE1312007A for <netmod-ver-dt@ietf.org>; Wed, 18 Sep 2019 19:30:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9403; q=dns/txt; s=iport; t=1568860207; x=1570069807; h=from:to:subject:date:message-id:mime-version; bh=AS2aRnt4SDr/skxVzJo8rsmrZNTMWdfOe4i4trq/FRw=; b=T06njXM18HsnR80oU2jWKFAKt7Mfuxn6T/ePnAihKwyUcBXiN1TFs6ja DYanKjpZl2eddmf/ejny6meLgI7e8+bdvEH6IekMGWT0W57pjlL+PDNLp HLVqlJdTMtfwlrpaAp5yTB7zWDvCcResUfGxRuKO6J0kxu2It4vid1jlQ 0=;
IronPort-PHdr: 9a23:t/TeMRTO0VHWqWcD5uuDTFxiOtpsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESXBdfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH15g640NmhA4RsuMCEn1NvnvOjYgFcRHXVlN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C1AgCA54Jd/40NJK1lHQEBBQEHBQGBVgUBCwGBFS9QA21WIAQLKgqEGINHA4p7TYFqkzuEXYFCgRADVAkBAQEMAQEtAgEBhFiCbCM3Bg4CAwkBAQQBAQECAQUEbYUtAQuFYxEKEwEBOBEBSgIEMCcENYMAAYEdTQMdAQKjagKBOIhhc4Eygn0BAQWCSIJEGIIXCYE0AYwIGIFAP4E4DBOHGwESAQmDITKCJo0jA4IxhSiJIo5jCoIiA5UCG5khjhKVMoNZAgQCBAUCDgEBBYFoImdxcBVlAYJBUBAUgU6DcopTc4EpjQiBIgGBIgEB
X-IronPort-AV: E=Sophos;i="5.64,522,1559520000"; d="scan'208,217";a="335030031"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Sep 2019 02:30:06 +0000
Received: from XCH-RCD-012.cisco.com (xch-rcd-012.cisco.com [173.37.102.22]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id x8J2U3gh020468 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Thu, 19 Sep 2019 02:30:05 GMT
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by XCH-RCD-012.cisco.com (173.37.102.22) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 18 Sep 2019 21:30:01 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 18 Sep 2019 22:29:59 -0400
Received: from NAM03-CO1-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; Wed, 18 Sep 2019 22:29:59 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g9PJ8uZj8eu7QicyATnXFR427nsBdvwPwM4xjsQZaNjpqyXvnKSipfbyIjgTGcHFrz5e3rhrITmf6LlpH+akWoakJ8U3n9gB++UeTBpkKJO4/iM8oi0iiD2dz7pUlBD096Aw7YiFOzX6QyRIRo7iAk02p3+5zUdeBBHATQ0Pfz0QRra/F8862W14dsXMyHIUS0qyd7lbUS617Ag3D23xlUUqC7n6Y5co2bD3C5cdHd9IphxICNn4EKIXe14k0vmA9sMByxts4jkEqhZL+q/NRtUJPL60l89iI+jOCTOdKHP8gh2xstT2aGRFafZ/1piq0qCXo31n2qc5WTB9b2H8oQ==
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=AS2aRnt4SDr/skxVzJo8rsmrZNTMWdfOe4i4trq/FRw=; b=W5r5AAlbMogsAkCBFoMWCorxbaW0D5xJxcp3SD4rMHcdnxaizXMq5VOuhKCm4yJWN5/6gLB3CccRao1fufOCewzqrCCF1qTpHBrkMQif34UdRt6m27euvvC0bkS+AAy14VvUdg/3ZJHLyQzXVqHvKPDoXN7cLrZ8gOXQ25iAfkpf7iywz1QBCwB5fd1zrj/HwsB4ieKkP+0B1XcgDUoDXPplJulDabGoHSrqtmP8CgpGnLTzgWx8C+IlYODFhk6WXTG+5fSS2425lqgQTzLkiIUJvPfHKLwvBfy0WiDIWlIP1WwNaex8fzfJfReE0/xuXWx0yo4isCVVNssRyZz0tA==
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=AS2aRnt4SDr/skxVzJo8rsmrZNTMWdfOe4i4trq/FRw=; b=OwHbARBcfhhg304mra1JAxwNgwcCT/NaJyhM2sZbymbtVfc9z1kKZc5gZ9C1EJ997csfcRP1irj5gysZHMGHw+HnFgB3Wli+9mo9fVT/UssBzIRpoQXYcboT4m2Ik3MslaUUCXAc2r+yt1xw0wvTI32WIwxKx2ieuitQCo6Fv40=
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 02:29:58 +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.2263.023; Thu, 19 Sep 2019 02:29:58 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: Version selection for NETCONF
Thread-Index: AQHVbpIh9vUtRsFtyEexO1oOfFx8Vg==
Date: Thu, 19 Sep 2019 02:29:58 +0000
Message-ID: <8DFB0DDF-F335-4097-99B5-64B3665160EC@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.86]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ef3cd136-101d-45a9-2af5-08d73ca9440c
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-microsoft-antispam-prvs: <MN2PR11MB4448E54E6AAC0229598D4F1BAB890@MN2PR11MB4448.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 016572D96D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(366004)(346002)(376002)(136003)(199004)(189003)(53754006)(66946007)(76116006)(66476007)(66556008)(64756008)(4744005)(58126008)(5660300002)(316002)(478600001)(7736002)(81166006)(66446008)(8676002)(81156014)(8936002)(486006)(476003)(3480700005)(2351001)(71190400001)(71200400001)(2501003)(256004)(86362001)(33656002)(6486002)(6436002)(54896002)(6512007)(6306002)(5640700003)(6916009)(26005)(186003)(2616005)(6506007)(36756003)(102836004)(14454004)(99286004)(25786009)(6116002)(3846002)(790700001)(66066001)(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: ccaCypemJXZaeVrqfJWMRXyLFHO2a2874fNx493GPIsCFKvfIGyVjUUrlQY1OyQbds4NWNDkuxXZwjC5iZH7UBNxVCGIV+u6sRxbA2sxs/DVg2ybaT+cxwajzXrmtF79nNuEa+ey5mWrPW/ZNvb0HzmeG/jobTdNt2fPr6RPbC0D85hkWsREGK5yZUs5O8mysONi0at6y+TVLEYmkMeF7thEmeuxH9Dkp1JXEwFeaJ2U6qvMVq+rKRtwDyVPtTxewV8ndTPGEkhDVxOHV7oFuMHomYoSLVThWakoC1syzXpZrYAZU6uW3tUJJekJJbb4N1sPR0CCuX80C0eedlqY+7nI9mpk2Y5z91Mcg2riYdGLp4dAFn1z8nySZv0ZZw35vJGJ4c1Yzi6W63MLOXOtLQV0oDTz/9+PYHfj0i5VIP0=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_8DFB0DDFF335409799B564B3665160ECciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ef3cd136-101d-45a9-2af5-08d73ca9440c
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 02:29:58.3742 (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: lcx4IsqPuezH9I7zFkhLCTxPzE6maQCV5LOINe3iMX/gZGDaRby1kWyj77W7SRA+rl27P9LaEe3ww/OHq7rTCw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4448
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.22, xch-rcd-012.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/tEe9QpFAvzihuXeC1eNg_n52dbU>
Subject: [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 02:30:10 -0000

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.