Re: [Lsr] Last Call: <draft-ietf-ospf-yang-23.txt> (YANG Data Model for OSPF Protocol) to Proposed Standard

tom petch <daedulus@btconnect.com> Thu, 01 August 2019 15:47 UTC

Return-Path: <daedulus@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 5ACE912015E; Thu, 1 Aug 2019 08:47:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.248
X-Spam-Level:
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: 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 OmZFV1oDJyum; Thu, 1 Aug 2019 08:47:11 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70120.outbound.protection.outlook.com [40.107.7.120]) (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 58C24120058; Thu, 1 Aug 2019 08:47:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WperW6LBVMkuA50vmDQYhXhz7Hz1oYttcz0djknB4a9k4F8oEoA8V0gu2aSGR72nG+TaX8PkZd3OhwJLj6Sy8UyFdEYJWLws8gVUsUUyGt0xoTLtPn8VY3eswsI/5qydGbD39g4BuxFLJexvsAVLDXsB+itbiPvJy7yesGfyZbvSB62NnVLmPRKCbYtVlT7hGhkCb25r+PD8GX+zCCzQ4kIZeoDW9vXLGggFKttD7VHPJE0pEmilGlK4xwoO/nfcDbQOCyx+kBg+Zw9nhQ3irlwzRYzajWPywUHBkoh9MoJBZaVD1ENNLp7hYsPgq2klLaZRizKHG6vgg4UKm8XkGg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+o629gnaHFGqHIWMjA4Tl+cAwkFeI5OkQrqqBAGz0v4=; b=A1jKACXjvaEDqIXPIwYViJqQLNJd5bHsIDlEpmYCanQ/8BNn6xRz6/HN8M1k/WPgSO2hkH5zVIX5uhzBO0EIYXjFrCQgznplGILUrIUDbm96jwZx9YtAClovw94EPI4uSC+/s5jgaKEEpMH24nfw6NHN+Xt2U7J1nl1RdflFTxHrw1njmGjp3VxUdHqxAkOAqQbsj2iqXE9ksglSM/+UgawaF9mWaqV2hbv6gURji0Lxr0EYcK+95oIVeAxj0XLErZBAGL/qcLqnA+NTZ5owK54BwWR5DqH8uWKD5wpIQnlwilwjCCcbHQFXznmbPEKOIOU+qD6A1fud4oEAkgruQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=btconnect.com;dmarc=pass action=none header.from=btconnect.com;dkim=pass header.d=btconnect.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+o629gnaHFGqHIWMjA4Tl+cAwkFeI5OkQrqqBAGz0v4=; b=LZBLShBcqb78MLICX7M6g/Ptj/zKCsWRY0stpTKk+LoPmMSAMZAUUCAJx712664Hclgm+3GgBZFi9LmCPfZtcuq2OtSQAyjAvxabAM3LmRLqZ4iUeZeKCyhgLWZTxlhj27Me6yp0Zfy32WreVTF/Qc652TGU63AGW3LnwhqTSPs=
Received: from AM6PR07MB6072.eurprd07.prod.outlook.com (20.178.95.153) by AM6PR07MB5286.eurprd07.prod.outlook.com (20.177.196.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.11; Thu, 1 Aug 2019 15:47:07 +0000
Received: from AM6PR07MB6072.eurprd07.prod.outlook.com ([fe80::61d0:220c:6e6f:16b8]) by AM6PR07MB6072.eurprd07.prod.outlook.com ([fe80::61d0:220c:6e6f:16b8%5]) with mapi id 15.20.2136.010; Thu, 1 Aug 2019 15:47:07 +0000
From: tom petch <daedulus@btconnect.com>
To: ietf <ietf@ietf.org>
CC: "lsr@ietf.org" <lsr@ietf.org>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>, "lsr-chairs@ietf.org" <lsr-chairs@ietf.org>, Stephane Litkowski <stephane.litkowski@orange.com>
Thread-Topic: [Lsr] Last Call: <draft-ietf-ospf-yang-23.txt> (YANG Data Model for OSPF Protocol) to Proposed Standard
Thread-Index: AQHVSIBf3NKxyhaKV0y05/sL0c8LAg==
Date: Thu, 01 Aug 2019 15:47:07 +0000
Message-ID: <005901d54880$467e6540$4001a8c0@gateway.2wire.net>
References: <156208651736.23780.6260088684182501848.idtracker@ietfa.amsl.com> <00bb01d5334e$f5f16000$4001a8c0@gateway.2wire.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0439.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::19) To AM6PR07MB6072.eurprd07.prod.outlook.com (2603:10a6:20b:9f::25)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=daedulus@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.211.103]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: be1720bc-8069-4698-e8d1-08d7169781d6
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:AM6PR07MB5286;
x-ms-traffictypediagnostic: AM6PR07MB5286:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <AM6PR07MB528676A313DFE218FD33B91AC6DE0@AM6PR07MB5286.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01165471DB
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(136003)(376002)(346002)(366004)(39860400002)(51444003)(13464003)(199004)(189003)(6512007)(76176011)(50226002)(4720700003)(14444005)(316002)(7736002)(61296003)(446003)(6306002)(53936002)(256004)(2906002)(81686011)(1556002)(62236002)(44716002)(81166006)(3846002)(6116002)(6506007)(6916009)(6246003)(81816011)(71190400001)(14496001)(305945005)(66066001)(386003)(102836004)(81156014)(9686003)(4326008)(8936002)(8676002)(478600001)(71200400001)(68736007)(66556008)(64756008)(66446008)(44736005)(486006)(6436002)(52116002)(14454004)(25786009)(966005)(6486002)(86362001)(66476007)(186003)(476003)(54906003)(26005)(99286004)(229853002)(66574012)(66946007)(5660300002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM6PR07MB5286; H:AM6PR07MB6072.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: nboYdI4LVK6RnK0VAB3CS/+/oepCfAVyagi2yH8J9gxd/udw3xlPsiLDr/lzcpJ2L0HWTiZP+bogn3agqZoGc4/xE4xJLanRo8uF77cxT30+wr95r2rv6tzq7MxMorQdr/QRwIvhj7Xl0ABFKpHQ6kgXRBLEZIaftazbE68oQb5/AAZkLP52DjxNLhozwgI4Bmv4gOdyV4Jfajmc65tUen0/VPqkCo22ZaLQQ1HZW0wHGFaM1NzQudBC5WuwvMS4WSMeaSz3Gh2nH1Oq2NTOMeYpYRdgL1Ivhov+OmQ0QFLSXVJdy7+TCJ4Inurbwlo3HI9u/LNjuIEzaxM9o8dPQOqb1F4FnQ/b7H9l1wJVz9eguAWw48yCRsXnjx/WzJ10YzWOOhK5hLWu4EDqaAfQ8WIsiA2rerwKc6XojzvbAWE=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <12E22009905A7348944AA7C2665875CC@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: be1720bc-8069-4698-e8d1-08d7169781d6
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2019 15:47:07.3960 (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: daedulus@btconnect.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5286
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/hR7VXEusC8-23t5cTvbS91qohko>
Subject: Re: [Lsr] Last Call: <draft-ietf-ospf-yang-23.txt> (YANG Data Model for OSPF Protocol) to Proposed Standard
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: Thu, 01 Aug 2019 15:47:13 -0000

I have been looking some more at this I-D and have some more doubts and
queries.

s.2.2
OLD
   The area and area/interface containers respectively define the OSPF
   configuration and operational state for OSPF areas and interfaces.

NEW
   The area and area/interface containers define the OSPF
   configuration and operational state for OSPF areas and interfaces
respectively.

The current text suggests area corresponds to configuration and
area/interface to operational state!

OLD
       "WG Web:   <http://datatracker.ietf.org/group/lsr/>
NEW
       "WG Web:   <https://datatracker.ietf.org/group/lsr/>


I am puzzled by the use of derived-from...

      container router {
         when "derived-from-or-self(../../header/type, "
             + "'ospf:ospfv2-router-lsa')" {
why is this derived-from-or-self when I can see nothing derived from the
base type?

       container network {
         when "derived-from-or-self(../../header/type, "
             + "'ospfv2-network-lsa')" {
ditto

       container summary {
         when "derived-from(../../header/type, "
            + "'ospfv2-summary-lsa-type')" {
why is this not derived-from-or-self when there are derivations from the
base type?

         when "derived-from(../../header/type, "
            + "'ospfv2-external-lsa-type')" {
           description
             "Only applies to AS-external LSAs and NSSA LSAs.";
Yes, since they are derived-from external-lsa but external-lsa per se
will be excluded which I assume is intended


     identity operation-mode { description  "OSPF operation mode.";
I cannot see any explanation of where this is used or what it is

router capabilities (RFC7770) appears in the YANG but is not itself a
feature; is there an assumption that all current routers will support
RFC7770?

lsa-id
sometimes dotted-quad, sometimes uint32, sometimes both; why?

     grouping ospfv2-lsa {
...
       container header {
         must "(derived-from(type, "
...
           description
             "Opaque type and ID only apply to Opaque LSAs.";
The must and the description match but why are they part of container
header and  not part of  the leaves?

Tom Petch

----- Original Message -----
From: "tom petch" <ietfc@btconnect.com>
Sent: Friday, July 05, 2019 5:30 PM

I think that this could do with a few tweaks.

RFC 7884 is in the YANG module but not in the I-D references nor in the
body of the I-D.

The names of the TLV are not quite the same as in IANA and since new TLV
are not regarded as updates to RFC7770, then precision is called for in
order to find them with confidence via IANA

I cannot find router-address-tlv in IANA nor is there a YANG reference
clause and since there was some confusion over router-id in 2018, this
is one I want to check against its RFC, whatever that is.

The RPC can disrupt routing; elsewhere I have seen such actions limited
by a default
nacm:deny all
so users have to be positively configured to invoke the RPC.

I am unclear about rpc clear-neighbor.  Yes, it clears the adjacency but
what then?  Is it held down, allowed to come back up or what?

rpc or action?  I have yet to work out the pros and cons of each but was
rather expecting action as opposed to rpc for these.

leaf cost {type uint16
mostly have a range, but some do not; should they?

 typedef ospf-metric { type uint32 {  range "0 .. 16777215";
but
 leaf cost { type ospf-metric {  range "0..16777214";
looks odd; if intended, I suggest adding a note of explanation

some leaf metric are type ospf-metric others are type uint16; again
looks odd (but may be intended)

references to bfd-yang are not consistent
 RFC YYYY - YANG Data Model for Bidirectional
         Forwarding Detection (BFD).
 draft-ietf-bfd-yang-xx.txt:
     YANG Data Model for Bidirectional Forwarding Detection (BFD)";
I think the former clearer

I notice that many of the YANG enumeration have numeric values, others
do not, which makes me curious; not wrong but since YANG does not put
them on the wire, I think that having no numeric value is commoner

With priority
e.g.  list unreserved-bandwidth {
     leaf priority {
which is high and which is low?

Likewise with boolean e.g.
           leaf best { type boolean; description
               "Indicates if the alternate is the preferred.";
does true mean the alternate is preferred?

This I-D is big - 125pp - and I will not finish reviewing it by July
17th but expect to do so some time later in the month - I will post
again when I have.

Tom Petch

----- Original Message -----
From: "The IESG" <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: <lsr@ietf.org>; "Stephane Litkowski"
<stephane.litkowski@orange.com>; <draft-ietf-ospf-yang@ietf.org>;
<lsr-chairs@ietf.org>; <aretana.ietf@gmail.com>
Sent: Tuesday, July 02, 2019 5:55 PM
Subject: [Lsr] Last Call: <draft-ietf-ospf-yang-23.txt> (YANG Data Model
for OSPF Protocol) to Proposed Standard


>
> The IESG has received a request from the Link State Routing WG (lsr)
to
> consider the following document: - 'YANG Data Model for OSPF Protocol'
>   <draft-ietf-ospf-yang-23.txt> as Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
final
> comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2019-07-17. Exceptionally, comments may
be
> sent to iesg@ietf.org instead. In either case, please retain the
beginning of
> the Subject line to allow automated sorting.
>
> Abstract
>
>
>    This document defines a YANG data model that can be used to
configure
>    and manage OSPF.  The model is based on YANG 1.1 as defined in RFC
>    7950 and conforms to the Network Management Datastore Architecture
>    (NDMA) as described in RFC 8342.
>
>
>
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-ospf-yang/
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/doc/draft-ietf-ospf-yang/ballot/
>
>
> No IPR declarations have been submitted directly on this I-D.
>
>
> The document contains these normative downward references.
> See RFC 3967 for additional information:
>     rfc4973: OSPF-xTE: Experimental Extension to OSPF for Traffic
Engineering (Experimental - Independent Submission Editor stream)
>     rfc1765: OSPF Database Overflow (Experimental - IETF stream)
>
>
>
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
>