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

"M. Ranganathan" <mranga@gmail.com> Thu, 02 November 2017 14:50 UTC

Return-Path: <mranga@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 0CB1713FA8C for <netmod@ietfa.amsl.com>; Thu, 2 Nov 2017 07:50:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 oOiWasKtHYft for <netmod@ietfa.amsl.com>; Thu, 2 Nov 2017 07:50:50 -0700 (PDT)
Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::22c]) (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 7E0F913FA3C for <netmod@ietf.org>; Thu, 2 Nov 2017 07:50:50 -0700 (PDT)
Received: by mail-ot0-x22c.google.com with SMTP id d36so1628974otf.1 for <netmod@ietf.org>; Thu, 02 Nov 2017 07:50:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=WOtK1nRA1Vrbf3F/hSp76TB/wxD0tiiEYIoU/pKXiTY=; b=Nhrnah8gss64jgiFeeiNTXUk/xEQxHGtpWGsBLNf1W2WT0G5jWUyIvIdjEC9tXdS5V qAW+D/9dVnkAncyOVmYsWMmXqYKihvTD6DHb0n3iMN/iG8Ku8QBaAvKI3CjbXiMltTm1 5xJq6EXIc7gzNvhuIhINdj7QYBz6bzeFngLWElZ7zBm40sQgxcPFbW+CQ3tnMAsduVrp VhIC4YN+PyM7u1y3WWt7y//V11wl4SzSBSZ8A1Ssz+DZ+C1GDCsnmi2TVteRSXBPyM9s MwYfh7y+foIU8y0y4EnIZd27WR6EBWRWugOWMjc7X1bLmrh1yE/CuY9olyoF5klHQxWP 8VEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WOtK1nRA1Vrbf3F/hSp76TB/wxD0tiiEYIoU/pKXiTY=; b=eT4WEekaaPP311qENf0W05hWh5daCM07/10r69B/xb0Oi3yBDtb+zwKsbEEpulZOoE pjpcbyk3dSqM5cBqqk0ggfjPVeAOaIdcDhCtYHEWtjWvCYnEkRMxg05lSH1pQPoqIR2v gV/r41zpiubWLF78GdyAW6m7U4yE/FCanBVIJoJKmeU/pBvT8H2ElIIhuHnesxKqhASZ YMlSYKkuNWb4uJdNx7vzAJ6TrOWJyLZtNvxAlKtv0umqfK6tDhFo5YDM6dOAPRkCBjop ss3fagLgRIvRu9sGo1gYAS3h1ZFwZues8RCNdKZmJz0G75+ngOpA4X8WlfiaNPWAGtaj WVjg==
X-Gm-Message-State: AJaThX4UzV/TTdFWa4TH2GKT23syS8GyC4EE8GCQN16j3tYWK37Ta6rv BtYw3oddbNT2/K2FuBIQCLrzhJm86+dYoMrcOZ0=
X-Google-Smtp-Source: ABhQp+TLkIYYRLUbnacE9/JougSdPZ3vlmVxAeNWFcGvIYzM3Sxib7meTx5sLkaJiF698NWCaF+Mj4ERnVgxg+1d4bw=
X-Received: by 10.157.48.124 with SMTP id w57mr2385481otd.440.1509634249610; Thu, 02 Nov 2017 07:50:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.7.133 with HTTP; Thu, 2 Nov 2017 07:50:09 -0700 (PDT)
In-Reply-To: <6B80D720-C62B-444E-A0D0-E4839F5483D2@gmail.com>
References: <CAHiu4JPKNE6eL=P6TSb1NCMGpFvcX4BxTWFRcDR+BDQN9kWj2Q@mail.gmail.com> <6B80D720-C62B-444E-A0D0-E4839F5483D2@gmail.com>
From: "M. Ranganathan" <mranga@gmail.com>
Date: Thu, 2 Nov 2017 10:50:09 -0400
Message-ID: <CAHiu4JP2RTamZnfvwimPMAo+03vVn9y2gO+5z=R0DxUzwMOEHg@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: netmod@ietf.org
Content-Type: multipart/alternative; boundary="001a113b1bbc305af0055d011d19"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GL42qvaERnwjOXWtdYJpupAtu50>
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 14:50:52 -0000

Hi Mahesh,



On Wed, Nov 1, 2017 at 11:32 PM, Mahesh Jethanandani <
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> 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
>
>


-- 
M. Ranganathan