Re: [netmod] removing a node from a grouping
Ladislav Lhotka <lhotka@nic.cz> Mon, 16 July 2018 12:36 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 4214F13102E for <netmod@ietfa.amsl.com>; Mon, 16 Jul 2018 05:36:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=unavailable 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 FV5rOhpfAhRU for <netmod@ietfa.amsl.com>; Mon, 16 Jul 2018 05:36:00 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id ED82D131025 for <netmod@ietf.org>; Mon, 16 Jul 2018 05:35:59 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 78E231820CC2; Mon, 16 Jul 2018 14:42:16 +0200 (CEST)
Received: from localhost (unknown [89.24.60.123]) by trail.lhotka.name (Postfix) with ESMTPSA id E54C618202E0; Mon, 16 Jul 2018 14:42:14 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <80f2c076-1937-9b09-fdec-a4d4c9a16aa5@cisco.com>
References: <C16EE3E0-D7B6-486F-8224-F1CC7B224A1D@juniper.net> <80f2c076-1937-9b09-fdec-a4d4c9a16aa5@cisco.com>
Mail-Followup-To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, Kent Watsen <kwatsen@juniper.net>, "netmod\@ietf.org" <netmod@ietf.org>
Date: Mon, 16 Jul 2018 14:35:56 +0200
Message-ID: <878t6bcq8j.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/u63km1OKeV0i12bkBXRAzFcgTX8>
Subject: Re: [netmod] removing a node from a grouping
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 16 Jul 2018 12:36:01 -0000
Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org> writes: > Hi Kent, > > I'm not sure that sec 7.13.2 of 7950 allows refine to add a when > statement, although an equivalent solution would be refine it with an > if-feature statement for a feature that is never enabled. Neither "when" nor "if-feature" is permitted as a substatement of "refine". Lada > > Ideally, I think that the groupings would be split up, so that they > build on each other. > > grouping "foo" { > container-or-leaf "foo" { ... } > } > > grouping "bar-etc" { > container-or-leaf "bar" { ... } > ... // the "etc" ;) > } > > grouping "foo-bar-etc" { > grouping "foo"; > grouping "bar-etc"; > } > > Thanks, > Rob > > On 11/07/2018 18:30, Kent Watsen wrote: >> Say there is: >> >> grouping "foo-bar-etc" { >> container-or-leaf "foo" { ... } >> container-or-leaf "bar" { ... } >> ... // the "etc" ;) >> } >> >> And the goal is to use the grouping sans the "foo" node. >> Can a "when" statement that always evaluates to "false" >> do it? >> >> grouping "bar-etc" { >> uses "foo-bar-etc" { >> refine "listen" { >> when "false()"; >> } >> } >> } >> >> Any better ideas? >> >> Thanks, >> Kent >> >> >> >> _______________________________________________ >> netmod mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod >> . >> > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [netmod] removing a node from a grouping Kent Watsen
- Re: [netmod] removing a node from a grouping Robert Wilton
- Re: [netmod] removing a node from a grouping Kent Watsen
- Re: [netmod] removing a node from a grouping Robert Wilton
- Re: [netmod] removing a node from a grouping Per Hedeland
- Re: [netmod] removing a node from a grouping Ladislav Lhotka
- Re: [netmod] removing a node from a grouping Robert Wilton
- Re: [netmod] removing a node from a grouping Balazs Lengyel
- Re: [netmod] removing a node from a grouping Ladislav Lhotka