Re: [bess] MIBDoc review of draft-ietf-bess-l2l3-vpn-mcast-mib-02.txt

Glenn Mansfield Keeni <glenn@cysols.com> Sat, 14 May 2016 07:09 UTC

Return-Path: <glenn@cysols.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5BED712D0C4; Sat, 14 May 2016 00:09:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 YieTAOkNFKlH; Sat, 14 May 2016 00:09:06 -0700 (PDT)
Received: from niseko.cysol.co.jp (niseko.cysol.co.jp [210.233.3.236]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 385AA12D0AE; Sat, 14 May 2016 00:09:05 -0700 (PDT)
Received: from [192.168.0.88] (cysvpn01.priv.cysol.co.jp [192.168.0.88]) (authenticated bits=0) by aso.priv.cysol.co.jp (8.14.9/8.14.9) with ESMTP id u4E78xpO050802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 14 May 2016 16:09:00 +0900 (JST) (envelope-from glenn@cysols.com)
To: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>, "bess@ietf.org" <bess@ietf.org>, mib-doctors@ietf.org
References: <56E7D219.7000902@orange.com> <56FBD402.9040102@cisco.com> <56FBDD81.6080502@cysols.com> <11152_1459347064_56FBDE78_11152_10229_1_56FBDE77.6030605@orange.com> <56FBE17E.5090609@cisco.com> <570C9586.7030905@cysols.com> <BLUPR0501MB17151A695785D4D8DD485633D4690@BLUPR0501MB1715.namprd05.prod.outlook.com> <b4249e61-0a11-2ce1-c846-67096858fa2c@cysols.com> <BLUPR0501MB17153C6269057F868C9E4969D4740@BLUPR0501MB1715.namprd05.prod.outlook.com>
From: Glenn Mansfield Keeni <glenn@cysols.com>
Message-ID: <bd92420d-1cef-db40-0a93-f174e723ec83@cysols.com>
Date: Sat, 14 May 2016 16:08:54 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <BLUPR0501MB17153C6269057F868C9E4969D4740@BLUPR0501MB1715.namprd05.prod.outlook.com>
Content-Type: text/plain; charset="iso-2022-jp"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/Tc-r2WGAq4F5xta3tYtB9G5Ez6g>
Subject: Re: [bess] MIBDoc review of draft-ietf-bess-l2l3-vpn-mcast-mib-02.txt
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 May 2016 07:09:08 -0000

Hi Jeffrey,
 > By "continuously" do you mean every possible value between 0 and 50?
 > With currently defined types, it's not like that; for tunnel types
 > potentially defined in the future, they may take any value (who
 > knows). It may even go beyond 50.
Yes. The doc will be read as a specification by implementors.
The specifications must be as precise as possible. It it varies
continuously between 0 and 50 then the current description is
correct. RFC 6514 sec 5.  PMSI Tunnel Attribute enumerates the
different cases. It appears that the attribute takes a set of
discrete values. I would recommend that the set of discrete values
must be specified and also explained in the description. This will
also be supplemented by the reference clause.
The object definition will look like
   l2L3VpnMcastPmsiTunnelAttributeId OBJECT-TYPE
      SYNTAX        OCTET STRING ( SIZE (0|L1|L2|L3) )
      MAX-ACCESS    not-accessible
      STATUS        current
      DESCRIPTION
          "Different tunnel types will have different sizes for
           this object.
           For tunnel type 'unconfigured', this will be a zero-length  
string.
           For tunnel type 'rsvpP2mp', this will be <explanation of the
           identifier> of length <calculated length of the identifier= L1>
           Etc.
          "
      REFERENCE
          "RFC 6514 sec 5.  PMSI Tunnel Attribute"
      ::= { l2L3VpnMcastPmsiTunnelAttributeEntry 4 }

 > for tunnel types
 > potentially defined in the future, they may take any value (who
 > knows). It may even go beyond 50.
The MIB is anchored to RFC 6514. It does not explicitly or implicitly  
provision for future tunnel types. It explicitly provisions for only
8 tunnel types. I would recommend that we stick
  to that line.

Glenn

On 2016/05/14 1:14, Jeffrey (Zhaohui) Zhang wrote:
> Hi Glenn,
>
> Before I post a new revision, I want to check with you on the following:
>
>>  >  > > 8.3   l2L3VpnMcastPmsiTunnelAttributeId OBJECT-TYPE
>>  >  Depending on the tunnel type, there could be different sizes.
>>  > Future tunnel types could have other sizes that not specified
>>  > today. I was thinking to just give a size
>>  > tPmsiTunnelAttributeId OBJECT-TYPE range so that it is flexible.
>>  > Is that ok?
>> I see that you have changed the size upper limit to 50.
>> If the size varies continuously from 0 to 50 the above description
>> is correct.
>> Please confirm, explain and cite appropriate reference. If the size
>> may change in the future that must be stated too.
>
> By "continuously" do you mean every possible value between 0 and 50? With currently defined types, it's not like that; for tunnel types potentially defined in the future, they may take any value (who knows). It may even go beyond 50.
>
> Given this, what's the best way to proceed?
>
> Thanks.
> Jeffrey
>