Re: [netmod] removing a node from a grouping
Robert Wilton <rwilton@cisco.com> Mon, 16 July 2018 13:33 UTC
Return-Path: <rwilton@cisco.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 4FAAD12F1A6 for <netmod@ietfa.amsl.com>; Mon, 16 Jul 2018 06:33:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level:
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 4xo1eGUTADGb for <netmod@ietfa.amsl.com>; Mon, 16 Jul 2018 06:33:57 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3DEE1294D0 for <netmod@ietf.org>; Mon, 16 Jul 2018 06:33:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6065; q=dns/txt; s=iport; t=1531748037; x=1532957637; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=OQyygb6Q2d6JC2nuu5jl7od0OH+d95Ik6QRxDm7MHKw=; b=FxYE+ui3k8p1zeP6yhkT7Mie8eG/G/5ww1LG7jSOuN2Ue2K2ZZ6va/Ta 8BAp0AWNjLlDsXSj2PTR8kN1sFx7vjC7SW34TyQV7OKZ5JKpUfUxrf9fK gpMRREpvEWab2ZNG5aSpptptayNV75TNuW7VDXR2T2W73C356H0qib1KD 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DsAQAunkxb/xbLJq1cGgEBAQEBAgEBAQEIAQEBAYJTgVltEiiDfIhjjWeQKocJCxgBCoQDRgKDATcVAQIBAQIBAQJtHAyFNgEBAQMBAQEhSxsLDgoqAgInMAYBDAYCAQEXgwUBgXcID6h/gS4fhDyFXwWKWT+BOIJqgxkBAQKEX4JVAplcCY8hBogchUmMP4VVgVcigVIzGggbFTuCaYsVhVojMAGOGwEB
X-IronPort-AV: E=Sophos;i="5.51,361,1526342400"; d="scan'208,217";a="5205406"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jul 2018 13:33:55 +0000
Received: from [10.61.227.226] ([10.61.227.226]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id w6GDXsv8016878; Mon, 16 Jul 2018 13:33:54 GMT
To: Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <C16EE3E0-D7B6-486F-8224-F1CC7B224A1D@juniper.net> <80f2c076-1937-9b09-fdec-a4d4c9a16aa5@cisco.com> <878t6bcq8j.fsf@nic.cz>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <ecf87f89-5ca1-fa0b-074a-3356a5249a1b@cisco.com>
Date: Mon, 16 Jul 2018 09:33:53 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <878t6bcq8j.fsf@nic.cz>
Content-Type: multipart/alternative; boundary="------------E685620384410FE98F04A4C3"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/gVdHbWxDcZvCeELB9Tt_OQi7sMM>
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 13:34:00 -0000
Hi Lada, On 16/07/2018 08:35, Ladislav Lhotka wrote: > 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". My reading of 7950, is that you are allowed to refine a node to add an "if-feature". RFC 7950, section 7.13.2: The following refinements can be done: ... o A leaf, leaf-list, list, container, choice, case, anydata, or anyxml node may get additional "if-feature" expressions. Thanks, Rob > > 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
- [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