Re: [netmod] WG Last Call: draft-ietf-netmod-acl-model-14

Eliot Lear <lear@cisco.com> Wed, 13 December 2017 15:00 UTC

Return-Path: <lear@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 672B5126C3D for <netmod@ietfa.amsl.com>; Wed, 13 Dec 2017 07:00:35 -0800 (PST)
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 QUBW0s7bfgaf for <netmod@ietfa.amsl.com>; Wed, 13 Dec 2017 07:00:30 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9B17124B0A for <netmod@ietf.org>; Wed, 13 Dec 2017 07:00:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13816; q=dns/txt; s=iport; t=1513177230; x=1514386830; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=MY4r0JTJGpjG4rOOLU/WkAa7jlaWXYJEDjWAwsub3rY=; b=JW5m7msxjgFednTsH3hHotGud1bhiWw8vAZmfsw5VVCW23WnsflGdHXZ H26Ec9wc+MaG7vegVPfo7jK/C4iVi5j5h3fxXRIJfM4ih2JA2S242EGf/ x0vXg+G2w3qcSU4bMaHyZwSoLpyyutjDbY3NtpLav3KWU95TPYzY7Lfak M=;
X-Files: signature.asc : 481
X-IronPort-AV: E=Sophos;i="5.45,397,1508803200"; d="asc'?scan'208,217";a="839148"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2017 15:00:28 +0000
Received: from [10.61.83.169] (ams3-vpn-dhcp5034.cisco.com [10.61.83.169]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id vBDF0RlJ023268; Wed, 13 Dec 2017 15:00:27 GMT
To: "Einar Nilsen-Nygaard (einarnn)" <einarnn@cisco.com>, Mahesh Jethanandani <mjethanandani@gmail.com>, Kristian Larsson <kristian@spritelink.net>
Cc: "netmod@ietf.org" <netmod@ietf.org>
References: <20171102074318.GC12688@spritelink.se> <6359CD50-0F0D-4315-A58B-1D4CF0583475@gmail.com> <ac9fc676-80f7-723d-9a85-c99fbb122476@cisco.com> <20171102.132634.1363976895007772742.mbj@tail-f.com> <c90aa6c1-340e-2225-f960-73c1395041c5@cisco.com> <20171102164149.GD12688@spritelink.se> <6d6a1b2a-23f8-8bff-a01e-6d13cc73d92f@cisco.com> <20171103084231.GE12688@spritelink.se> <B63D5700-C13B-4D2D-9439-0E4471906374@gmail.com> <a75cf59c-7f5e-0b3b-0ace-ec9be9f67116@cisco.com> <37FA28D8-6799-491C-94CB-04237766E4D3@cisco.com>
From: Eliot Lear <lear@cisco.com>
Message-ID: <faa1b119-c7e7-7b15-7af2-86e2074a5eba@cisco.com>
Date: Wed, 13 Dec 2017 16:00:26 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <37FA28D8-6799-491C-94CB-04237766E4D3@cisco.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="A3wKpPKuugt4Q2h8A5sM8Hp9mCglvGm85"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/zwSqQf2kyqO_WWb0msnZnSylyx0>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-acl-model-14
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: Wed, 13 Dec 2017 15:00:35 -0000

I like this because ACLs will be used in many different ways, and
expecting that a single model be augmented for each attachment seems a
bit unrealistic.

Eliot

On 12/13/17 3:57 PM, Einar Nilsen-Nygaard (einarnn) wrote:
> Perhaps like this, as an augmentation to the interface:
>
>       augment /if:interfaces/if:interface:
>         +--rw ingress-acls
>         |  +--rw acl-sets
>         |     +--rw acl-set* [name]
>         |        +--rw name              -> /access-lists/acl/name
>         |        +--rw type?             -> /access-lists/acl/type
>         |        +--ro ace-statistics* [name] {interface-stats}?
>         |           +--ro name               ->
>     /access-lists/acl/aces/ace/name
>         |           +--ro matched-packets?   yang:counter64
>         |           +--ro matched-octets?    yang:counter64
>         +--rw egress-acls
>            +--rw acl-sets
>               +--rw acl-set* [name]
>                  +--rw name              -> /access-lists/acl/name
>                  +--rw type?             -> /access-lists/acl/type
>                  +--ro ace-statistics* [name] {interface-stats}?
>                     +--ro name               ->
>     /access-lists/acl/aces/ace/name
>                     +--ro matched-packets?   yang:counter64
>                     +--ro matched-octets?    yang:counter64
>
>
> Could also put an “aces” container above both these & rename
> “ingress-acls" to “ingress”, etc. to give a single root for the
> augmentation if preferred.
>
> Cheers,
>
> Einar
>
>
>> On 6 Dec 2017, at 19:43, Eliot Lear <lear@cisco.com
>> <mailto:lear@cisco.com>> wrote:
>>
>>
>>
>> On 12/6/17 7:23 PM, Mahesh Jethanandani wrote:
>>> How does one move the interface attachment point, currently an
>>> 'interface-ref', to an augmentation of the if:interfaces/interface,
>>> inside of the ‘acl’  container? Down the line we might need to have an
>>> container for "attachment points" to accommodate the possibility of
>>> attaching an ACL either to an interface or “globally”.
>>>
>>
>> Keeping in mind that one use is that an ACL doesn't attach to an
>> interface at all.
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org <mailto:netmod@ietf.org>
>> https://www.ietf.org/mailman/listinfo/netmod
>