Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

Balázs Lengyel <balazs.lengyel@ericsson.com> Tue, 03 December 2019 12:53 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA72212002E for <netmod@ietfa.amsl.com>; Tue, 3 Dec 2019 04:53:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham 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 NxfvgOW4vL-M for <netmod@ietfa.amsl.com>; Tue, 3 Dec 2019 04:53:01 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40076.outbound.protection.outlook.com [40.107.4.76]) (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 E255012004F for <netmod@ietf.org>; Tue, 3 Dec 2019 04:53:00 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CLVzZTKJAoUWkNfC6z9lSXIVqszVPjqL0LVCrM58qiVpVo1EGta3W7NxuSe3b7FcRwIUC/AFSiQ7q5GRqgY2Qn5C3gi6IFsDsJaqk082UqoP66G4/2ogRYvUE+JYUCa0jMeEQ6ygUAzjS4IugplxAM9T5FlXL2EoxaelWeFKsUSJQyY07zFNHUj9JU8lwdRVqxNWi35CXPAZ6WcgjvOcCwZG3iGMV7Tacn4tT03Ac7Bb75QRiJYAbHSjzUYIKfUH+g1Y7hk+DRbm9SKmhfxbh+tEIPKTdcEL8Ui5V0L7qfIYxoaWCK89e7a4T553jgVNWDGdNLpl5uU9JEJbmtjsKg==
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=vmULoKORrTLQvdMaGdCG1+6h235iyhJbJje+DO22qpk=; b=InYpEvOWsdjDjA/kRJHPV/GpOXuGszT77/mjOLRNDlr9MYQN6p9DFcUA2cdGDUElYcDpMOFrehDPwO+U0jvoRlxmvmElybUErVmg7SKHx2p1il0Ph1vX4+u+WgEoViXZ7ajM09RPE3SBwSwrE+HiTZUuPOvZvL26MLVHae+kE8Z4fiuDVOohwK+uTM1qwxuv3ak7HkzsavjUuQO71iGT/D5GRltRymWuAhOmf4izLrsWVyTfksSVjvklf7UwmNinXYNWTnR8o0TK38NnCZ8VbiFJRkiwvaOtzQGFfxECUOiHeNLbhoLWT2eTfrzilw5OTDGNWMZmevQaAmdzulk+sw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmULoKORrTLQvdMaGdCG1+6h235iyhJbJje+DO22qpk=; b=VtMX2zHvEt2irK29ZMw9i92mpSGVnup1FRsvbSdrlCn9wu8m/QDGtFn5y+ubylvzSg7aygdVNWRAp7gHZcRNcBZLoaStiXslgm/Pm0bqqUNOPkxeukxtDBxHalRLKfU7Au+OqbgM2WbqblfgUSy27IupTsuTqtRcO0k8fUIPFQM=
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com (52.133.47.21) by AM0PR0702MB3780.eurprd07.prod.outlook.com (52.133.47.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.8; Tue, 3 Dec 2019 12:52:58 +0000
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c]) by AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c%7]) with mapi id 15.20.2516.003; Tue, 3 Dec 2019 12:52:58 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Martin Bjorklund <mbj@tail-f.com>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
Thread-Index: AQHVf2MbQga78mSle0Opwa3noseNw6dUAaKAgCraSXCAABVPAIAAmZgAgAB+mwCAD5t58IAALJ0AgAAPa2CAAFlAgIAARlXwgAFd8ICAFs/WYA==
Date: Tue, 3 Dec 2019 12:52:58 +0000
Message-ID: <AM0PR0702MB3665D3C25B60FE73D525DCE3F0420@AM0PR0702MB3665.eurprd07.prod.outlook.com>
References: <CABCOCHShFd41gcGLTSjJQMWCA4Ak_QX2iHpng_6DBqLRf23vqw@mail.gmail.com> <AM7PR07MB62148A605167BD4D046A2E3DF0790@AM7PR07MB6214.eurprd07.prod.outlook.com> <CABCOCHT0G+4zT2ApvRA1rgO3j4BR0gEbeiP4XDWV0nq4rxjxGQ@mail.gmail.com> <20191107.092440.1454377708605915338.mbj@tail-f.com> <CABCOCHSmknTvCXK4e+3Oz2JRR6SNi7zQgj9L3=fxgK2KEBmTOg@mail.gmail.com> <AM7PR07MB62148270F4ABAC0B19050A0EF0720@AM7PR07MB6214.eurprd07.prod.outlook.com> <CABCOCHS_BKp3JxucfhWqYPdOP-+5=uOFBymWW5OvDAvgF+3tug@mail.gmail.com> <AM7PR07MB6214BF5FAE135FE35DD2FF81F0720@AM7PR07MB6214.eurprd07.prod.outlook.com> <CABCOCHTToR1wtKg2XRuNTbLL0e=jzqMKR31dR+ue+8OqzmSURg@mail.gmail.com> <AM7PR07MB6214C001B4806F0D6EEB43A0F04D0@AM7PR07MB6214.eurprd07.prod.outlook.com> <CABCOCHQthfwYtB=N=G1+70ve2V1NhFV-oHXSpUxQaXMijEsmGw@mail.gmail.com>
In-Reply-To: <CABCOCHQthfwYtB=N=G1+70ve2V1NhFV-oHXSpUxQaXMijEsmGw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fdd6d41a-7dd3-4ae1-f516-08d777efb931
x-ms-traffictypediagnostic: AM0PR0702MB3780:
x-microsoft-antispam-prvs: <AM0PR0702MB378097BD4ED76C5926839822F0420@AM0PR0702MB3780.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 02408926C4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(366004)(376002)(346002)(199004)(189003)(5660300002)(33656002)(256004)(81156014)(81166006)(2906002)(86362001)(8676002)(229853002)(7736002)(606006)(8936002)(85202003)(316002)(236005)(966005)(6436002)(71190400001)(71200400001)(6916009)(14454004)(9686003)(6306002)(54896002)(55016002)(102836004)(478600001)(446003)(11346002)(66476007)(66616009)(66946007)(64756008)(52536014)(66556008)(76116006)(54906003)(85182001)(53546011)(66574012)(6506007)(4326008)(790700001)(25786009)(3846002)(76176011)(6116002)(74316002)(6246003)(7696005)(186003)(66446008)(26005)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0702MB3780; H:AM0PR0702MB3665.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: BCL:0;
x-microsoft-antispam-message-info: h78AEaRzesW22JISrO20GKpkzY+XxuA5tZEKi/q5JE8+0NkMLjmymgKYxaqOSFnjJ1PW/D/O9sWlogCd2ccecHqiZaIzs92HoLEzS+QW61lEWGvl57WVVjP8jT1C198QeVaNvCi3qbUtVYDwbmRDvnR/MxG2QhPmwLZjOt3C0aovn33ryY7BHMh1AmpKs/q+jT2EIqXTbrHT9xRmH6y3zHTI5I6AardXh1TsENsckPgSn80TrPW/y4hgnoVeczVehNeNaU3SploGbeIclOqcclxbZfstqi39QonoSFSR9g0YGOHkRFIeTmDQsZzHPS3lHi835/zLukKR25RgA3Otp6eSfWK1PNqQ+aZTYQv3jVCbrixVqwBSm4wBTBA6bxdlGXCTT67auCL1bpnaTCZg1ZbyIx97pZXODa/ghVdn6Wf245Y+3SSAWr7kfHmblSHYoeAwqgTqDtURJOXPNoktEKk3tbjolp9abUICYvdHm3A=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_00BF_01D5A9E0.F7738850"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fdd6d41a-7dd3-4ae1-f516-08d777efb931
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Dec 2019 12:52:58.3403 (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: z47N6ds6Ru9+y2X2XLTLOKA6Wkx1R1oCLbUbA6deGB5klavYMm6mPxOSu8qICrdGJA/2pPBtE8OcGCKQuXdS1O38VaFszYKqN1zjR3Y3XFw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3780
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/qJE-wa5sVPrLud2u7PTudG_Mmqw>
Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Dec 2019 12:53:04 -0000

See below: BALAZS5.

 

From: Andy Bierman <andy@yumaworks.com> 
Sent: 2019. november 19., kedd 1:17
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: Martin Bjorklund <mbj@tail-f.com>om>; NetMod WG <netmod@ietf.org>
Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

the following text (or similar) should be added to the description-stmt above

    This node SHOULD contain a single container instance which represents either the /yang-library 

     or /modules-state subtree.

This allows for exceptions but still provides interoperability instructions.

Andy

BALAZS4: Others (e.g., Juergen) explicitly asked for not restricting this to ietf-yang-library. 

I would be happy with your proposals, but the group decided otherwise sometime back.

 

 

 

A tool has to be coded to understand the contents of the anydata node.

Just parsing it is not enough.  

 

Is there an email thread this is discussed and resolved?

The term SHOULD allows the rule to be broken with a good reason. 

What other data structures are needed now (or soon) other than /modules-state or /yang-library?

I do not see how this file is interoperable if the reader does not know what to expect.

Flexibility without interoperability is not success.

 

BALAZS5:  Look at the last paragraph in the email: https://mailarchive.ietf.org/arch/msg/netmod/h-gT2jg5Z5aREXTD-E7Yx6oi7PE

 

Also I foresee there might be (there will be)  YANG modules that augment yang-library  with information needed here. 

I am thinking about yang-versioning that plans to add the version-label, which will help determining which versions of the of the YANG module are compatible with the originally used schema defining modules.

 

I do not see how augment is relevant to this interoperability issue.

 

Andy

 

BALAZS5: The use case in mind is that  <https://tools.ietf.org/html/draft-verdt-netmod-yang-module-versioning-01#section-5.2> https://tools.ietf.org/html/draft-verdt-netmod-yang-module-versioning-01#section-5.2 augments the revision-label into YANG-library. Revision-label can be used by the operator to understand which version of the YANG Module (YAM) we are using, and what other versions are compatible with it. This compatibility information that can be used by the operator to determine if a server with a slightly updated module set can use the instance data set.