Re: [netmod] instance file parsing - what is the target YANG module set

Balázs Lengyel <balazs.lengyel@ericsson.com> Sat, 01 December 2018 09:28 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 EF532129C6B for <netmod@ietfa.amsl.com>; Sat, 1 Dec 2018 01:28:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.058
X-Spam-Level:
X-Spam-Status: No, score=-4.058 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, 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_MED=-2.3, 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 header.b=MvLl8IEy; dkim=pass (1024-bit key) header.d=ericsson.com header.b=adhgJISm
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 w4QS0SxxeSKF for <netmod@ietfa.amsl.com>; Sat, 1 Dec 2018 01:28:50 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 9C7C612426E for <netmod@ietf.org>; Sat, 1 Dec 2018 01:28:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1543656527; x=1546248527; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FKbwovdU6uMLK2YBfJgh1v0rW6ARngrEd9u8t898qpY=; b=MvLl8IEyy4fmxNECh0oQ9TkJFr8fWQJ5Gstc6Ee98PLksGJAuTQaoOxfbU9BMSMv EesQpWMn7armnIgpBfwQXoMMG98m+N0+DYX6160iLG36I/lmiqep8uYLe39QQ9iz BfKj0DNlXJCI4PSSZ40rjpD4vUKeUQDyMNcozn2y3Ug=;
X-AuditID: c1b4fb2d-f61ff70000007af1-da-5c02544fb0c4
Received: from ESESBMB505.ericsson.se (Unknown_Domain [153.88.183.118]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id FD.05.31473.F44520C5; Sat, 1 Dec 2018 10:28:47 +0100 (CET)
Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sat, 1 Dec 2018 10:28:47 +0100
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Sat, 1 Dec 2018 10:28:47 +0100
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=Mid9V679FzFsgeRnwkPAdxnSjXh7qLtk6jhHb4sn4Rk=; b=adhgJISmIASBS624MpIcwJeOXICpnuwRdSDHqiNAp193qYJWWnoMtutv0RqaTMM1bBZFzrjpIjmY5sIk5Dj7DNHckAc+xBgTxHhld+/vczXNVrjyBNC/vBXJxcwugw7v+PMEU3rF15zHiubAkcFFNp+PWjhocrxLYDCmHpQUBQA=
Received: from DB7PR07MB4935.eurprd07.prod.outlook.com (20.177.192.212) by DB7PR07MB5468.eurprd07.prod.outlook.com (20.178.47.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.7; Sat, 1 Dec 2018 09:28:46 +0000
Received: from DB7PR07MB4935.eurprd07.prod.outlook.com ([fe80::c8ee:97bb:db28:7003]) by DB7PR07MB4935.eurprd07.prod.outlook.com ([fe80::c8ee:97bb:db28:7003%2]) with mapi id 15.20.1404.011; Sat, 1 Dec 2018 09:28:46 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] instance file parsing - what is the target YANG module set
Thread-Index: AQHUiVhC4+mtJwiKYka2yEI30+GqwA==
Date: Sat, 1 Dec 2018 09:28:46 +0000
Message-ID: <ab86044a-75ef-8081-5b74-3b7ff5a5c667@ericsson.com>
References: <CABCOCHQYR_iY7Lp=0m8D-GQ8+Rzuijaa8_41bJw6ZvWPc+Cw_w@mail.gmail.com>
In-Reply-To: <CABCOCHQYR_iY7Lp=0m8D-GQ8+Rzuijaa8_41bJw6ZvWPc+Cw_w@mail.gmail.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.3.1
x-clientproxiedby: HE1PR05CA0182.eurprd05.prod.outlook.com (2603:10a6:3:f8::30) To DB7PR07MB4935.eurprd07.prod.outlook.com (2603:10a6:10:5b::20)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB7PR07MB5468; 6:OeUOBIveyCVaiOaWOTA/PxnpksPI1KoS/P4BxXo3cOhD0BHAZO8vrXikyxUvrrdshLgZLtIxCjRRNgOTCXrDRHeY+s4OBgOQYYwNVu6UHHY/3D68nnuQjugLZX9ZFSNmK0Sm/QfMEuZH6JlPuX3323AhfS7K2yqGQKJBAxj2V1cjFsejotGj6t80ktCpNs0EyBF9jeenGcGW48QlGKLdZGZPFZKXzdqoV6hPRGqRJ6pay2+uTLe7LHngtlPuW94wKvftyjhBbufbwoX8iNTRWc7LuWLhZKPGakz83umLfS1RVDtqGJh0ju114l4R8EnXAyMUWnC7HRp16TE1kL9BAVo3JEozTfcBLsAMiwY8wwnFSNPe60GIpu1ZLCv7bBYAQWBc0JpF34Ah2yRevnjPo6/bfqarCn/JCZCHVPSYm//pIl8JN09kNJNVWq/Poc7NHTaZ4yKUDLRa1I4hzuCZFw==; 5:ysiu/N4h/aLQGalXoOeFr5t4BuDlp6C3yYmOnxxtitRcq6JOtIgnzcEloKYw/nafEXV6+/0oRy9NCFJHLhljsQKY7wTAPsdMvJiBfXFWJY5D5U1xPJUSThs6qmnCzfavff4D5T2e1NLfVJU6T2HXXwTArUe/bjMooNgXEjXD+Zg=; 7:luimDRU0yUBdh1S/AlwWI7dgBt5wF1/x4tSWKQleHmpL6MUJ9pZhWRU60OaOUzoaDLWSxMYDdx2UEG59fV6UYOhyLF6xtGopTVkRFXA/t6REhe9CYT1RKHirbIEwv5R+nUkG4ZRxkgdC/rGyYy4tcA==
x-ms-office365-filtering-correlation-id: 75bcc524-a330-4c98-0055-08d6576f6422
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:DB7PR07MB5468;
x-ms-traffictypediagnostic: DB7PR07MB5468:
x-microsoft-antispam-prvs: <DB7PR07MB54682C7CF3C95A0F3323D3ADF0AC0@DB7PR07MB5468.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(5005006)(8121501046)(3231454)(999002)(944501475)(4983020)(52105112)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:DB7PR07MB5468; BCL:0; PCL:0; RULEID:; SRVR:DB7PR07MB5468;
x-forefront-prvs: 087396016C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(39860400002)(346002)(396003)(136003)(252514010)(189003)(199004)(105586002)(6246003)(53936002)(256004)(14454004)(99936001)(31686004)(316002)(36756003)(58126008)(6306002)(54896002)(6512007)(68736007)(110136005)(236005)(6436002)(8676002)(64126003)(6116002)(3846002)(5660300001)(65826007)(7736002)(8936002)(81166006)(97736004)(81156014)(25786009)(85202003)(85182001)(106356001)(478600001)(2906002)(6486002)(966005)(229853002)(99286004)(26005)(186003)(31696002)(2616005)(386003)(6506007)(486006)(102836004)(76176011)(476003)(11346002)(66066001)(71190400001)(65806001)(86362001)(446003)(71200400001)(65956001)(606006)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB5468; H:DB7PR07MB4935.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 1+N02uyPveK/DckII76hU1Df74Uh+bVDu36ZuhGT/4vNvABay7HCQRn+yuB0QSLuYGFrGSV2OOhNKGBgpfIISA0wLKHlwewHigY0wV9pkLDHj6sjZl8wuadDOG2Mmx/I+044pi5boo8MFO3kpgpjak3CB2CogcvLR4MlNNz/LzDjyqxvKvS4uRBBNCoC00Ir9OSspKMkS8KgkIDHWVunHsz7yeJfF5OVev4jZuLeVicXDDWx/nPCQwwDV73/mIXyTjacrHtZlrswNN6V296CgSYtX2dhPeAIReTtGBf3ywFt4sv7JUbcg6NiWKpC4UlWllCuPKhu0ak1nxKuVG/41g/weBOfJuetPS3gSzVUV6Y=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms040000010805030905050505"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 75bcc524-a330-4c98-0055-08d6576f6422
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2018 09:28:46.5009 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5468
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA2XSe0hTYRQA8L67u+vdcPG1fBwUi6ZIWM5MK63whVAEomaBhT1mXtTUKbsm WUZahq9ZFpq6AtPUYsuUktIwQ1FCI3BKGiLmcgY+UlOzh6Vt+xYE/fc75/vOOd+5XFYgfS90 YhOV6ZxKqUiWMWK6Mvp5hmf4ESpmR+OIl99Yl8bGr0qfIwyiDtbW/qAO5t7Q0xHUcfH+OC45 MYNTeQWcFifM/moUpg0eON+qqxRmI3VQIRKxgH1hrU0nKERiVoq7EDS1qoUk+IpgcnGAIsF9 ChY6blkCGpcIYEJbx5CTmxSMt2qE5mZSbEDQX2BrNoNDIW/2FWW2HQ6Bms9lpiEsuxEfhivD e0g6Cu7WvbNekcP3EQ1jNo3dYHnmJW22BAeCptnAkPYRMNIyhcwW4Ujoncm31CLsAN96H1ks wI4wbKyiyG52YNC/YYjtYXJ8VUgsg4qpYYvt8Qkor1Uj8y6AS037Ny/QpOlJaBvNtxZvh7dD RkTsAv1VRdaCQQbu1KxR5sUAh8H11wzJDyPQq59Zp3lAw8RXAXESGHO6rPlNoC020CVoh+af hxMXIOiu9tBYPsAG6Kk00hrTCAF2h/prsv+vb4P66mkB8T6o+NnBEG+B0iKDDfEumO7+goh9 oP7xb+YeEmuRPc/xfEr8Th85p0o8w/OpSrmSS3+CTP9YR/OKZwvSTQd3Iswima0kNJSKkQoV GXxmSidyM/X52KTrQ060MlXJyewkXSsoRiqJU2Re4FSpp1Tnkjm+EzmztMxRIte2HZfieEU6 l8RxaZzq7ynFipyy0frF6I2uWfR88a3ghLaO5NGxUW8R1+6wPtbVv9/vcnuuXPyh59KAXuyp dqjWBbgg7cPyqN1Py5yKtxxdsp3Ge/vWhYeUz0XkP3AObJCIIuyW40Zj13wCDyUsJdaG3J7v 3bq9/QWS+8YNGbPywhcij/mfdby6ee5i8Gr8p6Aw+TZ3Gc0nKLw9BCpe8Qe1MSpDawMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vYiVcxBpTxCExr3HeoYtgW3cKf4>
Subject: Re: [netmod] instance file parsing - what is the target YANG module set
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: Sat, 01 Dec 2018 09:28:52 -0000

Hello Andy,

Give me a few days and I will come out with -01 version of the draft that addresses this issue. We propose 3 options:

  • Include the needed information as part of instance data as defined by ietf-yang-library, that documents module name, revision, supported features, deviations
  • Include a URI that points to the same information (if you don't want to repeat the info again and again)
  • Include nothing as the target YANG module set may already be known, or the information is available through external documents.

I also see a major reason for this draft: once it is agreed we can use instance data to document other standard things, like server capabilities.

regards Balazs

On 2018. 11. 30. 18:48, Andy Bierman wrote:
Hi,

I don't see much standards value in this draft so far.
It seems the parser of the file needs to know the YANG library information
for the instance file data in some out-of-scope non-standard manner.
This is what we already have today just by naming the file in a specific way.

Is the intent that the instance-data-set leafs will be used to determine
the module revisions, features, and deviations used in the children
or the 'data' node?

Andy



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