Re: [Bgp-autoconf] Short comparison of the different documents.

Randy Bush <randy@psg.com> Tue, 17 March 2020 16:48 UTC

Return-Path: <randy@psg.com>
X-Original-To: bgp-autoconf@ietfa.amsl.com
Delivered-To: bgp-autoconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B1CB3A084C for <bgp-autoconf@ietfa.amsl.com>; Tue, 17 Mar 2020 09:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 e9JgCjDBf2HK for <bgp-autoconf@ietfa.amsl.com>; Tue, 17 Mar 2020 09:48:46 -0700 (PDT)
Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CBD783A0882 for <bgp-autoconf@ietf.org>; Tue, 17 Mar 2020 09:48:46 -0700 (PDT)
Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.90_1) (envelope-from <randy@psg.com>) id 1jEFOQ-0005cH-VB; Tue, 17 Mar 2020 16:48:39 +0000
Date: Tue, 17 Mar 2020 09:48:34 -0700
Message-ID: <m2fte77wrh.wl-randy@psg.com>
From: Randy Bush <randy@psg.com>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>
Cc: Jeffrey Haas <jhaas@pfrc.org>, Warren Kumari <warren@kumari.net>, "bgp-autoconf@ietf.org" <bgp-autoconf@ietf.org>
In-Reply-To: <ee273b6c53494af88708836858a40439@huawei.com>
References: <CAHw9_i+0rDUJOR3mAMAh9+whaKX0Koc_VaibbfX1zRzocOAvhw@mail.gmail.com> <20200304220727.GC32422@pfrc.org> <fd21d65cfa0f46b9a02dba4048bc260d@huawei.com> <m2sgidbae5.wl-randy@psg.com> <ee273b6c53494af88708836858a40439@huawei.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/26.3 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bgp-autoconf/fkA-LEK7fRJYXgzHP5HM8UJjbvQ>
Subject: Re: [Bgp-autoconf] Short comparison of the different documents.
X-BeenThere: bgp-autoconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP autoconfiguration design team discussion list <bgp-autoconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bgp-autoconf/>
List-Post: <mailto:bgp-autoconf@ietf.org>
List-Help: <mailto:bgp-autoconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bgp-autoconf>, <mailto:bgp-autoconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2020 16:49:05 -0000

jimmy,

i was perhaps a little subtle.  i contend that the attributes are not
decidable by anyone other than the op.

see Attribute List in draft-ymbk-lsvr-l3dl-ulpc

3.  Upper Layer Protocol Configuration PDU

   To communicate parameters required to configure peering and operation
   of Upper Layer Protocols at IP layer 3 and above, e.g., BGP sessions
   on a link, a neutral sub-TLV based Upper Layer Protocol PDU is
   defined as follows:

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    Type = 9   |                 Payload Length                ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~               |   ULPC Type   |   AttrCount   |               ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~       Attribute List ...      |    Sig Type   | Signature Len ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   ~               |                 Signature ...                 |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The Type and Payload Length are defined in [I-D.ietf-lsvr-l3dl].

   ULPC Type: An integer denoting the type of the uper layer protocol

   0     :  Reserved
   1     :  BGP
   2-255 :  Reserved

   The AttrCount is the number of attribute sub-TLVs in the Attribute
   List.

   The Attribute List is a, possibly null, set of sub-TLVs describing
   the configuration attributes of the specific upper layer protocol.

   An Attribute consists of a one octet Attribute Type, a one octet
   Attribute Length of the number of octets in the Attribute, and a
   Payload of arbitrary length up to 253 octets.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Attr Type = 1 |    Attr Len   |            Payload            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+