Re: [netmod] ietf-access-control-list@2017-10-03.yang : Can access-lists use a grouping?
Robert Wilton <rwilton@cisco.com> Thu, 02 November 2017 15:00 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 4640E13F66C for <netmod@ietfa.amsl.com>; Thu, 2 Nov 2017 08:00:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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 HveWToOfmppg for <netmod@ietfa.amsl.com>; Thu, 2 Nov 2017 08:00:51 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3745A13FA9D for <netmod@ietf.org>; Thu, 2 Nov 2017 08:00:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8779; q=dns/txt; s=iport; t=1509634851; x=1510844451; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=EvZlhyoZxdChn9mhF9Lm9mf3JS6NDTGHKOgwPPdIvEM=; b=PaXqK42fHgpxc0nxEomyexnwr5y9uqyajE65x/vO0D9cjKtEMJlG48dH N4CuNsTc9LSyouEuAWDsvUVTj77kH8uhQTFVz1VSptmsfCo6qljNFjwzV PnJfgxrHIhE5f2YYxglD4LgGX/mXwjh++OEnBkMzrL3RBJQJT5iNMjoc6 A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CSAADXMvtZ/xbLJq1cGQEBAQEBAQEBAQEBBwEBAQEBhBhuJ4N9ih90kCOIUIgvhUaCEQoYAQqESU8ChQ4YAQEBAQEBAQEBayiFHQEBAQMBAQEhSwsFCwsYJwMCAiEGHxEGAQwGAgEBigcDDQgQqG2CJyaHHA2DSAEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgy6DWoISgwGBSIEihTyCYgWZBohLPJADhHmLeIc6jRqBD4dtgTkfOIFsNCEIHRVJgmSCI0UpgU5BNo1DAQEB
X-IronPort-AV: E=Sophos;i="5.44,334,1505779200"; d="scan'208,217";a="658467688"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2017 15:00:49 +0000
Received: from [10.63.23.76] (dhcp-ensft1-uk-vla370-10-63-23-76.cisco.com [10.63.23.76]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id vA2F0mBc014167; Thu, 2 Nov 2017 15:00:48 GMT
To: "M. Ranganathan" <mranga@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: netmod@ietf.org
References: <CAHiu4JPKNE6eL=P6TSb1NCMGpFvcX4BxTWFRcDR+BDQN9kWj2Q@mail.gmail.com> <6B80D720-C62B-444E-A0D0-E4839F5483D2@gmail.com> <CAHiu4JP2RTamZnfvwimPMAo+03vVn9y2gO+5z=R0DxUzwMOEHg@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <a5f545bf-1f1e-188b-be03-eed1fb321e03@cisco.com>
Date: Thu, 02 Nov 2017 15:00:48 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <CAHiu4JP2RTamZnfvwimPMAo+03vVn9y2gO+5z=R0DxUzwMOEHg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------25933ABD8FF4B517F3A98740"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/KDyeEixa0woVFUrOLr48Rfhq6Kw>
Subject: Re: [netmod] ietf-access-control-list@2017-10-03.yang : Can access-lists use a grouping?
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, 02 Nov 2017 15:00:58 -0000
Hi Ranga, Presumably another choice would to keep ACLs defined in one place (i.e. no grouping required), augment with ACL model with your extra MUD + other mgmt data, and then have a reference to that ACL from your model. Thanks, Rob On 02/11/2017 14:50, M. Ranganathan wrote: > Hi Mahesh, > > > > On Wed, Nov 1, 2017 at 11:32 PM, Mahesh Jethanandani > <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> wrote: > > Ranga, > > Is there a reason why you do not want to consider augmenting the > model, particularly since you seem to want to use the entire model? > > > > Yes. I want to include other metadata (specifically MUD + other > management data modeled using YANG) associated with the ACL in a > container in my own model. For this I want to import access-lists from > the ACL YANG model but as it currently stands, I can't. > > With the way it has been defined (i.e. as a container and not a > grouping), I cannot include it in another YANG model. It would be > perfect if the access-lists could be made into a grouping as > suggested. Nothing else needs to change as far as I am concerned. > > Thanks! > > Regards, > > Ranga. > > > > > > > On Oct 31, 2017, at 8:39 PM, M. Ranganathan <mranga@gmail.com > <mailto:mranga@gmail.com>> wrote: > > > > Re-posted from OPSAWG list : > > > > > > Hello, > > > > In the file > > > > ietf-access-control-list@2017-10-03.yang > > > > I see that access-lists is directly defined as a collection. > > > > > > May I suggest making a grouping (say access-lists-grouping) and > use a "uses" statement in access-lists. > > > > The use-case for this change request - I would like to use the > grouping in another YANG model using a "uses" statement. > > > > Thanks in advance for considering it. > > > > Regards, > > > > Ranga. > > > > -- > > M. Ranganathan > > _______________________________________________ > > netmod mailing list > > netmod@ietf.org <mailto:netmod@ietf.org> > > https://www.ietf.org/mailman/listinfo/netmod > <https://www.ietf.org/mailman/listinfo/netmod> > > Mahesh Jethanandani > mjethanandani@gmail.com <mailto:mjethanandani@gmail.com> > > > > > -- > M. Ranganathan > > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod
- [netmod] ietf-access-control-list@2017-10-03.yang… M. Ranganathan
- Re: [netmod] ietf-access-control-list@2017-10-03.… Mahesh Jethanandani
- Re: [netmod] ietf-access-control-list@2017-10-03.… M. Ranganathan
- Re: [netmod] ietf-access-control-list@2017-10-03.… Robert Wilton
- Re: [netmod] ietf-access-control-list@2017-10-03.… M. Ranganathan
- Re: [netmod] ietf-access-control-list@2017-10-03.… Andy Bierman
- Re: [netmod] ietf-access-control-list@2017-10-03.… M. Ranganathan
- Re: [netmod] ietf-access-control-list@2017-10-03.… Andy Bierman
- Re: [netmod] ietf-access-control-list@2017-10-03.… M. Ranganathan