Re: [netmod] ietf-access-control-list@2017-10-03.yang : Can access-lists use a grouping?

Mahesh Jethanandani <mjethanandani@gmail.com> Thu, 02 November 2017 03:32 UTC

Return-Path: <mjethanandani@gmail.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 76E4F13FBCF for <netmod@ietfa.amsl.com>; Wed, 1 Nov 2017 20:32:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Lm5LdCm1-3kq for <netmod@ietfa.amsl.com>; Wed, 1 Nov 2017 20:32:35 -0700 (PDT)
Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C250F13F844 for <netmod@ietf.org>; Wed, 1 Nov 2017 20:32:35 -0700 (PDT)
Received: by mail-pg0-x244.google.com with SMTP id k7so3890795pga.3 for <netmod@ietf.org>; Wed, 01 Nov 2017 20:32:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=T4pyYEU7vUBaaJVGDYqSpqqmv/JoP/HvGzi0qHpYac8=; b=iAdTzwKPJla6UED//gXBAtQhtIWwqcDFs9pOx2IkTT9IBu27F+J7xxBDP3/Y95GuPS 4l6bGfYC0FlREFLX3U6iqDh8dP2iAhVFA9WnZhTy4qANGr/+O6xfaq2rRxD/v5QVjv4V 9bd+n79LLpy+CtEdwEAPtURAwwZzhFdn+9arMJnylPWKmOL1Htwb/zHbvffY/7CRIKvA YuZGotbvkjahBxrXFU76ShIfxPimZ+KC9w+iXLOtpAU0of86eZJfw6yn5UxEuW/DrUe8 78El81BtUBo14G0czjWimLCn2c9dgzvWLUCokmXBxVJgfy22Y/G4ede8JhB4hUM6jpIO 0TUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=T4pyYEU7vUBaaJVGDYqSpqqmv/JoP/HvGzi0qHpYac8=; b=oolexFncxW3YMj0MgkpnksayxTTaRw3FN5HBWHu+felzjhDVoggt8NC9xgxFUlu56y Cfsan4ST771l713dDtMnxZH6i/V8LHD8RWanvp9w+4z4x5ql9d4k8nlEWLISDrEKBd/9 ki2vv9TinEDjDlT7M3a75o3E+oZsWcWbbXNCMoQXavo/nkSoo7nTPyPqc1DhtqTILo9E C6z7d2mbFWriGFjMxvHmGfrfRHVdOf/umijQDpNTl5qHuHpV93olQVDNUYmo/3l0dwJT ln13nU/EpuLpDz5sFw1FdUAQ6UgnbBezoIUyJ/fHwCUNlwd4s+zWkuC5R5txMt2KsPx8 kaMw==
X-Gm-Message-State: AMCzsaXwDarJy3hveMQqGQyhsMXgU/MvpYIAtUyCGzrkdHgMeWqcEaOV fgO2fHAbtHWWKvaoti1IzFe1r4jI
X-Google-Smtp-Source: ABhQp+Td+IttLMuiKPVTjADye2ec4HAgOUhtKKQo55Q9CJ/pOjL+5GOJ9Y7TIRfMTGK3MQGWCT3naw==
X-Received: by 10.159.194.18 with SMTP id x18mr1769515pln.273.1509593555075; Wed, 01 Nov 2017 20:32:35 -0700 (PDT)
Received: from [192.168.99.103] ([103.42.216.254]) by smtp.gmail.com with ESMTPSA id t63sm3386402pgc.19.2017.11.01.20.32.33 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Nov 2017 20:32:34 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <CAHiu4JPKNE6eL=P6TSb1NCMGpFvcX4BxTWFRcDR+BDQN9kWj2Q@mail.gmail.com>
Date: Thu, 2 Nov 2017 10:02:30 +0630
Cc: netmod@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <6B80D720-C62B-444E-A0D0-E4839F5483D2@gmail.com>
References: <CAHiu4JPKNE6eL=P6TSb1NCMGpFvcX4BxTWFRcDR+BDQN9kWj2Q@mail.gmail.com>
To: "M. Ranganathan" <mranga@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/CypH71fAYj9CRqZV2AzkLkNMwGQ>
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 03:32:37 -0000

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?

> On Oct 31, 2017, at 8:39 PM, M. Ranganathan <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
> https://www.ietf.org/mailman/listinfo/netmod

Mahesh Jethanandani
mjethanandani@gmail.com