[netmod] datastore-specific constraints
Ladislav Lhotka <lhotka@nic.cz> Wed, 12 December 2018 14:33 UTC
Return-Path: <lhotka@nic.cz>
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 1BD5E1276D0 for <netmod@ietfa.amsl.com>; Wed, 12 Dec 2018 06:33:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 E76EY9QUJM2r for <netmod@ietfa.amsl.com>; Wed, 12 Dec 2018 06:33:19 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 263AE127133 for <netmod@ietf.org>; Wed, 12 Dec 2018 06:33:19 -0800 (PST)
Received: by trail.lhotka.name (Postfix, from userid 109) id 30B1A182015D; Wed, 12 Dec 2018 15:42:08 +0100 (CET)
Received: from localhost (unknown [195.113.220.122]) by trail.lhotka.name (Postfix) with ESMTPSA id D07D11820053 for <netmod@ietf.org>; Wed, 12 Dec 2018 15:42:06 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: netmod@ietf.org
Mail-Followup-To: netmod@ietf.org
Date: Wed, 12 Dec 2018 15:33:15 +0100
Message-ID: <87zhtan7bo.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0h4XwFKET0f4MWmkwDnkRgQr0a8>
Subject: [netmod] datastore-specific constraints
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: Wed, 12 Dec 2018 14:33:21 -0000
Hi, in some cases, constraints expressed with "when" or "must" may only be intended for configuration datastores. A typical example is an auto-negotiable parameter: leaf auto-foo { type boolean; default true; description "If true, parameter 'foo' will be auto-negotiated."; } leaf foo { when "../auto-foo = 'false'"; ... } This means that if auto-foo is true, it is impossible to configure the foo parameter. However, even with auto-foo = true, it is desirable to see the auto-negotiated value in <operational>, so, ideally, the "when" constraint should not apply in <operational>. How can this logic be modelled under NMDA? Is an extra leaf "foo-operational" needed? Thanks, Lada -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [netmod] datastore-specific constraints Ladislav Lhotka
- Re: [netmod] datastore-specific constraints Jan Lindblad
- Re: [netmod] datastore-specific constraints Robert Wilton
- Re: [netmod] datastore-specific constraints Reshad Rahman (rrahman)
- Re: [netmod] datastore-specific constraints Jan Lindblad
- Re: [netmod] datastore-specific constraints Ladislav Lhotka
- Re: [netmod] datastore-specific constraints Juergen Schoenwaelder
- Re: [netmod] datastore-specific constraints Martin Bjorklund
- Re: [netmod] datastore-specific constraints Ladislav Lhotka
- Re: [netmod] datastore-specific constraints Martin Bjorklund
- Re: [netmod] datastore-specific constraints Ladislav Lhotka
- Re: [netmod] datastore-specific constraints Robert Wilton
- Re: [netmod] datastore-specific constraints Ladislav Lhotka
- Re: [netmod] datastore-specific constraints Randy Presuhn