[Teas] "admin-group" in draft-ietf-teas-yang-te-04

"Scharf, Michael (Nokia - DE)" <michael.scharf@nokia.com> Mon, 26 September 2016 14:45 UTC

Return-Path: <michael.scharf@nokia.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BE8A12B29F for <teas@ietfa.amsl.com>; Mon, 26 Sep 2016 07:45:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 t-pR_3xkDMs8 for <teas@ietfa.amsl.com>; Mon, 26 Sep 2016 07:45:49 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (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 ECB4E12B221 for <teas@ietf.org>; Mon, 26 Sep 2016 07:45:48 -0700 (PDT)
Received: from fr712umx4.dmz.alcatel-lucent.com (unknown [135.245.210.45]) by Websense Email Security Gateway with ESMTPS id 96A7B5A4A5818 for <teas@ietf.org>; Mon, 26 Sep 2016 14:45:43 +0000 (GMT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (fr712usmtp2.zeu.alcatel-lucent.com [135.239.2.42]) by fr712umx4.dmz.alcatel-lucent.com (GMO-o) with ESMTP id u8QEjjhh022943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <teas@ietf.org>; Mon, 26 Sep 2016 14:45:46 GMT
Received: from FR711WXCHHUB01.zeu.alcatel-lucent.com (fr711wxchhub01.zeu.alcatel-lucent.com [135.239.2.111]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id u8QEjTnB008586 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <teas@ietf.org>; Mon, 26 Sep 2016 16:45:43 +0200
Received: from FR712WXCHMBA15.zeu.alcatel-lucent.com ([169.254.7.135]) by FR711WXCHHUB01.zeu.alcatel-lucent.com ([135.239.2.111]) with mapi id 14.03.0301.000; Mon, 26 Sep 2016 16:45:37 +0200
From: "Scharf, Michael (Nokia - DE)" <michael.scharf@nokia.com>
To: "teas@ietf.org" <teas@ietf.org>
Thread-Topic: "admin-group" in draft-ietf-teas-yang-te-04
Thread-Index: AdIYBKQ62gYe+l08Rj6Axc3eXKMI1w==
Date: Mon, 26 Sep 2016 14:45:36 +0000
Message-ID: <655C07320163294895BBADA28372AF5D48AB7B9F@FR712WXCHMBA15.zeu.alcatel-lucent.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.38]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/HPDb4H8gIdcYR3DZP5G8sdbmjrg>
Subject: [Teas] "admin-group" in draft-ietf-teas-yang-te-04
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Sep 2016 14:45:50 -0000

Hi all,

I try to understand this definition of draft-ietf-teas-yang-te-04:

     typedef admin-group {
       type binary {
         length 32;
       }
       description
         "Administrative group/Resource class/Color.";
     }

Is this definition correct? Or would this be "length 4"?

Both RFC 6020 and RFC 7950 define the length parameter of binary as follows: "The length of a binary value is the number of octets it contains."

As a result, this definition seems to imply a 32 octet value. Is this the intention?

Until draft-saad-teas-yang-te-01, the value apparently was uint32. What was the motivation for changing this in draft-saad-teas-yang-te-02?

Thanks a lot!

Michael