Re: [OSPF] Some doubts about OSPF YANG model.

"Acee Lindem (acee)" <acee@cisco.com> Sat, 20 August 2016 15:20 UTC

Return-Path: <acee@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C099412D1AC for <ospf@ietfa.amsl.com>; Sat, 20 Aug 2016 08:20:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.768
X-Spam-Level:
X-Spam-Status: No, score=-15.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_HELO_PASS=-0.001, 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
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 I6eaPNvSysRr for <ospf@ietfa.amsl.com>; Sat, 20 Aug 2016 08:20:23 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22D1112D877 for <ospf@ietf.org>; Sat, 20 Aug 2016 08:20:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=20919; q=dns/txt; s=iport; t=1471706423; x=1472916023; h=from:to:subject:date:message-id:mime-version; bh=VP5xBYmKcwtnaGL6CTrSXy4OBwbdK8Fn1+lGJSCBksg=; b=aTorW6GZmk7Im8P62G+dQQ92AnJczSAsopzkf2CGPLKxJTax1+XRu9hs c4H5Md7VRtUpJcZZaPX0T5n3K1ekixMPPGS4siRaV4ZiovErw1fshq4Et j84ClcIejxQzLVij/Oyl2sxXw2KxsPZlOqGxxhqv9aXprLcmBSxEZS8oB 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BeAgALdLhX/5pdJa1egnZOVnwHsmSCeYIPgX2GHR6BHzgUAgEBAQEBAQFeJ4ReAQEFIwpeAQgRAwECKAMCBDAUCQoEARKIMas9j2YBAQEBAQUBAQEBAQEBIIp4hGCCYYJaBZQBhUcBjx6PUIw/g3cBHjaCDYFtcIV8fwEBAQ
X-IronPort-AV: E=Sophos;i="5.28,550,1464652800"; d="scan'208,217";a="313358446"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2016 15:20:21 +0000
Received: from XCH-RTP-015.cisco.com (xch-rtp-015.cisco.com [64.101.220.155]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id u7KFKK0C027347 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sat, 20 Aug 2016 15:20:21 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-015.cisco.com (64.101.220.155) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 20 Aug 2016 11:20:19 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Sat, 20 Aug 2016 11:20:19 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Yangang <yangang@huawei.com>, "ospf@ietf.org" <ospf@ietf.org>
Thread-Topic: [OSPF] Some doubts about OSPF YANG model.
Thread-Index: AQHR+vZcDcWnk3oIPUGyAzE9vzHguA==
Date: Sat, 20 Aug 2016 15:20:19 +0000
Message-ID: <D3DDE878.7A977%acee@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.198]
Content-Type: multipart/alternative; boundary="_000_D3DDE8787A977aceeciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/HFzpecbb5n_mPRe5ArYJ3n77UvA>
Subject: Re: [OSPF] Some doubts about OSPF YANG model.
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Aug 2016 15:20:26 -0000

Hi Yangang,

Thanks for reviewing - let me answer the ones for which I have answers and we will discuss the others amongst the authors.

From: OSPF <ospf-bounces@ietf.org<mailto:ospf-bounces@ietf.org>> on behalf of Yangang <yangang@huawei.com<mailto:yangang@huawei.com>>
Date: Saturday, August 20, 2016 at 10:23 AM
To: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: [OSPF] Some doubts about OSPF YANG model.

Hi,

I am reading the YANG model of OSPF, and I have some doubts. I hope it can provide some help for model standard process.

1. Page 8: There are two leaf: mtu-ignore and prefix-suppression. I think maybe no need define these two leaf in virtual link.

prefix-suppression is not applicable to virtual links since there is no interface subnet associated with a virtual link.
mtu-ignore is not applicable to virtual links since it the field in the DD packet is always 0 (see section 10.8 in RFC 2328).



2. Page 9: Similar with the first doubt, do we need "mtu-ignore" in sham-link?

Similar to a virtual link, sham link implementations set the MTU to 0 in DD packets (unfortunately, this is not explicitly stated in RFC 4577).


3. Page 9: Maybe there is a mistake in writing. "bfd" leaf should be moved to OSPF BFD model.

Will need to discuss. We have gone back and forth on whether or not we need a separate OSPF BFD model.


4. Page 13: In the notification definition: About the "rx-bad-packet", it is not same as the model, "if-rx-bad-packet". The other, there is similar trap in OSPF MIB. But some EMS/NMS don't handle it because robustness of OSPF can handle it. Sometime, only when some adjacencies are broken, or routes have some problem, the administrator will debug it and find the number of some bad packet counter will be very big, Base on it, the problem can be solved and the service will be restored. I suggest maybe we can provide some counter in OSPF.

So, you are asking for an instance level counter for rx-bad-packet?



5. Page 39: In the container opaque, there are some define about "router-address-TLV", "link-TLV" and some other named TLV, do we need "when" statement?

I’m not sure why we’d want to add “when” conditions. These are operational state TLVs.


6. Page 58: About the leaf of "Hello-Interval" and "Dead-Interval". Do we need define the default value? Because this kind of parameter can affect the adjacency establish. Sometime the adjacency maybe cannot be established because the default value is different. Maybe a explicit define is good choice.

We will discuss. Typically these have been implementation specific.


7. Page 75: About te-id of MPLS, it should be defined in OSPF model? Or OSPF quote it from MPLS model?

There has been some discussion of consolidation of common types for routing in a separate model. However, I wouldn’t want to introduce a dependency on an MPLS model for a single type.

Thanks,
Acee




It is all I got.

Yangang.