Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-l2-network-topology-09.txt

tom petch <> Fri, 23 August 2019 16:39 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 2CF37120105 for <>; Fri, 23 Aug 2019 09:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: 0.248
X-Spam-Status: No, score=0.248 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 90F9QA0gKBLw for <>; Fri, 23 Aug 2019 09:39:13 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id A681B120020 for <>; Fri, 23 Aug 2019 09:39:12 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=DO9W0/qrkEmcj0qiskHG9Ac8d3ZTCDhaMBtw/vjxa7nOclyi6o5RDOB8rTz5UNoEBQzqaSuSeGpIMtZmUCn7qaCHz1qmZueoQf6E28fYNObPvVejKp+Z46DPhnb9x9+2nxbGuXUbagxY4k1ofOFVj4yXrof/nRN7Qw3O5mLmdCj7/hUl94jcWpUd0DDfzHGLuGetsq5lnqH5oGwW7BlzN4rHdRkhCoTSZeavCcZf6523m7qgP9af2sBmilgIqA/22Vh8w9ue7wxCXKSD2lY7TTztuT9qYFdSy1QukphDqUO2g6Lln0Wtq7HD/181frKafoHnWoNjccg5Mm4NQPdcXg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mOPZRwXBS2/sA3zJ/WWEk1PiUeRKClTeLoWHVzkbFtY=; b=bsqCRhXYYSzPU0cxWOEZmCDCTiZh35prV5NAB9QL215sxpw5GDrSTcE1/+HvdLRVVgwxQIBLp19aAGFP1NVzR5aTVEKNLoDk3v6VvO4Orxmd5h/eCyHkqPJ+xS6/Hx3RFpNZmTV5xrtAn+9TmH4p3d79GM/6PUqeTwrPL3XMKV35QaillqX3lvOvSvUPHzTM9jQR4u+q6zejJKbjMchBg7GI0eHv60zlqa3S91UMkkaXKMvq8h/aV1OFUfd0gUBzm46LE6UZ0vmNG4SOYMPfivdLemLEAfoZ2lSdv/AUtz/SPuoHm8yzOcDod4GSk1e4dlux+OwAlCERXiVViii2tw==
ARC-Authentication-Results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mOPZRwXBS2/sA3zJ/WWEk1PiUeRKClTeLoWHVzkbFtY=; b=a4SxSGIQMMUBBAtJdPwwm71/AyuRPbDHt67pcenIG90/r6kgdfNec002Km/l23EX5StajGQxxG40SGht1DX1Cg//qc7/waGUOAl6iZoaTolUOb4IrrRmav2fCjtw1rYHIRXBRcJNlRaEFV1UWy/4kb7neqwIxrZ29vOgpHQmYRI=
Received: from ( by ( with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.10; Fri, 23 Aug 2019 16:39:09 +0000
Received: from ([fe80::a55b:4fb9:4253:2d1c]) by ([fe80::a55b:4fb9:4253:2d1c%6]) with mapi id 15.20.2199.011; Fri, 23 Aug 2019 16:39:09 +0000
From: tom petch <>
To: Qin Wu <>, "" <>
CC: Susan Hares <>
Thread-Topic: I-D Action: draft-ietf-i2rs-yang-l2-network-topology-09.txt
Thread-Index: AQHVWdEcO7vGRJjHZE6wpjtZc1pCJg==
Date: Fri, 23 Aug 2019 16:39:09 +0000
Message-ID: <012a01d559d1$1ff3b580$>
References: <>
Accept-Language: en-GB, en-US
Content-Language: en-US
x-clientproxiedby: LO2P265CA0080.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::20) To (2603:10a6:3:2b::20)
authentication-results: spf=none (sender IP is );
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: []
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 48f3af93-a657-4b9c-3912-08d727e86bd9
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:HE1PR0701MB3033;
x-ms-traffictypediagnostic: HE1PR0701MB3033:
x-ms-exchange-purlcount: 6
x-microsoft-antispam-prvs: <>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 0138CD935C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(136003)(396003)(39860400002)(199004)(189003)(13464003)(44716002)(44736005)(1556002)(62236002)(26005)(6116002)(3846002)(66066001)(446003)(50226002)(476003)(86362001)(2501003)(76176011)(81816011)(81686011)(52116002)(99286004)(5660300002)(2906002)(186003)(81166006)(110136005)(8936002)(14496001)(102836004)(71200400001)(386003)(6506007)(316002)(66574012)(71190400001)(53936002)(7736002)(4720700003)(478600001)(4326008)(14444005)(256004)(8676002)(81156014)(6246003)(305945005)(486006)(66446008)(64756008)(66476007)(66556008)(6306002)(66946007)(6436002)(9686003)(6512007)(966005)(61296003)(25786009)(229853002)(14454004)(6486002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB3033;; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None ( does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: QOEIf8+KZZe5ZrF4Y+lEvlyM/DhHixdhvJS2cNWa6GYjXDXZT/mAX6trcGeqLS/2QaT3Cc9oM4NEVSjGJ19yQvbzYDmfKVaXJrHayX7mGlWcHVFd9oopBYHU1j8PositAJB0y1/EEzGL9FbF6VdB0qp8THbP8n9E2gvyB211Z0/FIfQmEoPJYQA3jGcaNJr4HE2HRro2leSR+GHMd5EHBjejeZVGZrWDpfCC2MEU6mmZvbu3oh6/LV94bUgRTKjR1T29+e3wgZYfZZSqDA1MNDrYZHHIoN1QX6uS04IsZwx4CGg1wxBVroHDKAWbxtDa3qfOydKg42mCk3cggb4bdy3KCwuoYKF7Ub/0+Blqs/h0r1BoS/BwZ1d7dw5l/3Qg48Qb7xvWYhfG88H1yPoNAXXc+YafYrS5hVMbY8BlEas=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="gb2312"
Content-ID: <>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 48f3af93-a657-4b9c-3912-08d727e86bd9
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2019 16:39:09.6696 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: z0Owt99b7ZklmwoCvcGpmHs+qsAOwQI7jJ+OJKhXTOnvPC7jRPOqpyKHL31V3Y48dIUpV1EBDPId11/N2UylVA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB3033
Archived-At: <>
Subject: Re: [i2rs] I-D Action: draft-ietf-i2rs-yang-l2-network-topology-09.txt
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 23 Aug 2019 16:39:15 -0000


I said that I might look some more and I have.

I still think that you need references for 802.1ad and 802.1ah.  It is
not a question of whether or not they are imported, it is where does the
reader go to find out more about e.g. QinQ and that needs nailing down
to a specific document, and in the case of the IEEE, that needs a date,
as you give for 802.1Q.

Talking of which, I find that Rob imports that IEEE module from a
different document; 802.1Qcp; um.

And, in the same vein, I would like a reference for LLDP.


leaf rate
what are the units?

        leaf maximum-frame-size {
what is a frame, what headers are included and what not?  This is a
fraught topic

/ternimation point/termination point/

     leaf vlan-name {
any constraints on length or character set?  I like them although am
conscious that some YANG doctors do not.

     leaf encapsulation {
the description exceeds the permissible line length for an RFC

          type enumeration {
            enum in-use {
             value 0;
again a personal preference - I like to see zero kept for a special
purpose (e.g. cannot be determined) unless there is a strong reason to
use it (e.g. it is what the protocol has been using for years)

Tom Petch

----- Original Message -----
From: "Qin Wu" <>
Sent: Monday, August 19, 2019 8:08 AM

> v-09 is posted to address Tom's comments.
> The diff is:
> Becuase datatracker pyang integration tool issue, Data model
"ieee802-dot1q-types" can not been found
> And imported into the model defined in this draft.
> -Qin
> -----邮件原件-----
> 发件人: I-D-Announce [] 代表
> 发送时间: 2019年8月19日 15:04
> 收件人:
> 抄送:
> 主题: I-D Action: draft-ietf-i2rs-yang-l2-network-topology-09.txt
> A New Internet-Draft is available from the on-line Internet-Drafts
> This draft is a work item of the Interface to the Routing System WG of
the IETF.
>         Title           : A YANG Data Model for Layer-2 Network
>         Authors         : Jie Dong
>                           Xiugang Wei
>                           Qin Wu
>                           Mohamed Boucadair
>                           Anders Liu
> Filename        : draft-ietf-i2rs-yang-l2-network-topology-09.txt
> Pages           : 31
> Date            : 2019-08-19
> Abstract:
>    This document defines a YANG data model for Layer 2 network
>    topologies.
> Editorial Note (To be removed by RFC Editor)
>    Please update these statements within the document with the RFC
>    number to be assigned to this document:
>    o  "This version of this YANG module is part of RFC XXXX;"
>    o  "RFC XXXX: A YANG Data Model for Layer-2 Network Topologies";
>    o  reference: RFC XXXX
>    Please update the "revision" date of the YANG module.
> The IETF datatracker status page for this draft is:
> There are also htmlized versions available at:
> A diff from the previous version is available at:
> Please note that it may take a couple of minutes from the time of
submission until the htmlized version and diff are available at
> Internet-Drafts are also available by anonymous FTP at:
> _______________________________________________
> I-D-Announce mailing list
> Internet-Draft directories: or