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

"Joe Clarke (jclarke)" <jclarke@cisco.com> Fri, 20 September 2019 14:57 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 2D87D12022D for <netmod-ver-dt@ietfa.amsl.com>; Fri, 20 Sep 2019 07:57:48 -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=kHszuyQP; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=O/n3QOW8
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 sqNNB7n3T8S8 for <netmod-ver-dt@ietfa.amsl.com>; Fri, 20 Sep 2019 07:57:45 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C0311200F6 for <netmod-ver-dt@ietf.org>; Fri, 20 Sep 2019 07:57:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19735; q=dns/txt; s=iport; t=1568991465; x=1570201065; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=iTrMpWDLN/A6//hgqpm6fRC2ykNfP3IDpEKcqtzYk88=; b=kHszuyQPHyNeRK2O1NUV7ObYJFefjgTuaVxIP7E8Wzc6dcmI1CwzPNPf ZmR6+gqqW1bsbozXt1iby5V0r581jnmFwvuPhopueVrFl+IKNriC83Qgn iX1Mja4rl2tlGV2IJnxCfwD+vnkPfJR3l0Pq/AyCSWc/y3VdFWHCHMuQm Y=;
IronPort-PHdr: 9a23:2AhIZhPD1HxjAgunBBEl6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEu60/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBj5J/rjdS83NM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAAAe6IRd/4wNJK1lGgEBAQEBAgEBAQEHAgEBAQGBUwUBAQEBCwGBGy9QA21WIAQLFhQKhBiDRwOEUoYlgjclkxeEXYEuFIEQA1QJAQEBDAEBGAEKCgIBAYN6RQIXgnIjNAkOAgMJAQEEAQEBAgEFBG2FLQyFSgEBAQEDAQEQER0BASwLAQ8CAQgRAwECKAMCAgIlCxQJCAIEDgUigwABgR1NAx0BAgygdAKBOIhhc4Eygn0BAQWCSIJIGIIXAwaBNAGMCBiBQD+BOAwTgkw+gmEBAYEuARIBCTYNCYJVMoImjSQDgjOFKYkljmkKgiKVChuZJqNYg1kCBAIEBQIOAQEFgVI4Z3FwFTsqAYJBUBAUgU6DcoUUhT9zAYEoi1CBIgGBIgEB
X-IronPort-AV: E=Sophos;i="5.64,528,1559520000"; d="scan'208,217";a="634398087"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Sep 2019 14:57:43 +0000
Received: from XCH-RCD-007.cisco.com (xch-rcd-007.cisco.com [173.37.102.17]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id x8KEvhZr023331 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Fri, 20 Sep 2019 14:57:43 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-007.cisco.com (173.37.102.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Sep 2019 09:57:43 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 20 Sep 2019 09:57:42 -0500
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 20 Sep 2019 09:57:41 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mRs9XlbRedv4deyJim/RDHZK2JSLFCm4GTVRkiViZVkfedRkVKfNT5IjBHX2Ck4kxT8w3ByXG6UTCOo6k7EPDWp7qPWVo3YYZU6SSbcJXOBxNCRaC2PhmA3KQFiVLKm7Ou2MoTUdVPeMAKfhyqubTuVLYlZb0eofLIOOoy8cVrx858jtkKO7vYHOq4GR0l6GxxjpO3e1/Ndh97A5d3d//L0R3fbtzmwWrfnM9zI+ZcR4kiv45kycsTXLtnclSSqOAelz0kyvDjAaMKs890EFhs+0ZMMQGtf19z4Ln4OZEh9VKDWGg44YbyMg3AsbvpiRbpCNffspbMN77LcxcqGZpg==
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=iTrMpWDLN/A6//hgqpm6fRC2ykNfP3IDpEKcqtzYk88=; b=Fj2/opNVr5US7xPYZs9XYxxOlRujqh+IQjLGqLYKxb/tQtCJ/jAztPRrOtHx/IAMGxs+JD2xJ7Swv14eGqd7kRKfYU/dXvZT7if/Vk5Ngq1OUkyzTQqsl/Z2SFHV7N9LN0ZGXVcpzbgqzgzt6a8kcLeu3gBpxLPxhpPJCVBkEu7Fuk7/B5avoVr9rfKKEmP86/8zx7Cv7k+WmDj0CK1lalvODTOcV/OZemtjX7bigcOAZvf3S9/6w1yJyv/eO2yGoaBM2Q2JKs1yXYfUBxG+IjUTGiwuJTeox0ULy5evxQgq/h118AQPjS/fPcoXY8Y8aXb1v53g2F7DzzQIrulR6Q==
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=iTrMpWDLN/A6//hgqpm6fRC2ykNfP3IDpEKcqtzYk88=; b=O/n3QOW8D9jaUnkhbELQOnufDefHnyFDs5EQun4ofz8jqGYW9G34S8+BBGCNVJAdrTll7Qph5yR6WmUJg+m3V2pEs37g8+3F/eteysK2QY1IfPVqed8grjrXZnw5xiVsK5I/AVIwhaHF51fO6DBOQYXRes7pWvl1rQJVz4xgMMg=
Received: from DM6PR11MB3418.namprd11.prod.outlook.com (20.177.219.223) by DM6PR11MB3452.namprd11.prod.outlook.com (20.176.123.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.23; Fri, 20 Sep 2019 14:57:40 +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; Fri, 20 Sep 2019 14:57:40 +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///1XoCAAUwlgA==
Date: Fri, 20 Sep 2019 14:57:40 +0000
Message-ID: <D8653BF0-8AFF-401B-8945-12505F09828C@cisco.com>
References: <8DFB0DDF-F335-4097-99B5-64B3665160EC@cisco.com> <C409014E-7751-414F-A2BE-21192C2C6723@cisco.com> <B86B1673-5A4A-416C-8526-A9C3EEF8D814@cisco.com>
In-Reply-To: <B86B1673-5A4A-416C-8526-A9C3EEF8D814@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: [70.231.19.155]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 688c24fd-2eab-45cb-abeb-08d73ddae275
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR11MB3452;
x-ms-traffictypediagnostic: DM6PR11MB3452:
x-ms-exchange-purlcount: 2
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB34529D428E22786BA75B976DB8880@DM6PR11MB3452.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0166B75B74
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(366004)(136003)(396003)(346002)(53754006)(189003)(199004)(6636002)(446003)(11346002)(256004)(66066001)(2616005)(476003)(236005)(5660300002)(486006)(4326008)(6246003)(6862004)(6486002)(229853002)(25786009)(86362001)(6512007)(54896002)(6436002)(6306002)(6116002)(3846002)(36756003)(91956017)(53546011)(6506007)(76116006)(966005)(478600001)(76176011)(99286004)(316002)(8676002)(66476007)(66556008)(66446008)(37006003)(8936002)(64756008)(66946007)(81166006)(81156014)(606006)(7736002)(14454004)(186003)(26005)(2906002)(33656002)(71190400001)(71200400001)(102836004)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3452; 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: l6Tz2fr268oMjNLwz55n+AgWZwHdESf/SgQgYNcG4sgMbqraQrwsnuWOKeT38NYdXMbtuAyZuhkuZ86MoKdP9zpi13l0TLcv2GORq4qnHng0VobMONwltsuom4JhJgcmBsN2T07VL1lr0Qe5efcOVreZWafHr7OXCOZhFT7KeBGdU7N5Nv4efrnOf7apMimXmxvKsxNaCx4mgDs+lm0DrtW96q6n2We0uVWJ5ZLAmvCLKn6TyWATlVF0tbYJ4it3JWdwLS4yoZTt/W9erBCTekQniEYvA1tb7Q9KNNX8vm6EpzH6JMicdmo24utRpgpMZ4l3VGTiOcexHccdvgOOOAZhXwr588Ed6fcueLPEbf8QdLpPDG2lk275GMz9p/FGpyJs9tfCFTMfr8vP+Sa+TXyef5hlGUiH+FE9rHl9qJM=
Content-Type: multipart/alternative; boundary="_000_D8653BF08AFF401B894512505F09828Cciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 688c24fd-2eab-45cb-abeb-08d73ddae275
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2019 14:57:40.6244 (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: nlW8C6/SnZLqMOh94Gazm/8UzcEPH09F+2ctiBOPJ0Q2VlH+0/fqvGDe0S6uQQ/Q7BM0cOSduMHkecO199zYqA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3452
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.17, xch-rcd-007.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/oBEoTrHsjxtwAU9oAESX5XaBU9Y>
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: Fri, 20 Sep 2019 14:57:48 -0000


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.

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