[netconf] Get all lists, container, keys

Balázs Lengyel <balazs.lengyel@ericsson.com> Tue, 19 February 2019 09:53 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 80863130E81 for <netconf@ietfa.amsl.com>; Tue, 19 Feb 2019 01:53:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.322
X-Spam-Level:
X-Spam-Status: No, score=-3.322 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, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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=N27ilKKQ; dkim=pass (1024-bit key) header.d=ericsson.com header.b=kycD0lLG
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 zC83Q-bnb9iA for <netconf@ietfa.amsl.com>; Tue, 19 Feb 2019 01:53:12 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 7BFCF128CF2 for <netconf@ietf.org>; Tue, 19 Feb 2019 01:53:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1550569989; x=1553161989; 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=NNcnD++b0L9y4QWsGY5qAeCtysJ4Y6BzS6IBiz4HSGg=; b=N27ilKKQT2ccWfF3vU4ray3etFp3WUUNGOu1DxGeRuDqVA0CaIvKi1gSmZQjNj6f J++EQaw+RGCTHbIDUA7hqeT5PGDMctu89T4HQqjE2qZgn9nTw0obdA4B8QVniwBg kIYZKg7NPQZt5HTjFRZu+SChj5OrGaid8FOiWQIeZWk=;
X-AuditID: c1b4fb25-d89ff70000005ff7-3f-5c6bd2054dba
Received: from ESESSMB503.ericsson.se (Unknown_Domain [153.88.183.121]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 3A.50.24567.502DB6C5; Tue, 19 Feb 2019 10:53:09 +0100 (CET)
Received: from ESESBMB501.ericsson.se (153.88.183.168) by ESESSMB503.ericsson.se (153.88.183.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 19 Feb 2019 10:53:09 +0100
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB501.ericsson.se (153.88.183.168) 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; Tue, 19 Feb 2019 10:53:09 +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=NNcnD++b0L9y4QWsGY5qAeCtysJ4Y6BzS6IBiz4HSGg=; b=kycD0lLGn0I9np6I7nRQWx0sod1HnlfJDdm/T+8wx56mMipswqjCVXJl51ZroHOx1xXuUpbKElUcLFmZDT+TWEAWhTtBCG29TUYadRUVywroPzhMn1ATDtYc4z4uoC+a15jSTgwjpw65RzlPuCNCCYGvNCgQpbei9hiENWAL9iY=
Received: from AM0PR07MB3841.eurprd07.prod.outlook.com (52.134.82.16) by AM0PR07MB4259.eurprd07.prod.outlook.com (52.133.57.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.7; Tue, 19 Feb 2019 09:53:08 +0000
Received: from AM0PR07MB3841.eurprd07.prod.outlook.com ([fe80::9027:886e:9046:b251]) by AM0PR07MB3841.eurprd07.prod.outlook.com ([fe80::9027:886e:9046:b251%4]) with mapi id 15.20.1643.008; Tue, 19 Feb 2019 09:53:08 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Get all lists, container, keys
Thread-Index: AQHUyDjqAOFnnqb3Y0SHUHFhpVBmVQ==
Date: Tue, 19 Feb 2019 09:53:08 +0000
Message-ID: <37dad116-5a8e-4ce8-c2ca-1e2a89fa7a7f@ericsson.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.5.0
x-clientproxiedby: HE1PR0102CA0016.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::29) To AM0PR07MB3841.eurprd07.prod.outlook.com (2603:10a6:208:45::16)
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: 37b3c268-08b2-4ccc-68b6-08d696500d39
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(2017052603328)(7153060)(49563074)(7193020); SRVR:AM0PR07MB4259;
x-ms-traffictypediagnostic: AM0PR07MB4259:
x-microsoft-exchange-diagnostics: =?utf-8?B?MTtBTTBQUjA3TUI0MjU5OzIzOmtadm5EeHZLVGtTKzI3Q2puRDZZMVFYSlpo?= =?utf-8?B?RFZYRm9XUHlRdmVhRGo0N2VGdHRuNjdUbllZVTlJZEFNM3JaVjQyRkw4SkdB?= =?utf-8?B?MGNCTU5ZYmdPdjZLeXczY1BvNDBYSWp4amdGQVUvSUJCOEJ4K1ExM0ZqSGUr?= =?utf-8?B?OENEZGYwVEVCSW5kR24rVmVvaGJNVVpZV3BKclQ2TGdiVVZkNWxxTFkvbnp6?= =?utf-8?B?Ym40d1RqZ1BqTlR5MURIS3B0bEZ2N240dlZkL2hZTDJySXRDYnd6RXBMVk5m?= =?utf-8?B?c1MwUnlBN0ZCSEdPRU9TWWdzYnczdFRjQzBxV1dmWW5Lb2NMYUFvelRpSDRD?= =?utf-8?B?Rk4yK3V6SzhwWXpNTVlzL25IcjRYSFJoS1BaQkRYNlZrT1JPZEpZUzlKRzVP?= =?utf-8?B?YmNqT0lFWTZWWlg1MWVCVDhEUkRuQk5iQlVCLzVIOXduVmFwbXpnOTczdkdF?= =?utf-8?B?UG1GRGhTOU9aODNJaGU2bmxJVk5CY01JbUp6Qm14MTVzeUh2RjZob0Vyd2g4?= =?utf-8?B?aCt2dERpeENvbEo2U24rZkUxT2VhbUZub1NCc082NitoV1V3QnhkcmM5M0F3?= =?utf-8?B?cTZyTjljK1FVOEJQWVZRV29Mdk13R2Q0dy9UYUdwLzRpa3dRbVNLb3pZNjhO?= =?utf-8?B?T1I0d2MybytvOGVTSDBIVFJTaVU4UUZaaEtOVUNvUiszWVk4TnJSRk9SNGF1?= =?utf-8?B?UnZjMHM2aEpCUlljbmVqd1FRdDJIeDJYbGdLRjAzZldOeVRYUktLTXRRVVVt?= =?utf-8?B?QWlicjc2Ung0YldtVVMyczZiQ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SEx1VkpQenB2WE8vYVBHOVdIRG1PVUdXdXpFZWRQMnpzR0RjbGZER3RORlFQ?= =?utf-8?B?RDlxY1lKTmpBa2dyay94YXJCSnlmc05Pdmw3aWQ3YzRUY1RHOUNpaUkwZWVK?= =?utf-8?B?RFlQZEdGbzM1OC8zUzhIcjhwOEVMWWduRFF5RlI3U3lXd21aRm9Tc2U4WUlG?= =?utf-8?Q?Fpo1wws2rDfb10GRL+ShZKewjksiz/Ug?=
x-microsoft-antispam-prvs: <AM0PR07MB4259DB5CCB4B57017487D643F07C0@AM0PR07MB4259.eurprd07.prod.outlook.com>
x-forefront-prvs: 09538D3531
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(39860400002)(376002)(346002)(189003)(199004)(58126008)(81156014)(99936001)(316002)(102836004)(36756003)(3846002)(5660300002)(99286004)(81166006)(64126003)(6116002)(1730700003)(8676002)(85182001)(6512007)(486006)(25786009)(52116002)(68736007)(8936002)(86362001)(256004)(71200400001)(71190400001)(106356001)(186003)(85202003)(2351001)(14454004)(2616005)(2906002)(65826007)(31686004)(66066001)(105586002)(97736004)(6916009)(476003)(5640700003)(4744005)(65806001)(6506007)(2501003)(65956001)(305945005)(386003)(6436002)(6486002)(7736002)(478600001)(26005)(53936002)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR07MB4259; H:AM0PR07MB3841.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: RxLodWpiukyIFNLfEV3Py6ysJfAgMLoy25FIj5kVJOguMSQU04+8w9hfksWapbESsAQ70tO+9i3BEbCEI2AkuzR6Fr8O77LDFFBRM6wntR/WGu5z+vkviNOILxky1Fj6NIl9HqCgdxZ2/Bt4JYbWuZqVqPgEX4C4LsMRNJZvmpdVrxdvmZ7JjEstNmSu6vXEP927eNWd7YrpOKqv6i/Wp/TuoktDRDpFGnqsucgZlUlnEl+pc821nUb8cP98DH6YvhzbiBhtMZ7IWhY1ec4w+O5yGuv7u8cZ3kGB8UU0ZhP8LdOvuJ67YRq0CI7WFSimsqus2FWoYROmAK+QRLgpiThNhw7yid5pa0zgPWlXY5D8NRLqzz5aodO1dCRFky95zSZx8fNYRutB8HDiQ4vVGyxyZA/v9oBEgunai1M7x2I=
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms010702020802010903050203"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 37b3c268-08b2-4ccc-68b6-08d696500d39
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Feb 2019 09:53:08.0298 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4259
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA1WSbUiTURTHu3u2+bgaXZ82O6gljSR82yytjKIXNPBDkX1IorRc+aBjOm2P VrMvasVsVix6UYe5GWqa00QjB0alJPNtWUaUSok6iTKjsMxMpW13QX37nfs///8953JpihkQ BNAqTS6r1SgzZUIRv/xwmy5SMKhOjprqCom92TIi2I0Sqqt/8RLREdGONDZTdZrVKnamijLq C6eonJqYswNLVqoADW00IF8acAy064d5BiSiGfwMweuvvXxSzCL40tfkLap5UKM3Um4LHxsp aLfmE8HIg6K2KiEpxhHYai0+7i4hjgf9lyc8N0twKBSavgoMiKZX4Q0wWih1owRHgOORH+mQ w9WGy4jkh4DePOq5S4x3gXOu2MMI+8PPXqsnkcKrYdhp5pEVJDD2sk9IWAofJ5YEhGVQ9mnY w1KcAtemb1PuMQFXILhyvo5HQo/Bo/fFXrNrnjdORHgNDJpLvLwfGh13EDFPuHZse+hDhDBw Ovq8U0wwYKug3YsBVsOow58cB8FIX6n34qtC6HGUerwMZuFu40VkRBGmfxYyufoofAnB8wt1 yOR5AT/oKXfySdMWqGwdowiHQ23VFPW/2c3boWy+Q0h4HdwoGfMhvBmmur4hwtFQ27QotCDR PSTlWO5EVvqmaDmrVZ3kuGyNXMPmtiDX1+p48DvEhl593tOJMI1kK8R1NnUyI1Ce5nRZnWi9 K2e8ueEFCuBrsjWsTCJWdLtkcZpSl89qs49r8zJZrhMF0nzZavEC45fM4HRlLqtm2RxW+1fl 0b4BBUjScj1paNT+o1QX3723/2DDlSD9Qr3dGvn9VHSTwpFkpreK7XPyKmHcW/xYYbKdC1Mv O275cOCdOcF+33j0QHJreN71yX0zVYqR+GCmPzBRHqeKH1sMZga4bYn2p2cqKqPy5qtvJc4c WjupnoubNS5PaTasnLbWGEJTLTj2TpGMz2UoN4ZRWk75B+4PkNNiAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/sfnD2ZHSOr9pZuNOw2yPcFpueYg>
Subject: [netconf] Get all lists, container, keys
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Feb 2019 09:53:15 -0000

Hello,

What is the best way to get the skeleton of the datastore? I want to get 
all the containers, lists entries and key values, but none of the 
non-key leafs or leaf-lists. Is there a way to do this?


My next question will be to get this only for the next level, but there 
get-data+max-depth seem useful?

regards Balazs

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com