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

"Acee Lindem (acee)" <acee@cisco.com> Tue, 30 July 2019 01:22 UTC

Return-Path: <acee@cisco.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 193901203C4; Mon, 29 Jul 2019 18:22:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=aCpMc/zg; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=dermRsbi
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 Yl_jpHoB4tDF; Mon, 29 Jul 2019 18:22:35 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F368120058; Mon, 29 Jul 2019 18:22:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7814; q=dns/txt; s=iport; t=1564449755; x=1565659355; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=v8H6w+X0rxsc8Ii5u0u9f9769eBFkHDRFVNotzxIx6s=; b=aCpMc/zgJREGBrfh3jmJ299dMib+Xit7GHexR3kLH+VSMUElLbnzYdP8 DT6n+DkjeLAyE5Hubk0/JtFUlSpvl7EKOBddIHwNf/BtD396SGdIKqNWS VE8LO9qZszTM74hMvzdpjgjKM9QKgyhdvXUVBoZPkMbCD5XCGIj0Ykqy7 E=;
IronPort-PHdr: 9a23:DSOq7hwrRdVsi0nXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5YRGN/u1j2VnOW4iTq+lJjebbqejBYSQB+t7A+GsHbIQKUhYEjcsMmAl1CcWIBGXwLeXhaGoxG8ERHFI=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ATAAAamz9d/5tdJa1mGgEBAQEBAgEBAQEHAgEBAQGBVQMBAQEBCwGBQyknA21VIAQLKoQeg0cDjQSCW4lUjX+BLoEkA1QJAQEBDAEBGAsKAgEBhEACF4JVIzYHDgEDAQEEAQECAQZthR4MhUoBAQEBAgEBARAREQwBASwLAQsEAgEIEQEDAQEDAh8HAgICHwYLFAECBggCBAENBSKDAAGBagMODwECDKFuAoE4iGBxgTKCegEBBYFGQYMIDQuCEwMGgQwoAYtfF4F/gREnH4JMPoIaRwEBAwGBNieDCzKCJowwgh0xmz1ACQKCGoZbhG+EA1CDdxQHgi4vhnaOO407h0qBdYkxhGYCBAIEBQIOAQEFgVcOI0SBFHAVOyoBgg0BM4JCN28BB4JDhRSFP3KBKYogglIBAQ
X-IronPort-AV: E=Sophos;i="5.64,324,1559520000"; d="scan'208";a="387074258"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Jul 2019 01:22:34 +0000
Received: from XCH-ALN-007.cisco.com (xch-aln-007.cisco.com [173.36.7.17]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x6U1MY1w022304 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 30 Jul 2019 01:22:34 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-007.cisco.com (173.36.7.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 29 Jul 2019 20:22:33 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 29 Jul 2019 20:22:33 -0500
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 29 Jul 2019 20:22:33 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BYrM7+ODmaOysmgxP1F/pDCO0Pq34dfOZ/dQV+OJwaZgnjDJLKRj1nN3p6Nt9krsECo8FGP55ryLGeVZRCMbHHBTnenDlOhRRBa2PJy3gwB8csNWgPF+Z0Peappl1GRfYs1pJGo9O3d3NFG6ViqIjJFC3IrS8GDgCnFDmCKO+uZyC4ggYSfqid2uETc5a0v09YK/p+oAO8VQeFTnlZTox5VPRPVFpy8sV3K7RvQuPcdJPsQYbOCFeph0P9TNcFYRLN+5PoSO6buVKnamTsbanUr2Vsrm1JLghLb/k0uKKZ4re+7gJPRGQ048JYiVRw5MSfqyck/Tm7+GpDUMwbytbw==
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=v8H6w+X0rxsc8Ii5u0u9f9769eBFkHDRFVNotzxIx6s=; b=W2egNX+mhoiLigcLdD/dpRmuq3hvRFpN9tcQlIhLQ8Q3Go2oFuztQjrI5dydnhRjo1ZDkk0DqiI+jx2TEvleC1JcfnhRfN72Uzp/9lRSHf7dmHY2MQp1P2iHWsoOHWJure05SdkWY2pxtSb7eChn8mc9w/+RowzJJR6RAD5OS3rjj8yOwZ0V07xzRPfmpVN7Ax5nQSOC3gKbInFsFYqL7IboLO7W0OXzEk9uDIW7OxZG1r+pfc3agdAZdmn3EPYT0mhKp2doYXCZJAfuq0oKUZrS1qhna3uMfTZgavkIj1/0uZ9NGXX1u8ZhGOpdbxbSyGz+aQZPqybqVg8lY3WzpQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v8H6w+X0rxsc8Ii5u0u9f9769eBFkHDRFVNotzxIx6s=; b=dermRsbifreUFfXXMX/KJpM7H995PyXAiZeaV1E7PhONT4IEUDnb+u3mvYBBTY4I0LOJfAlHwbsFUuZMbPjq61GFHd3YKuMH5wNTxQ13KT64j0uVpyzSVdX4s0nQSLMrxGk+sO47/Uz2e+NI5zvkThc7TM5bVmCNlIB4EcNYEI0=
Received: from MN2PR11MB4221.namprd11.prod.outlook.com (52.135.38.14) by MN2PR11MB3664.namprd11.prod.outlook.com (20.178.252.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.14; Tue, 30 Jul 2019 01:22:31 +0000
Received: from MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::859c:f271:3be2:74e0]) by MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::859c:f271:3be2:74e0%3]) with mapi id 15.20.2115.005; Tue, 30 Jul 2019 01:22:31 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: tom petch <ietfc@btconnect.com>, ietf <ietf@ietf.org>
CC: "lsr@ietf.org" <lsr@ietf.org>, Stephane Litkowski <stephane.litkowski@orange.com>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>, "lsr-chairs@ietf.org" <lsr-chairs@ietf.org>, "aretana.ietf@gmail.com" <aretana.ietf@gmail.com>
Thread-Topic: [Lsr] Last Call: <draft-ietf-ospf-yang-23.txt> (YANG Data Model for OSPF Protocol) to Proposed Standard
Thread-Index: AQHVMPbyA7zpnYSMMEeoMtXRc7x4zKbiRYiA
Date: Tue, 30 Jul 2019 01:22:31 +0000
Message-ID: <E31F4CA0-F97A-46BC-8A9F-F823530B2136@cisco.com>
References: <156208651736.23780.6260088684182501848.idtracker@ietfa.amsl.com> <00bb01d5334e$f5f16000$4001a8c0@gateway.2wire.net>
In-Reply-To: <00bb01d5334e$f5f16000$4001a8c0@gateway.2wire.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [2001:420:c0c4:1003::98]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a2bcee7b-1d9d-47be-fcbd-08d7148c64ba
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB3664;
x-ms-traffictypediagnostic: MN2PR11MB3664:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <MN2PR11MB3664BDADB78074EE24B34C9FC2DC0@MN2PR11MB3664.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0114FF88F6
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(4636009)(376002)(346002)(39860400002)(136003)(396003)(366004)(51444003)(189003)(13464003)(199004)(68736007)(99286004)(81166006)(81156014)(6306002)(6116002)(8676002)(71200400001)(8936002)(478600001)(86362001)(14454004)(71190400001)(2906002)(966005)(6436002)(6512007)(25786009)(66574012)(53936002)(6246003)(46003)(102836004)(446003)(76116006)(186003)(11346002)(36756003)(66946007)(66556008)(14444005)(2616005)(76176011)(476003)(33656002)(229853002)(6486002)(66476007)(64756008)(54906003)(486006)(305945005)(6506007)(110136005)(4326008)(296002)(5660300002)(316002)(256004)(7736002)(66446008)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3664; H:MN2PR11MB4221.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 13KWNcEnVtHT312+EZokcsPB35hcAvHXp3JRfx5ByiPLKgtFcgdGLwbPzlq86PdtW/ZzZGIYB9oUARYbJxg0VOP7Yu5NpjdVftLu24vgJWydl3Peqk4RSiF9Kp87GSizJwNus1nBFPxwkCJ6yANcRMBP1ZDpIbG1gF5Y5UO60+Q8vHgIxWQKlEiIhZCHuLW3W/Ek9BLNEF/rZ2RUdy+62tw4253GgKX2VauI1ih1uLmB4+38QSvH8+jF+mfAdrzVfXyEWet3pr/uwkt0qRt677rsDDTp6rb/c5qEqheXXFD3lxpim7fJFq7BqNEE8IrHXLc0WhRCQSGkGN0T3oJO0eCP9MeFQ78UeakiQduhgFPSflf6D9WWODU+XmRVr8GNiAlIzPIPgx5fIGs3YhiULMM9RzPaa6GvMzTI79aigR4=
Content-Type: text/plain; charset="utf-8"
Content-ID: <B7EAF2A09DA4E84EB04485DA770635E6@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a2bcee7b-1d9d-47be-fcbd-08d7148c64ba
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2019 01:22:31.3327 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: acee@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3664
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.17, xch-aln-007.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/hQGXGlQcFdlxnnHEgE0Bx2hBCL4>
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: Tue, 30 Jul 2019 01:22:44 -0000

Hi Tom, 

On 7/5/19, 12:30 PM, "tom petch" <ietfc@btconnect.com> wrote:

    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.

See inline. 
    
    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.

This is defined in RFC 3630 for OSPFv2 Traffic Engineering LSAs. I've added separate opaque containers for the different opaque LSA types. 
I hope this makes things a lot clearer. 
    
    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 don't see this for RFC 8349 RPCs. Can you cite some examples? 
    
    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?

No - it is not held down - just cleared as the corresponding CLI command has done for 25 years. 
    
    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.

I think RPC is appropriate in this case as this is what we've implemented in other models. 
    
    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)

I've made all these consistent and added the ospf-link-metric type for the cases of the 16-bit link metric. 
    
    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

Fixed. 
    
    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

It depends on whether numeric values were previously provided in the OSPF MIBs.
    
    With priority
    e.g.  list unreserved-bandwidth {
         leaf priority {
    which is high and which is low?

I believe priority 0 is the highest. RFC 3630 doesn't state this explicitly. 
    
    Likewise with boolean e.g.
               leaf best { type boolean; description
                   "Indicates if the alternate is the preferred.";
    does true mean the alternate is preferred?

Yes - clarified the description.

Thanks,
Acee 



    
    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
    >