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

"M. Ranganathan" <mranga@gmail.com> Tue, 31 October 2017 14:10 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 F0BC713F3AC for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 07:10:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, HTML_MESSAGE=0.001, HTML_NONELEMENT_30_40=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 olymTbLb3bGV for <netmod@ietfa.amsl.com>; Tue, 31 Oct 2017 07:10:34 -0700 (PDT)
Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 6A15613B432 for <netmod@ietf.org>; Tue, 31 Oct 2017 07:10:27 -0700 (PDT)
Received: by mail-wm0-x22a.google.com with SMTP id t139so23531601wmt.1 for <netmod@ietf.org>; Tue, 31 Oct 2017 07:10:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7IPR7Ux+s+MqGQF3w9Rjr8qUfMljZeTSaOah8zcDGG0=; b=P7bkKCH5FfBqeFbn5vN3AvPsrythX7sFMcL5IX2Z1vRboEsMaWQTIRhi0iSNTDkyDX Ou9e6bt3r+FtE40I1/PCMqBXzb/su9xeumyc/UcbhjtMS8sZopiImsojghEp0YZaMlyy 0E11t/0Bs+s3MnFryMjqj0nAgsbqHzrwEwTCf7w38YM1MRFpRNySGEFHgz7f0Viuwfki 7PUwwbDdW/OLjMaK3VspQ95kSl1Rtjo1uI7MIkR/NCN4DDHnWXVCL1SBZxRHZJMdAS0n ozvtpp75Vpcv1YqLyZIb+8ovhUkRrawtsnBbGXQwVi4HFTcNloRxvxyX68VyA/3XrZau yRRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7IPR7Ux+s+MqGQF3w9Rjr8qUfMljZeTSaOah8zcDGG0=; b=URQRReFekJb1ILfo3/riGU9fAOFAG64URR+ZWyyxs3DQAWjsod2OsxHft6AGYs73/k BAT+UahRfO/G//wsTiRRKB5KUWr01Qrnlz4pM46VOjv9oPprCcUo5Wzd8aArDrpUSPf8 9nDONQ405WOxjMmCcTM+Kxw3mwwzZoceT23XLsef0mWhhgBkCcH0sDUzLsTrnkxPCFu6 A9yCRzi0KrDqISqk961B42D7P3LBY5GgsqYWi0iuMJGwPWuGkOxW1+Js2uXQtsvwa7gV LZEA9JWI18mXEvDQhqn2iEleJWl0GE9Kx/SamQWxGgWJ4VbNhU6V7rQo+C/a6aI65G76 sCEw==
X-Gm-Message-State: AMCzsaXup6BD2SLWHSXxVatpfQ/HcQx/0w1wij/lw5FVdsarnpp0cQqN gK3Cw1ZbSgzLC/h3QDFqx7/3mHUwBwTvTIzTplXM5A==
X-Google-Smtp-Source: ABhQp+RDEyOLBsqT/b3PuipUpSMr+vAsN/O2q/18VAmwGS0RU11kuaxfYuneErUxr0+vU+SY7UHJUMNITNnbIcK6ZVM=
X-Received: by 10.80.181.61 with SMTP id y58mr3088263edd.150.1509459025615; Tue, 31 Oct 2017 07:10:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.203.201 with HTTP; Tue, 31 Oct 2017 07:09:45 -0700 (PDT)
From: "M. Ranganathan" <mranga@gmail.com>
Date: Tue, 31 Oct 2017 10:09:45 -0400
Message-ID: <CAHiu4JPKNE6eL=P6TSb1NCMGpFvcX4BxTWFRcDR+BDQN9kWj2Q@mail.gmail.com>
To: netmod@ietf.org
Content-Type: multipart/alternative; boundary="f403045c0ac2066249055cd851ae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/utQip6bmGGcmEK_GXMECFtykkYY>
Subject: [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: Tue, 31 Oct 2017 14:10:37 -0000

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