[netmod] Question on schema-mount

"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com> Thu, 08 February 2018 08:40 UTC

Return-Path: <bart.bogaert@nokia.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 52F76120726 for <netmod@ietfa.amsl.com>; Thu, 8 Feb 2018 00:40:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 GpHjq-64fhZa for <netmod@ietfa.amsl.com>; Thu, 8 Feb 2018 00:40:53 -0800 (PST)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0093.outbound.protection.outlook.com [104.47.2.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7E561201FA for <netmod@ietf.org>; Thu, 8 Feb 2018 00:40:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KVgCx+nsO/4tLuB8GgB4vMWNRNWIAqIduy26JtgkaCA=; b=kM8Rszwuoys9TzgMsn9TM4Z8ZXeyQzn+/1awF48xc6FKPoZLiA5yZ3mdqqcAG44fhrW9bFi3g12QBGFrjIPXGtz2ZMWi5psYqixdoxJJ8PEgD1wqPVkuwDX0c1C9hXvRuQweuG4FshhNvvddpUpTkntjWBfycT54izSCIZbk8oY=
Received: from VI1PR07MB1725.eurprd07.prod.outlook.com (10.166.143.21) by VI1PR07MB1647.eurprd07.prod.outlook.com (10.166.142.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.3; Thu, 8 Feb 2018 08:40:50 +0000
Received: from VI1PR07MB1725.eurprd07.prod.outlook.com ([fe80::4419:1f5d:8922:53f1]) by VI1PR07MB1725.eurprd07.prod.outlook.com ([fe80::4419:1f5d:8922:53f1%14]) with mapi id 15.20.0485.009; Thu, 8 Feb 2018 08:40:50 +0000
From: "Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Question on schema-mount
Thread-Index: AdOguHm9UsRSzQHlTRaVUEIrKf1I5w==
Date: Thu, 8 Feb 2018 08:40:50 +0000
Message-ID: <VI1PR07MB17259C46D65AA5A94EE58FF294F30@VI1PR07MB1725.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=bart.bogaert@nokia.com;
x-originating-ip: [135.245.212.218]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB1647; 6:vi29gJ8258sYGBx4Xl0PVia0zwhnmo0O2nCPrc/nRPpiI4uyPyq2kLfGLH7D2zKMKw65Qo2QFxjDo6FTViNWsiGxqIcIlrEAK/Fsd5JZ41BzVhriKjZbKZeK3KJRHlkmFIW9eAUwudptqyX2Cr3xjRWpLel9MvWZCUvliT+sCfmN/4eDfgcB9y7fXLRIZnqt3RO1KzCN4IMOBoZOxPx/9Vvc4qg0KHVvOS42yd9LQoVHdJcHf4qytkRIPADOCBDYgtrp7dGAqM5aA55ikBuzF4mA3HIVkIzmqO4LpdFkrXTYbcysuaAX5VhjNXS1mmPcCEwkBetgP4ozUapmcAmDv1poYm8bWvauSb3Mx8eihNrimTIIQG64Sto5bfjDbXw6; 5:bPrumMfKO2REvSUYfRXk/jXK5g4+9H/H9TpvpFq2MG+c4LJCfKvCTt83JrcPoduSRg0M6m2XshSvnX6MOuRU9MKHKtmIPTNNL4WyZDuXjwI0OYUf8PXbYf6UYrMJL0ZzO7yeFZ7r1IpRS1QDa2nSopwrFVHv5mqKoGm18BLIMeA=; 24:wg6UsMf1Agqg3E1MvAtvmLencJAHaxhxvBsB0P0isSOfbpnRpseTXsL96vxhLatFbXzEJOA/Jjae2Sas8fl8vhWIPASzTJQPm/D4qhCL0Zw=; 7:kLIoBEylM1lzQm0P0vz5NAYLI7A9hZo8VkQINWrZaLe+/VRZyyG4JphNm6mXpz9pDw3Usgbe+/e/kK+7TlO/lll4USlIZCUAJziRXVwJ/8xJGoTgC2x5WPK58Mypjnlz3+bg5XZzZNA6hqz98vXk78HCo0/q+p7G2YakWya0ce/UIOMTt9dEzg+3xRcYj3vBVOX3LypgT62U9C0z4r78cUHjNf611I7SI3GcegD3B34MXevT+F0w/GqAwEeeYkt4
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 0a453d14-8ec1-4d80-8b98-08d56ecfa845
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:VI1PR07MB1647;
x-ms-traffictypediagnostic: VI1PR07MB1647:
x-microsoft-antispam-prvs: <VI1PR07MB16470DD59B3C1591D19FB0B694F30@VI1PR07MB1647.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231101)(11241501184)(806099)(2400082)(944501161)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR07MB1647; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB1647;
x-forefront-prvs: 0577AD41D6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(39860400002)(376002)(189003)(199004)(51874003)(8676002)(6916009)(1730700003)(81166006)(81156014)(3660700001)(7736002)(14454004)(3280700002)(5660300001)(6506007)(102836004)(86362001)(105586002)(59450400001)(68736007)(26005)(7696005)(74316002)(8936002)(33656002)(25786009)(97736004)(66066001)(5630700001)(2900100001)(186003)(53936002)(5640700003)(55016002)(9686003)(54896002)(6306002)(106356001)(2351001)(790700001)(6116002)(2906002)(6436002)(316002)(99286004)(3846002)(478600001)(2501003)(5250100002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB1647; H:VI1PR07MB1725.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: fU/e9id1keKhFBPsXA785314+1gZ3acwQjQuQbfI9WyOMVL0mzHSIziGwMdWDM7sPPs1bWAZmf9FjLbNDcWCr+fBnWLEZPM81scvdfExoi96VoEm3DOXFpzXjiQMuoLp
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB17259C46D65AA5A94EE58FF294F30VI1PR07MB1725eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0a453d14-8ec1-4d80-8b98-08d56ecfa845
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2018 08:40:50.2115 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1647
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/cngbRVvlUtWGTrVia9urdRx31PY>
Subject: [netmod] Question on schema-mount
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: Thu, 08 Feb 2018 08:40:55 -0000

Hi,

We have a question w.r.t. deletion of entry in a list using mounted schema knowing that in NC/Y there is no such thing as a "cascading delete" (leafref constructions in many cases even makes it impossible to delete a resource if it is still referred).

How does this apply to such a schema being mounted.  Using the example from the draft:

     +--rw interfaces
     |  +--rw interface* [name]
     |     ...
     +--rw logical-device* [name]
        +--rw name
        |   ...
        +--rw interfaces
          +--rw interface* [name]
             ...

Is it possible in this case to delete /logical-device[name='x'] and the server has to remove all the data associated with the mounted schema?  Or does the edit-config also explicitly has to delete the data related to the mounted schema?

I could not find something in the draft that deals with this (or it is there, but then I did not understand that section very well).

Thanks in advance,
Bart