[OSPF] 答复: Some doubts about OSPF YANG model.

Yangang <yangang@huawei.com> Sun, 21 August 2016 07:49 UTC

Return-Path: <yangang@huawei.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 5E43112B034 for <ospf@ietfa.amsl.com>; Sun, 21 Aug 2016 00:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.768
X-Spam-Level:
X-Spam-Status: No, score=-4.768 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 vvg-UCKuQOWW for <ospf@ietfa.amsl.com>; Sun, 21 Aug 2016 00:49:39 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A31A12B005 for <ospf@ietf.org>; Sun, 21 Aug 2016 00:49:38 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml705-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CPU89156; Sun, 21 Aug 2016 07:49:34 +0000 (GMT)
Received: from NKGEML411-HUB.china.huawei.com (10.98.56.70) by lhreml705-cah.china.huawei.com (10.201.5.168) with Microsoft SMTP Server (TLS) id 14.3.235.1; Sun, 21 Aug 2016 08:49:33 +0100
Received: from NKGEML514-MBX.china.huawei.com ([fe80::40a8:f0d:c0f3:2ca5]) by nkgeml411-hub.china.huawei.com ([10.98.56.70]) with mapi id 14.03.0235.001; Sun, 21 Aug 2016 15:49:27 +0800
From: Yangang <yangang@huawei.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, "ospf@ietf.org" <ospf@ietf.org>
Thread-Topic: [OSPF] Some doubts about OSPF YANG model.
Thread-Index: AQHR+vZcDcWnk3oIPUGyAzE9vzHguKBTA6YQ
Date: Sun, 21 Aug 2016 07:49:27 +0000
Message-ID: <D496C972D1A13540A730720631EC73418606D2F7@nkgeml514-mbx.china.huawei.com>
References: <D3DDE878.7A977%acee@cisco.com>
In-Reply-To: <D3DDE878.7A977%acee@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.109.111.139]
Content-Type: multipart/alternative; boundary="_000_D496C972D1A13540A730720631EC73418606D2F7nkgeml514mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.57B95D0F.0054, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 3f6dad5ac443eb2f14230df61d602aba
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/1p10b0VBA0ycyqihuUGB2Y20kGc>
Subject: [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: Sun, 21 Aug 2016 07:49:42 -0000

Hi, Acee:

Please check my comments below.

Thanks.

发件人: Acee Lindem (acee) [mailto:acee@cisco.com]
发送时间: 2016年8月20日 23:20
收件人: Yangang; ospf@ietf.org
主题: Re: [OSPF] Some doubts about OSPF YANG model.

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

[Yangang]: It is right. So I think maybe no need define these leafs in the YANG model.


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.

[Yangang]: Oh, Maybe it need be discussed. Why the OSPF TE extension, IGP LDP SYNC is the feature, but OSPF BFD is a module, I also have this doubt.


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?

[Yangang]:Maybe the instance level counter is enough, But I think it is not only for rx-bad-packet, but also if-config-error.


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.

[Yangang]:In page 38, there are some “when” defines about the router LSA, so I think maybe this kind of statement also need be defined for opaque-LSA, like:

    container summary {
      when "../../header/type = 3 or "
         + "../../header/type = 4" {
        description
          "Only applies to Summary LSAs.";
      }
     ……….
    container external {
      when "../../header/type = 5 or "
         + "../../header/type = 7" {
        description
          "Only applies to AS-external LSAs and NSSA LSAs.";
      }


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.

[Yangang]:Understand, maybe we can have more discussion.


Thanks,
Acee




It is all I got.

Yangang.