Re: [netmod] YANG library structure

Kent Watsen <kwatsen@juniper.net> Fri, 08 December 2017 17:21 UTC

Return-Path: <kwatsen@juniper.net>
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 21BCE120713; Fri, 8 Dec 2017 09:21:53 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 1W_9LmtBIF8g; Fri, 8 Dec 2017 09:21:50 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 0AA3C1201FA; Fri, 8 Dec 2017 09:21:49 -0800 (PST)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vB8HJjca017679; Fri, 8 Dec 2017 09:21:48 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=gP5lWcV9oGpRMdljWOXJZHcK5p5R3p9d1F70aBTuF8k=; b=S/GjiDoTPtGT7hRQw3rmfT+h1RTw/UuIMHvQhsVqR00uXw3tdx6adJQ+4N3yORpoZJs9 iqXQjDwwznMNigO6DnjTmstmmY1Pl6Jzwx3NUK3yxLK58jeEYDepefuZ3mvJEm9fO2T/ rjoZjUkiKP05QxAXYSCeCZqZ9jI857fj4n1W1PjJZc2pqkM6aJLYwUN40y8hbuBabvKb DRHKPA/uJ+xZ5wqNhHlNznLIoNYFzF99tlS9Lh+CmxsFSy0VVU/0D+peWcqQpJ/WEfxJ u5Al3xYsVgdX36KXVSdXGSnbgzYdg5OZNdevFxNYnkkiybk+HH9bagIaV3oCXHU7SCPY 3Q==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp0023.outbound.protection.outlook.com [216.32.180.23]) by mx0b-00273201.pphosted.com with ESMTP id 2eqvs0ge9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2017 09:21:47 -0800
Received: from BLUPR05MB275.namprd05.prod.outlook.com (10.141.22.149) by BLUPR05MB273.namprd05.prod.outlook.com (10.141.22.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.4; Fri, 8 Dec 2017 17:21:45 +0000
Received: from BLUPR05MB275.namprd05.prod.outlook.com ([10.141.22.149]) by BLUPR05MB275.namprd05.prod.outlook.com ([10.141.22.149]) with mapi id 15.20.0323.004; Fri, 8 Dec 2017 17:21:45 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Vladimir Vassilev <vladimir@transpacket.com>, Martin Bjorklund <mbj@tail-f.com>, "j.schoenwaelder@jacobs-university.de" <j.schoenwaelder@jacobs-university.de>
CC: "netconf@ietf.org" <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] YANG library structure
Thread-Index: AQHTcAmh7On8if5A/Ee2i3mIHQ1NsKM5SlSAgAABMACAAA7wAIAAAbAAgAAf1oCAAAwRAP//1hqA
Date: Fri, 08 Dec 2017 17:21:45 +0000
Message-ID: <43C2E52C-08E1-4100-B948-F40B43038D97@juniper.net>
References: <20171208111504.iwpcck3hkbboryeo@elstar.local> <acd4d422-c260-3f70-c09f-18946a642c02@labn.net> <20171208121434.2vfbrc5pdbwnx3ig@elstar.local> <20171208.150831.2068512524982133442.mbj@tail-f.com> <dea8ae16-45a6-8cf5-f1b3-59649fe5aae4@transpacket.com>
In-Reply-To: <dea8ae16-45a6-8cf5-f1b3-59649fe5aae4@transpacket.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BLUPR05MB273; 6:ODePrTeuGFIRjlYT1bpcDU5CxvoZGCtLRIJo9iheafGpTeIhwwiabfQulf7qvVRvowwhl977Yv346JsuuPKLbcMt32GDgVUEY2QVKQCic6SIlKKbUx5txUg/UygAhac9k5lTsaxvxtAIdRwVsqNk7nDsyMcPg5PaaB/syTb4zpmZDkxXk3wP5EjOtD2FZW6UIIVKDCNXyar14gTRZFqWZZu3Li86o17j1743IpPaFPiCM0x6ms9oJ740JlVaNMZo8H7pxnlmMnLAkIi3IF10KDcxax3J/cQKVPJfNIlt7Op+6xGcfdBlAKbjy911vmNwnEVv12XfEk3zeVSCRIerb0NDuLJnaOT52KzquPwbiFE=; 5:26sHjufYtpbfMJ/fu6t+9vZubHEkfSb/+2Iz3UWXmZPXte06mF3Ue2/wg26uk5nw15kCdZZjQ+Wips4kDSD1NO8RG8oGf5ECN2FxTBIVo5a8BPZ3BJrp/TwMDXZIHmVk6LLD3czHhf8r0aQJBcb/dS/DDDoY7Qe6mGZaKskyTns=; 24:eYVuGJIfekTurGKxZDRpGBxfpEia6ATXPL7/Ests9U2ifEfV4lVQnM1X3sV4yYidBY+cPuMKsqMLDkuSsh+a4rRm7ra12wNAnuq5GX/sfbY=; 7:oRTmycoihax0+rNPTbFEP1EFefZiiwdINDHJ+qTAwsUscmE/luC1p8e17/Dg3gBFZaym6gh+pLhOjJu+3rdu+1IzuiOxfZX8yy+3Ra8d4LKWIF38Gvzslm65HFbhSJ+VW92Y8R2MoIyLxWvYj98bD2AacpRyeyZZdRR3r/Ob7edzmGCVz6RQQePhhszE5zYt0ONCRb5cz3GTjXnkcaWzzD9S5+WAc3b2052QX9H8WxdwAHDA7+ZHOeDDynNO9bSY
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: f63016e5-6f1c-4af4-a95e-08d53e60286e
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307); SRVR:BLUPR05MB273;
x-ms-traffictypediagnostic: BLUPR05MB273:
x-microsoft-antispam-prvs: <BLUPR05MB273864643A58B81C5A6F39BA5300@BLUPR05MB273.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231022)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148)(201708071742011); SRVR:BLUPR05MB273; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BLUPR05MB273;
x-forefront-prvs: 0515208626
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(366004)(346002)(376002)(24454002)(189003)(199004)(97736004)(53936002)(53546010)(7736002)(82746002)(6116002)(4326008)(3846002)(25786009)(102836003)(6246003)(66066001)(316002)(110136005)(58126008)(93886005)(54906003)(561944003)(33656002)(3280700002)(106356001)(3660700001)(105586002)(2950100002)(68736007)(81166006)(8936002)(575784001)(8676002)(81156014)(305945005)(229853002)(83716003)(2906002)(83506002)(6512007)(36756003)(2900100001)(5660300001)(6506006)(86362001)(6436002)(77096006)(2501003)(99286004)(76176011)(6306002)(14454004)(478600001)(966005)(6486002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR05MB273; H:BLUPR05MB275.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <35DC6E912A6E924B97C8C414DE72DE9E@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: f63016e5-6f1c-4af4-a95e-08d53e60286e
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2017 17:21:45.8291 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB273
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-12-08_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712080238
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/MaxMKSzhQ2oo5GdgwaEVL_DWNbQ>
Subject: Re: [netmod] YANG library structure
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 08 Dec 2017 17:21:53 -0000

CC-ing NETCONF, where the draft is being worked on.

Kent


On 12/08/2017 03:08 PM, Martin Bjorklund wrote:

> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
>> On Fri, Dec 08, 2017 at 07:08:32AM -0500, Lou Berger wrote:
>>> On 12/08/2017 06:15 AM, Juergen Schoenwaelder wrote:
>>>>   
>>>>> In talking to some others on this topic, they suggested using a library per
>>>>> datastore. I haven't look into this enough to know if that is a good or bad
>>>>> idea, but it seems functionally equivalent to your first option but realized
>>>>> in a different way. Just something to add to the mix.
>>>> If people want to put additional options on the table, they should
>>>> work out the details and write down a tree diagram and send the result
>>>> to the list.
>>> I guess we have a different philosophical approach here.  I'd prefer to
>>> hear about fresh ideas, even if half baked or asked as a "stupid
>>> question". Sometimes, if not dismissed out of hand, these lead to
>>> something that is a better result than others that have been immersed in
>>> the issue have thought of.
>>>
>> The devil is usally in the details and 'using a library per datastore'
>> is for my taste a bit too little to understand what is actually being
>> proposed. I am not dismissing proposals, but I like to be able to
>> understand what is being proposed. And for that I need a proposal that
>> is a bit more than 'using a library per datastore'.
> I agree.  In this case, I can't understand how it would work at all.
> The library is config false, so a client can never get it via
> get-config from <running>.  Maybe the proposal is a new operation
> <get-yang-library> with the datastore as a parameter?  Or maybe the
> idea is to somehow return meta data together with <get-config>?  I can
> guess, and dismiss the proposal based on my guesses ;-)  Or someone
> can write up a concrete proposal.
I just posted a followup on a relevant proposal in a thread "[netmod] 
[Netconf] Alternative YANG library structure for 7895bis".

Vladimir
>
> /martin
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=EP64GIX5XS2zO8K1G7A6vXmTlcHV0WBZZw5r5GaBQZU&s=wJW1_1lfeGR1F0ZUiZmfmaKNzE-EpE4DQuLwKYiyRig&e=

_______________________________________________
netmod mailing list
netmod@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=EP64GIX5XS2zO8K1G7A6vXmTlcHV0WBZZw5r5GaBQZU&s=wJW1_1lfeGR1F0ZUiZmfmaKNzE-EpE4DQuLwKYiyRig&e=