[Lsr] draft-ietf-ospf-yang

tom petch <ietfc@btconnect.com> Tue, 04 December 2018 17:44 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF85B130FEB; Tue, 4 Dec 2018 09:44:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.738
X-Spam-Level: *
X-Spam-Status: No, score=1.738 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 SiGFomIq8wSw; Tue, 4 Dec 2018 09:44:56 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80099.outbound.protection.outlook.com [40.107.8.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DB5D131011; Tue, 4 Dec 2018 09:44:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VjQEz4mVTg0Damvg97CHmJah21+t/ER0aVOZ0ENjTaA=; b=eeDgZhkp7YX/r2HEH+g2l6/YfVceIyrDlJ0ypeNRSWe1v3N0T2vGCtPOu/9Z5gU76EPKC2eCP9rYdjP90BECcKShIU2+ylKMGE+t3pcn/lJVtnV4HsaZhhd/YjJc1arp4QmRSQkq02ZlSYwoxilFO+obcFeJb0sJR3TcahXg+kc=
Received: from VI1PR07MB4717.eurprd07.prod.outlook.com (20.177.54.82) by VI1PR07MB5983.eurprd07.prod.outlook.com (20.178.123.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.8; Tue, 4 Dec 2018 17:44:53 +0000
Received: from VI1PR07MB4717.eurprd07.prod.outlook.com ([fe80::1575:d33b:33dd:c7c4]) by VI1PR07MB4717.eurprd07.prod.outlook.com ([fe80::1575:d33b:33dd:c7c4%5]) with mapi id 15.20.1404.016; Tue, 4 Dec 2018 17:44:53 +0000
From: tom petch <ietfc@btconnect.com>
To: "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>, "Acee Lindem (acee)" <acee@cisco.com>, "lsr@ietf.org" <lsr@ietf.org>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>
Thread-Topic: draft-ietf-ospf-yang
Thread-Index: AQHUi/kQHwUMS6pa80+jhemyQs3Dxg==
Date: Tue, 4 Dec 2018 17:44:53 +0000
Message-ID: <00ce01d48bf8$be184980$4001a8c0@gateway.2wire.net>
References: <576_1542796445_5BF5349D_576_261_1_9E32478DFA9976438E7A22F69B08FF924B7731BE@OPEXCLILMA4.corporate.adroot.infra.ftgroup> <58C71B78-1C6A-4FB5-B64A-7A38628028C1@cisco.com> <19021_1543406661_5BFE8445_19021_254_3_9E32478DFA9976438E7A22F69B08FF924B776CB0@OPEXCLILMA4.corporate.adroot.infra.ftgroup> <31F7DFA5-7BB5-4E79-AFD9-829AE34BC485@cisco.com> <26904_1543488239_5BFFC2EF_26904_436_1_9E32478DFA9976438E7A22F69B08FF924B777AA8@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: CWLP265CA0072.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:12::36) To VI1PR07MB4717.eurprd07.prod.outlook.com (2603:10a6:803:69::18)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [86.139.215.184]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB5983; 6:MlPZHxOkNbd5igGiKg7gtHaFh4RSr0ybza/04Qi2Y8bsJkZwv/7o3IG0eOla23j4Ct6N5uF5iDM+u+YMctTliEhwtidd1EHJjpM6peGACF4lbBQGx9zoKVRo2x2Tp8+DAdu35Dd82meQQ5YBgs08IO7S5ZJoHwSFYH8Y6MYZwr8eQVmUb7g3UqkQSDALRs/LOuv32gJ/FzzasN7syciLNj2FMhgLI/CEPECBUUendzEh9pLeigOvG85DSjti2yIZqMiIv/BtCA6HOEGP8CPsluSKR/yqxIMh0K5hUzcgcotoVnkjp41efCRVNfqwzDXt1AJqqQSTfBY0CFKrTHn2OHWqZd72fzXjACuorYqX1uMEsziD0nqpm7kP14QsY8N265lY+yC71SV7BR0qAoy+MG7PGZwcpMab87XFNhsa0Zh28OvreWWccICNea7h+MSIK2MIgLjose71whQMG39u2g==; 5:khUDpHttA/gg8SiE1PSkydQQvRqVLxhpZH6TIcG/rBth5nsgQEYxw0hU6ncOQBPB+TSj2PFhId76XeaewnGDHOzs4SbZBmnb65VmEKvK6QCBxV3NQXxSAnm5bEubXvOZvBPh8Zc31eKY0fZiXdOt/r/7zS+30wU5aJv5RB+SMq4=; 7:eidPQHRts+tfygSUuAPRm1yWbMpBz5cW8OIQQXVcIFwr2cep6NKTOhPTJS5LDoQDDYT3US3fWYylbtn7Z9lTw3LcpsnkafUgliLQvngASqVPxRO8L6IfuWNjEuy8e93iqqxicwrdbTUrxge3izzDsA==
x-ms-office365-filtering-correlation-id: e638ebd3-ce79-420d-97b5-08d65a1032af
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR07MB5983;
x-ms-traffictypediagnostic: VI1PR07MB5983:
x-microsoft-antispam-prvs: <VI1PR07MB5983C73787CBD039238F4F14A0AF0@VI1PR07MB5983.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231455)(999002)(944501493)(52105112)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:VI1PR07MB5983; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB5983;
x-forefront-prvs: 0876988AF0
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(366004)(376002)(396003)(136003)(199004)(189003)(81166006)(105586002)(14454004)(106356001)(66066001)(102836004)(478600001)(305945005)(476003)(3846002)(76176011)(486006)(6506007)(52116002)(7736002)(186003)(446003)(6116002)(26005)(386003)(2906002)(2501003)(33896004)(84392002)(25786009)(1556002)(97736004)(99286004)(8936002)(81156014)(256004)(6486002)(110136005)(8676002)(6436002)(316002)(68736007)(44736005)(86152003)(9686003)(6512007)(53936002)(5660300001)(3480700005)(14496001)(86362001)(2201001)(93886005)(71200400001)(71190400001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB5983; H:VI1PR07MB4717.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: yFy0wLlmtJP4yqGRIytWB/H3wvj9X1pPU3z0tVBAX5YfUxa77pox/3l3f23JezGim3jPNcOEcfzg29jxwdFxYK4JYegnlxjU3hVzhcnQxHPCak317pIWjlybx/x/KRq7eFai9lb9jLtoXl/ZiKCnaCm0Xhlu/Uj16GdK9DYCmRrl3dmlrGZ1hvK5Efgg1MMqhk2oO9Wu92UEDyRQwaVzVaE8LEI5F8AENZtPe40zzbRDR/6lw/9rv4L80zeJ3fQ+nB3NuZLHSyPc2IHT6+QirWBBysW8HtI3xl0nT5Z6G3aUI1njPsDt09fnDI2RM/UURH/MbuCOW0TDOq46WUeqZWz2LVat0He4/Z2iEsGnGik=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D15919C3B6F16341A0A66225DA599A8C@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e638ebd3-ce79-420d-97b5-08d65a1032af
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2018 17:44:53.7880 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5983
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/8MpT7QkCsO6Xu2hXNCnstbPM2DI>
Subject: [Lsr] draft-ietf-ospf-yang
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Dec 2018 17:45:09 -0000

The router id in this I-D confuse me.

RFC8294 defines
     typedef router-id { type yang:dotted-quad;

ospf-yang defines
 leaf ipv4-router-id { type inet:ipv4-address;

draft-ietf-teas-yang-te-types defines
  typedef te-node-id {     type yang:dotted-quad;
 ...       This attribute is mapped to Router ID ....

Three different YANG types for a router id.

Why?

Behind this, ospf-yang gives as references for a router te id
RFC3630(V2) and RFC5329(V3).  Reading these, my take is that a router id
is needed for te but that the existing id should be used where possible
i.e. creating an additional identifier for the same instance of the same
entity is A Bad Thing (which sounds like a good general principle).
With two objects in the lsr protocols, that would appear to make at
least three identifiers for the same instance of the same entity.

Why?

I copy Stephane on this since the same issues apply to the other lsr
protocol, mutatis mutandi.

Tom Petch