[netmod] ACL draft defines ether-type as a string

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 18 July 2017 06:21 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 4D75D127735 for <netmod@ietfa.amsl.com>; Mon, 17 Jul 2017 23:21:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.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, HTML_MESSAGE=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 ispU1CMaK9z6 for <netmod@ietfa.amsl.com>; Mon, 17 Jul 2017 23:21:27 -0700 (PDT)
Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (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 B21581275AB for <netmod@ietf.org>; Mon, 17 Jul 2017 23:21:27 -0700 (PDT)
Received: by mail-pg0-x233.google.com with SMTP id u5so6927969pgq.3 for <netmod@ietf.org>; Mon, 17 Jul 2017 23:21:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:message-id:date:to:mime-version; bh=mqlwSDbuuhT6kBjHBKjFCce2ZAyTD7TGKd1Pkh4Vgzc=; b=srOHG5alBNwNxvdyKrWslzMvWmYfytCg49zV6vVbMN0Z7s3JOSQ8YLA2DJfiSstWMS 1mFNb/+KwvmdxrTkEA+lGLFKAMShq7Y/xVLlHRbs5WOSfTnVLAdxf0xZ2J+x9YCGr19i r8JcCFXbqUP0av1t+WS8lu2gDBW5Cz1rWo6KHld6DvCU/mhaBAxfLW4qbXBH7BiTVD6J 4lMw3tfpjZ1CuAoOkXvXsDOV45i7uXd/TlGKU+OgG6wBzNY256keZIPRAXKj+p2gGH/r p//yomtIyviB23l1tkGyornWHR/kK2mtV3i8HSbD8ylqEQgqYB9FxrDaracFzc2FB1K0 MAAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:message-id:date:to:mime-version; bh=mqlwSDbuuhT6kBjHBKjFCce2ZAyTD7TGKd1Pkh4Vgzc=; b=fvZkCR9uxtK+u90KPtpRtV6UfaPXoUgU3zyPQrqX4e8d/eAEwGTklUFgQ9T3iWsoDU CJiln6ueIcsHi4UVMUC/nT8+F5sm3UZaXVOIPsKrHgb/sN9eFbqlLlIIfTR7UYD3Fx7p seh+WUptGlBxjPxqL484+/kQnLa2XbloRwdOldJbs/ylCQg5MMLNKdn8R36xT3Bv5jPG 4CiS7rF4AzeajAPXm64gcOuK1YL7x4/4n+wa6EbPRWmHURDleTwAtvyDN2c79PH+XxsY COuZbJnOoJsBYCTBn+GeXSAN/DJ3e2UcFImvrBbBt8abO+ivLZdUT2rkY2XL2Y1m1uiE t29w==
X-Gm-Message-State: AIVw110Z8WTzsDQkf4iHyY+I+8NKiB9sSUnIzLjfVTm7mkTTI9blbeqg uTc7tmYrurU7FRz+C7Y=
X-Received: by 10.84.216.11 with SMTP id m11mr1450209pli.297.1500358887097; Mon, 17 Jul 2017 23:21:27 -0700 (PDT)
Received: from [10.24.20.224] ([128.107.241.191]) by smtp.gmail.com with ESMTPSA id n19sm2384665pfa.64.2017.07.17.23.21.25 for <netmod@ietf.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 23:21:26 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_15F8594B-BF25-4F7F-9ACA-8B2213E6214E"
Message-Id: <EC54089C-E8CD-4F7A-9B93-7FB228A66074@gmail.com>
Date: Tue, 18 Jul 2017 08:21:29 +0200
To: NetMod WG <netmod@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/XIz28_j5nHFmp2--I2oqxjYjpoQ>
Subject: [netmod] ACL draft defines ether-type as a string
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, 18 Jul 2017 06:21:29 -0000

The issue of ether-type defined as a string was discussed with participants from IEEE in IETF. It was generally agreed that since ether-types are well known values, and centrally managed, that they be defined as enumerations. There was some clarification sought by IEEE on which values need to be published. It was suggested that ether-types that are either private or do not have a protocol identified would be named as ether-type-0xXXXX where 0xXXXX represents the value assigned. All the remaining ether-types will be defined as enums with the well known names. 

As far as the impact of that on the ACL draft is concerned, it will be to remove all local definitions for ether-type from the draft, such as the one below and instead use the definition from IEEE, whenever that is done. It does however put a dependency on the IEEE model.

    leaf ether-type {
      type string {
        pattern '[0-9a-fA-F]{4}';
      }
      description
        "The Ethernet Type (or Length) value represented
         in the canonical order defined by IEEE 802.
         The canonical representation uses lowercase
         characters.

         Note: This is not the most ideal way to define
         ether-types. Ether-types are well known types
         and are registered with RAC in IEEE. So they
         should well defined types with values. For now
         this model is defining it as a string.

         There is a note out to IEEE that needs to be
         turned into a liaison statement asking them to
         define all ether-types for the industry to use.";
      reference
        "IEEE 802-2014 Clause 9.2";
    }
    reference
      "IEEE 802: IEEE Standard for Local and Metropolitan
       Area Networks: Overview and Architecture.";
  }

Mahesh Jethanandani
mjethanandani@gmail.com