Re: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)

Balázs Lengyel <balazs.lengyel@ericsson.com> Wed, 05 June 2019 13:35 UTC

Return-Path: <balazs.lengyel@ericsson.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 97CD312006E for <netmod-ver-dt@ietfa.amsl.com>; Wed, 5 Jun 2019 06:35:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.307
X-Spam-Level:
X-Spam-Status: No, score=-0.307 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 RIkZZeHVoLiY for <netmod-ver-dt@ietfa.amsl.com>; Wed, 5 Jun 2019 06:35:04 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00069.outbound.protection.outlook.com [40.107.0.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AB15120045 for <netmod-ver-dt@ietf.org>; Wed, 5 Jun 2019 06:35:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=801mdJ76tlCW4zIMpdmPTXVObD5fAhX8+YCHgnxjx8o=; b=f93Y2u7xsruUtcLitWD33crTVsvPpEN0D1zXD6+WQAxGKGCckIgLU6uwmN3aosIf0/DuC8nL/1pkd7ys7cHtaBprLysuIkwyUfTdMJn6iA2zah7utSkKspucStGMmwzPKNgWT9eVOkuKPQQWwDLn0hcE01r9Ul5CbXwVma3pmqQ=
Received: from AM0PR07MB4961.eurprd07.prod.outlook.com (20.178.19.92) by AM0PR07MB6162.eurprd07.prod.outlook.com (20.178.20.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Wed, 5 Jun 2019 13:35:00 +0000
Received: from AM0PR07MB4961.eurprd07.prod.outlook.com ([fe80::4020:8471:86cf:4086]) by AM0PR07MB4961.eurprd07.prod.outlook.com ([fe80::4020:8471:86cf:4086%7]) with mapi id 15.20.1965.011; Wed, 5 Jun 2019 13:35:00 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)
Thread-Index: AQHVGsbotq6WEJ6FY0GsndTfBBff76aLx3oAgAD5GACAAE2QgIAAAz6A
Date: Wed, 05 Jun 2019 13:35:00 +0000
Message-ID: <d46fd430-99e4-f100-6c62-42990518042e@ericsson.com>
References: <netmod-wg/yang-ver-dt/issues/2@github.com> <netmod-wg/yang-ver-dt/issues/2/498628782@github.com> <VI1PR07MB3981384DCEC43089F2E694D89B150@VI1PR07MB3981.eurprd07.prod.outlook.com> <BYAPR11MB2631509189C7F34A8E425143B5160@BYAPR11MB2631.namprd11.prod.outlook.com> <VI1PR07MB3981B6DB26CABC07D325C8A49B160@VI1PR07MB3981.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB3981B6DB26CABC07D325C8A49B160@VI1PR07MB3981.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [89.135.192.225]
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
x-clientproxiedby: AM6PR08CA0018.eurprd08.prod.outlook.com (2603:10a6:20b:b2::30) To AM0PR07MB4961.eurprd07.prod.outlook.com (2603:10a6:208:f4::28)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e5a714bf-4d5e-4175-f4a0-08d6e9ba9b73
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(49563074)(7193020); SRVR:AM0PR07MB6162;
x-ms-traffictypediagnostic: AM0PR07MB6162:
x-microsoft-antispam-prvs: <AM0PR07MB61620C22974D4108B45F5E45F0160@AM0PR07MB6162.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 00594E8DBA
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(376002)(39860400002)(346002)(396003)(199004)(189003)(14444005)(486006)(229853002)(65826007)(86362001)(2616005)(11346002)(476003)(446003)(52116002)(6506007)(386003)(73956011)(733005)(71200400001)(66616009)(6486002)(6916009)(2906002)(66476007)(31696002)(53936002)(54896002)(6306002)(6512007)(7736002)(5640700003)(66946007)(66446008)(66066001)(256004)(65806001)(66556008)(6436002)(65956001)(26005)(76176011)(81166006)(186003)(81156014)(53546011)(236005)(102836004)(8676002)(64756008)(85202003)(3846002)(606006)(316002)(8936002)(99286004)(71190400001)(6116002)(2351001)(76236002)(31686004)(14454004)(58126008)(2501003)(85182001)(99936001)(68736007)(64126003)(36756003)(6246003)(790700001)(5660300002)(478600001)(25786009)(18926415008)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR07MB6162; H:AM0PR07MB4961.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: gQTRCAzm3u/bC+OAgD142INlC3DFEThbqJTYNfQuzlE+f5hJbwJh0HALXYi5f3+R2MmFDmJEZUpSqcsxVVEbE9wLOiuCkbO6HhDIZDSSPV4vFwL5+cayOexVU3g/Xl1Y1cg/T/p8iu9lqueBjIX7vm/LFOHCfgkdm+Y3n3JHj+Mnz/Ee8VxlFxtqQVP/fqagIFSpImym7S5c4c9WViUqIs6IEoEzKENv6NI7QiqgzaNrSY/PsqkP/0l3wLNQn8uAVy0qsYVgO8RVzXqgV4lh+ts6cykHarkH3q5vImhx9QNKIZ65JpbmmrfqxwOzCXgq1o6pkh1KGeXUnf3kPyUnYmkKPfmAlJWXLTuZO4kgSfdSZFSBqKJbANvlgbYNUr3cX9HDBSiXI9CuCvrm6S8HXQy8/r0Nb3WaLxKIkCl0i2Y=
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms050102050206060109090209"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e5a714bf-4d5e-4175-f4a0-08d6e9ba9b73
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 13:35:00.3628 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: balazs.lengyel@ericsson.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB6162
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/YBixUBPHn99mbnYuX0Y9Awu1mjQ>
Subject: Re: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)
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: Wed, 05 Jun 2019 13:35:06 -0000

Mandatory and status are orthogonal in rfc7950. They do not effect each other. If the schema node is supported, it is mandatory to use.

I agree that the specification of obsolete is bad in current YANG. I wanted to correct it for a long time, but some people claimed that if it was OK for SNMP it is OK for us too; which is a good argument if you are discussing preservation of national monuments, but otherwise it is ...

regards Balazs

On 2019. 06. 05. 15:23, Sterne, Jason (Nokia - CA/Ottawa) wrote:

I would have thought that "status obsolete" would trump "mandatory".

 

It seems a bit odd to provide support for a node marked obsolete. Do we think there are servers out there today that support them?

 

From: Rob Wilton (rwilton) <rwilton@cisco.com>
Sent: Wednesday, June 5, 2019 4:46 AM
To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>; netmod-ver-dt@ietf.org
Subject: RE: [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)

 

Yes.  At the moment, a server is allowed to implement obsolete nodes that can break a client.

 

E.g. if an obsolete config node is mandatory, and it is implemented then the client must provide it, and if it is not implemented then the client must not provide it, and there is no way for a client to determine from the server whether it is implemented.

 

Thanks,

Rob

 

 

From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Sterne, Jason (Nokia - CA/Ottawa)
Sent: 04 June 2019 18:54
To: netmod-ver-dt@ietf.org
Subject: Re: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)

 

I know we wanted a flag for deprecated nodes.  But was there ever confusion about obsolete nodes?

 

From: Robert Wilton <notifications@github.com>
Sent: Tuesday, June 4, 2019 7:16 AM
To: netmod-wg/yang-ver-dt <yang-ver-dt@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [netmod-wg/yang-ver-dt] Status obsolete nodes (#2)

 

The YANG library changes indicate whether status obsolete nodes are implemented by the server., which I think is as much as we can do in this draft.

Otherwise, this issue can be deferred to YANG.Next. https://github.com/netmod-wg/yang-next/issues/63" rel="nofollow">netmod-wg/yang-next#63


You are receiving this because you are subscribed to this thread.
Reply to this email directly, https://github.com/netmod-wg/yang-ver-dt/issues/2?email_source=notifications&email_token=AETQE732PFQVVSM5ARRJM5TPYZFHTA5CNFSM4G2RIFNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4HRLQ#issuecomment-498628782" rel="nofollow"> view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AETQE7ZX7V35SIKFWU7R3NDPYZFHTANCNFSM4G2RIFNA" rel="nofollow"> mute the thread.https://github.com/notifications/beacon/AETQE7ZFPMHK2P2DTXPQMHLPYZFHTA5CNFSM4G2RIFNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4HRLQ.gif" width="1" height="1" border="0">


_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org
https://www.ietf.org/mailman/listinfo/netmod-ver-dt" rel="nofollow">https://www.ietf.org/mailman/listinfo/netmod-ver-dt
-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com