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> Sun, 04 August 2019 13:35 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 D1573120045; Sun, 4 Aug 2019 06:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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, 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=BH3nE1Jc; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=e0XmGf37
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 PfxQbwWTY9nj; Sun, 4 Aug 2019 06:35:17 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A10A120019; Sun, 4 Aug 2019 06:35:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11680; q=dns/txt; s=iport; t=1564925717; x=1566135317; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=w0RXE3LQKH3ubMFbpvQWUSlAOlOCJdZ913YMo9HConI=; b=BH3nE1Jc+2ENqToJKkX20nr1XxJhoGaH9m3vjb2nRbBr5srQ/S/oiBWh umqeglS5bla1b1KsFUW/ZaCxtLVqRgDVWPFoITPlSPpuv3a+RXb4RqapG GDOvTZNOn+n2DfYmS+cUuNfwV2UfcVm1GRaQgdq+xzgIkfOou5YWat+QC w=;
IronPort-PHdr: 9a23:gNbOlxGe2f9BoWO2KkiBwJ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4w0Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0ETBoZkYMTlg0kDtSCDBjyJ/PnRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AlAACo3UZd/5ldJa1dCRsBAQEBAwEBAQcDAQEBgVQFAQEBCwGBRFADbVUgBAsqhB6DRwOLKzKCKYgggTeOAoEuFIEQA1QJAQEBDAEBGAsKAgEBhD8CFzUBBIIOIzUIDgEDAQEEAQECAQZthR4MgiiDIgEBAQECAQEBEBERDAEBLAsBCwQCAQgRAQMBAQMCHwcCAgIfBgsUAQIGCAIEAQ0FIoMAAYFqAw4PAQIMn3kCgTiIYHGBMoJ6AQEFgUdBgwINC4ITCYEMKAGLPCYXgX+BEScfgkw+ghpHAQEDAYEzAw8YgwsygiaMOoJPjBuBQo1+QAkCghuGXIR1hAVRg3cbgi8vPoY/hBKCB4g1jUeHWIF4iTeEaQIEAgQFAg4BAQWBUQE2RIEUcBU7KgGCDQEzCYI5N4M6hRSFP3KBKYofglIBAQ
X-IronPort-AV: E=Sophos;i="5.64,346,1559520000"; d="scan'208";a="308956013"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Aug 2019 13:35:16 +0000
Received: from XCH-ALN-014.cisco.com (xch-aln-014.cisco.com [173.36.7.24]) by rcdn-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id x74DZGiL011110 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 4 Aug 2019 13:35:16 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-014.cisco.com (173.36.7.24) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 4 Aug 2019 08:35:15 -0500
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 4 Aug 2019 08:35:15 -0500
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 4 Aug 2019 08:35:14 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LGKXbJag5s1I6uKBUeWe+NRdwzphSvnr6HeNQLNmIIZoEBiM6zBiHtANR32EKVytr9BhKwlL21WgKdIg8pMfKRwMPQEZ7kEKwzlV0/CzNELH4radoYEkeoDAuZvCGt57tvEgUANQRCWIghBucMHXzhfhiTbwJ3Eo9NO8CPBN1Y4JQtQLoc+0sfwzf9k0yQA35JpqhvlaoM08e88vUXVl3CcWV+DlikDMUsj15t8YggSANnczhqgF+rdKOIuAstKMXvnPtjdva/q0qVHUJhNgrUdhHs6RXXEL7Jyu543ECSm7AtbMW7qCuv/2aYCdVFIWK8AePRtu8XdU8Psz2rw4IQ==
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=w0RXE3LQKH3ubMFbpvQWUSlAOlOCJdZ913YMo9HConI=; b=fATNXhBPTknTCEYlyEBj+fFsi+fmkUMlH0eIeq3G3qsSOZthahxkvAWecYaGQpFDvX3qAydkkXruwHkvadUmFqnwAVn8I9YSfMpWRSO9QNGbgD3r7SNttq5HwDgakdA8cGrzoZyJnefNx+pls6PzxW3Q1nIvAgVv+Xav+Xh0HzXdaTnl3ui4X/Mz+Ofju7cPVZYf67cdWYvEqI35AlaHZ6KYoqYzOsKrnaDyhDZ/OgwoX21XvGHI9VG7VIVjCKnhxEywtkYlVuFP+aw153Qf6Fvu0JfMTy0gjqSfv1Up1qNoVCoZS1Fj7MBNfjzre8xIvja8XVR7bZRLOgzj8shwwg==
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=w0RXE3LQKH3ubMFbpvQWUSlAOlOCJdZ913YMo9HConI=; b=e0XmGf37hj6JuZVr0oQoJnerSH54Q6RXu7iY1wCXbqVj9Zj936yCpVGsyOJ8FF54shDlefrgUpcvJvlNnoTOB+o2HBcJgpomkhUIeM/NWnncW9J/AGHC/s7WUBiTX7cDk8HBu+BBhFBFr/W711X+6kPWSOsrjOBOjvBTESjnROk=
Received: from MN2PR11MB4221.namprd11.prod.outlook.com (52.135.38.14) by MN2PR11MB3951.namprd11.prod.outlook.com (10.255.181.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.17; Sun, 4 Aug 2019 13:35:13 +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.2136.018; Sun, 4 Aug 2019 13:35:13 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: tom petch <daedulus@btconnect.com>, 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: AQHVMPbyA7zpnYSMMEeoMtXRc7x4zKbq7eMA
Date: Sun, 04 Aug 2019 13:35:12 +0000
Message-ID: <C9DA99E9-9D21-4F4C-AAD2-D8DD2D11D590@cisco.com>
References: <156208651736.23780.6260088684182501848.idtracker@ietfa.amsl.com> <00bb01d5334e$f5f16000$4001a8c0@gateway.2wire.net> <005901d54880$467e6540$4001a8c0@gateway.2wire.net>
In-Reply-To: <005901d54880$467e6540$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:1001::2f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d8ff8d84-9a40-433c-b2cb-08d718e09461
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB3951;
x-ms-traffictypediagnostic: MN2PR11MB3951:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <MN2PR11MB39517F1E7EF59461AE5ADB15C2DB0@MN2PR11MB3951.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0119DC3B5E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(136003)(396003)(376002)(13464003)(51444003)(189003)(199004)(53936002)(6246003)(71200400001)(66946007)(66476007)(33656002)(8936002)(64756008)(81156014)(81166006)(7736002)(66446008)(6506007)(316002)(2906002)(66574012)(110136005)(66556008)(6116002)(102836004)(8676002)(76116006)(486006)(305945005)(54906003)(6306002)(14444005)(296002)(6512007)(68736007)(86362001)(6486002)(14454004)(478600001)(6436002)(36756003)(476003)(256004)(5660300002)(966005)(2616005)(4326008)(11346002)(446003)(229853002)(76176011)(186003)(99286004)(25786009)(71190400001)(46003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3951; 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: V5bZa+BHyQ5JLc61Rrstdx5k4GbCYQnDWHHyWd0Q/zRlK9p5/jXx1sNwluUPWEBrYL8H4v7rkfofT2Be0O7ZAS4lVyn+BE9FCIaBxsh1sza/I928hIzfrLnjIy2a+DoAuKET5OUe4mZ5qDFWKiMh1zGeF46nZeeBu2aADPwXybt1aas0rB9zh1tQrPIGrxzOT9vDidHUamHfPNyRGmbGtkuRme6L9MGzGwLsntmPhLyAAJDVGHNSpTLcPTPN0TkadyWv4MYz3VSBsBRDe5bbTa9hw3TVDP9FfmkkINTQH01jdnQxthVzF8pSWB3AUgIfT0gfZCAhI7PrLL9twnibOdIfKjtzpOZh8lFnRdO8SJODrpmJ4XKUDK4btiVKdxWBkPQVfNz2aVkwbAsMgbeGNM4DkZnzHo5xDlAAouhjEaE=
Content-Type: text/plain; charset="utf-8"
Content-ID: <8729888AD6BDEE41BAA699C49E0EAF68@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: d8ff8d84-9a40-433c-b2cb-08d718e09461
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Aug 2019 13:35:13.5157 (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: MN2PR11MB3951
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.24, xch-aln-014.cisco.com
X-Outbound-Node: rcdn-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/dNeN1af7_L3KaecF6MElKWbrbak>
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: Sun, 04 Aug 2019 13:35:20 -0000

Hi Tom, 

On 8/1/19, 11:47 AM, "tom petch" <daedulus@btconnect.com> wrote:

    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.

It seems to me that either of these is correct. However, I don't feel that strongly and will move "respectively" in the -25 version. 
    
    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/>

This will be fixed in the -25 version.
    
    
    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
I'm going to leave these as they are correct since "or-self" is included and there is no strictly (self()) identity-ref function (reference RFC 7950, section 
    
           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?

There are two types of summary LSA - network summaries (type 3) and router summaries (type 4). So the type is always derived. 
    
             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

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

This was removed from the model but we neglected to remove the identity. It will be removed in the -25 version. 
    
    router capabilities (RFC7770) appears in the YANG but is not itself a
    feature; is there an assumption that all current routers will support
    RFC7770?

This is simply read-only data returned by a router. Hence, a router not recognizing it will simply return it as an unknown opaque type. It would be very strange for an implementation to support the OSPF YANG model but not opaque LSAs. 
    
    lsa-id
    sometimes dotted-quad, sometimes uint32, sometimes both; why?

For OSPFv3, the LSA Identifier has no topological significance and unit32 is correct. 
    
         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?

I split out the opaque types in the -24 version.

Thanks,
Acee 

    
    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
    >