Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis

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 8C4EB126DFB; Fri, 8 Dec 2017 09:21:52 -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 jm3Gs_U8o8iO; 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 242E0120713; Fri, 8 Dec 2017 09:21:50 -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 vB8HJil8017674; Fri, 8 Dec 2017 09:21:49 -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=lDf6y5241xP2QJdb1nFcEhiLmicPxdsGpFN3OBymNTY=; b=Cc0ojMOn8azDliO+oyhHAa2rg00yu+Qn4a+K1/W5K06JJTJjJrCljupgZkTj09kmwpmb ZmQX5YDkthldcZz2jAmbz5ZA168SxyAUEGPAVDIDiIuQrVRKrr6sCaHoYAO+E1hgdSLx ZkyLSfonsR7tv3zP7GmJQbu9EsoXTxGeUVzuB+65RaKMS5R4BLiyrXStaJgwpureJeXX vMcAh9Pq2BUtgX9joCY/G16bsBWHUKqlAQi5VpCw29hSsc3XRjYksp46RQCCB3omPCCB xVXFublhKv+hHq+GMKVYTndAf1wkjHdLE2qo8UY0rjxNok35MZWksW+fZ+HV9NuFy1rM 4A==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp0022.outbound.protection.outlook.com [216.32.180.22]) by mx0b-00273201.pphosted.com with ESMTP id 2eqvs0ge9k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 08 Dec 2017 09:21:49 -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:47 +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:47 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Ladislav Lhotka <lhotka@nic.cz>
CC: "netconf@ietf.org" <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] [Netconf] Alternative YANG library structure for 7895bis
Thread-Index: AQHTWXr4QzV6rQAfmUKbAB+TvqMKD6MVuWCAgAACOoCAI/VDAIAAB3oAgAAA4QCAAAOyAIAABEIAgAAOAID//7wZgA==
Date: Fri, 08 Dec 2017 17:21:47 +0000
Message-ID: <C030AD08-2E8B-4248-994B-04C802296024@juniper.net>
References: <75e91419-9436-d1b7-29f6-02e3ff4ff86d@transpacket.com> <668cc9e1-c006-ce25-1473-549bc0b71a7d@cisco.com> <6cc655e0-1c28-fe75-b854-08e2d878816c@transpacket.com> <20171208.160306.109290175567894287.mbj@tail-f.com> <20171208150614.axuynu4atpg7aaj2@elstar.local> <b3159aa5-93e4-23eb-406e-083289a4767d@transpacket.com> <20171208153442.roomf7rhixtckrfk@elstar.local> <1512750289.11843.3.camel@nic.cz>
In-Reply-To: <1512750289.11843.3.camel@nic.cz>
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:BWkAYdFYw5sG6+DveqkMK0TyHzF2tbku6w0ZON/WrXXCglAF+E9rpIt1+urfSlgzUM7ATzWqc+/Zocz66eD/6tv+yeAo0ZceoZ9ZRvtCkKRYiWVXWZNi1M5Njc2pX37zuS/FzYYSQncRT8R/+lV15iPwgDntz8DfMSkeq7GQutZqjvE2cfr5b1tfmeaTfauHtqDW1cSpQsSWUTR33Z3L8MsCHZGFfuh142HoD4zdtffoK676hA1Ssn81wkveS1+KGvUmoay9/TkUF6WIQI7Wl0nY38cf/oklECP6CnvzYTeeg64srOLqgCyHZ6iis9B3ItI38GNgyHKFWe91MHDhPHkOvZ3kH+5QnHPDf4QGWiM=; 5:J0kCOOCPzxarqkKchAbQpWq5SoNtp7ysHSNKzKW74nvl3AqaJ9DuAuAcAgi6hCL2iQtY2P+wkUXujH/t4/StvTrWRT1hmaGq2yAF9uz03XRIXRv59XcGhRH5TeOi+bOaDdUO5/iaSqsYEDWOPj+OIGSBCu5rfwsvvzxdEfuSbvY=; 24:M4VgdivN98xZ4Y1D1YJMTqkSIIQnFlzr2wNK5fGavriq1MvAsuvW8Z2x13hvdTvfz/shg2vO0v785PngE5GzkjPL4kdFMxMlT3PQ5+HdXHE=; 7:TXsBKuNznGyMwvqQt5C3ICHLFXGumbFjbGujBYl9GO/eMNcMO9s0TX3E+IhT3LgVGKVHEAh9RocIlo5uiSCSVDOHk7//dSnNMkm8E9SqS1T+uVxDhyHh4ee3L6F1rHtHwkGT/UDVPM/kBTw7l15E/gt1x3m1mAshxOYOvD+lUuE91AAD/Jc/zjfC01WkNJbs1Vy/hC/vYfUqCbVVZ0HVz8zwDSfNcd6YdTNcMAbre+ska5QIR1jD7EFgRaVMo3qp
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 897fb496-db54-4d64-ae27-08d53e602998
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: <BLUPR05MB2733D9E0AD2B4186D48136BA5300@BLUPR05MB273.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(20558992708506)(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)(377424004)(189003)(199004)(97736004)(53936002)(114624004)(7736002)(82746002)(6116002)(4326008)(3846002)(25786009)(102836003)(6246003)(66066001)(316002)(58126008)(93886005)(54906003)(33656002)(3280700002)(106356001)(3660700001)(105586002)(2950100002)(68736007)(81166006)(8936002)(575784001)(8676002)(81156014)(305945005)(229853002)(6916009)(83716003)(2906002)(83506002)(6512007)(36756003)(2900100001)(5660300001)(6506006)(86362001)(6436002)(77096006)(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: <DAE5720D93ABA04A8B149559B6BF7A6E@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 897fb496-db54-4d64-ae27-08d53e602998
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2017 17:21:47.7510 (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/NnJD3rzLuPtgbfeXVH0H9k3Lnpg>
Subject: Re: [netmod] [Netconf] Alternative YANG library structure for 7895bis
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:52 -0000

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

Kent


On Fri, 2017-12-08 at 16:34 +0100, Juergen Schoenwaelder wrote:
> On Fri, Dec 08, 2017 at 04:19:28PM +0100, Vladimir Vassilev wrote:
> > 
> > Yes. The default value for yang-library-datastore leaf is ds:operational
> > (the only possible one for the ds:operational datastore). This is backward
> > compatible. If one needs different model for 'running', etc. then a new
> > datastore identity has to be defined  and set in place of the default value.
> > Then this identity can be used to read the yang-library data with
> > <get-data>.
> > 
> 
> Sorry, but I have to ask this: How do I obtain the schema for the
> datastore (lets call it <running-library>) that reports the schema for
> <running>? Is there another <running-library-library> datastore? Will
> the recursion end? Perhaps it does since <running-library-library>
> might have itself listed as the schema defining datastore. I guess
> Lada will like these kind of meta and meta-meta datastores.

Not really. Metadata needn't be in datastores.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
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=5qj6BQUSwqYmkAVeKz5axFV8k3gxYEPSJ5Cp0RSnxrE&s=I7fR1GY5lN2hVMkDuvryrhDeRypike3wPeFRrvQI5l8&e=