Re: Relationship between BFD model and LIME base model

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 08 September 2015 00:42 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4B011B5786; Mon, 7 Sep 2015 17:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 vecSxqTYOKfe; Mon, 7 Sep 2015 17:41:59 -0700 (PDT)
Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2388A1B3CCE; Mon, 7 Sep 2015 17:41:59 -0700 (PDT)
Received: by padhk3 with SMTP id hk3so22838938pad.3; Mon, 07 Sep 2015 17:41:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=BxE70PKNMDBu9rtYTse/imj6LSA4SQS0J1MHtMHZSgo=; b=fTY2N5hCSdrDP4tnHloUO0tYG7xJFdMXFpfZb1YOsHDB2tSrd7U6L9bKgQviRrBBPr piF1Jv2AxQVs3pL4Jh1w/VT8q57KXuv636Wwa3hWHwKS2Yl9reGzkddOjLaOnYj40hJ5 nhrOivIb5QzNvo8jAT761fOtWI1pt6OG9PP8eQxDcThMWFjExJeWvk0tDLCJ9LPddbyd Oo5prNnZchZIo4dJOEuSHvb+l60qXTgEt9/QYoXB1rjBanKzaHSo9b5kRyatY+eldZ7z 8dYa+SiyyuyNbBpIGqe+0goQjsmtw3R3tugOojO51aewOdZ0pdnoD6sJE0cji3T/PQmO 3QcQ==
X-Received: by 10.68.99.197 with SMTP id es5mr51882301pbb.112.1441672918723; Mon, 07 Sep 2015 17:41:58 -0700 (PDT)
Received: from mahesh-m-62at.attlocal.net ([2602:306:cf77:df90:30d8:762b:3389:e41c]) by smtp.gmail.com with ESMTPSA id q5sm1086077pdc.65.2015.09.07.17.41.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Sep 2015 17:41:57 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_3FFEC4A0-1527-4173-B852-D479A2AD68F4"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
Subject: Re: Relationship between BFD model and LIME base model
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA848172E0@nkgeml501-mbs.china.huawei.com>
Date: Mon, 07 Sep 2015 17:41:56 -0700
Message-Id: <78EA03A6-0D1F-4661-85A6-ACB217AB10C8@gmail.com>
References: <B8F9A780D330094D99AF023C5877DABA84815277@nkgeml501-mbs.china.huawei.com> <F6A292E1-9A7D-482E-BB5A-31F88D5F4AE4@cisco.com> <B8F9A780D330094D99AF023C5877DABA848172E0@nkgeml501-mbs.china.huawei.com>
To: Qin Wu <bill.wu@huawei.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-bfd/pg_g1iQOAv0qzLANA5_nstyLdPU>
X-Mailman-Approved-At: Tue, 08 Sep 2015 07:52:27 -0700
Cc: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>, "Deepak Kumar (dekumar)" <dekumar@cisco.com>, "Ronald P. Bonica" <rbonica@juniper.net>, yang-coord@ietf.org, Alia Atlas <akatlas@gmail.com>, Joel jaeggli <joelja@bogus.com>, Benoit Claise <bclaise@cisco.com>, rtg-bfd@ietf.org
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2015 00:42:03 -0000

Thanks Qin for the summary. I would add that the last option (support for /bfd and /lime/bfd) should be considered the fourth option. The advantage of this approach is that LIME can still collate all OAM technologies and provide a hierarchy, and it does not require the technologies themselves to have to change their current configuration model. We can still investigate reuse of groupings and data types from option 2.

For a reference, please refer to the discussion on the netmod mailing list on root nodes - http://www.ietf.org/mail-archive/web/netmod/current/msg13243.html <http://www.ietf.org/mail-archive/web/netmod/current/msg13243.html>

If I was to extrapolate from that example, the lime model could contain something like this:

container technologies {
    list technology {
        key name;
        // information about MD, MA … would go here.
        container data {
            // all oam-technologies supported by lime are mounted here
        }
    }
}

The choice of where to build this hierarchy is now up to the implementor. 

You could do this on the device if the interest is to do fault isolation on a device in which case your path would look like

/lime/technologies/technology[name=‘bfd-foo’]/data/bfd/...

or on the controller if you want to collate faults across a domain, in which case it would look like:

/domains/domain[name=‘bar’]/lime/technologies/technology[name=‘bfd-foo’]/data/bfd/...

I would argue that most operators would be interested in the latter and not just faults on the device.

We can discuss all the options in a call. I am at IEEE meeting this week, but we can meet next week if need be.

> On Sep 7, 2015, at 12:08 AM, Qin Wu <bill.wu@huawei.com> wrote:
> 
> Carlos:
> I have just come back from 3-days vacations. Sorry about the delay.
> Deepak has already had two discussions with Mahesh about path forward, the goal is to try to find all the possible solutions to resolve the relation between BFD and LIME:
> I think if BFD model likes to follow LIME model structure, there are three options we can exercise:
> (1)     BFD model can follow common structure proposed in LIME and augment LIME model with technology specifics. We have already provide an example to show how LIME model can be extended to support BFD.(See attached), e.g., single hop, multiple hop can be distinct using sub-technology defined in the BFD model.
> (2)     BFD model just try to reuse several groupings defined in the LIME base model and reference existing grouping in LIME by using “uses prefix name: grouping name”
> (3)     BFD model just try to reuse several leafref type defined in the LIME base model and reference existing data nodes in  LIME by using leafref(See attached)
> The options (2) and (3) use its own model structure and doesn’t follow LIME model structure completely, also In option (3), it is challenge or not easy to represent some data nodes in BFD model using leafref type defined in LIME. Therefore Option(1) is perfect if BFD follows LIME model
>  
> If BFD mode doesn’t want to follow the whole LIME model structure or only follow subset of LIME model structure with session level and per interface level, I think BFD model should be developed as standalone technology independent model or generic model and decouple from routing-cfg model, we should agree it is possible to have two generic models. when we want to translate generic BFD model into generic LIME model, it seems mount point proposal can be used to move BFD data nodes to LIME model structure(i.e., moving session-cfg from bfd model to session-cfg in LIME model, moving interface-cfg from bfd model to interface-cfg in the LIME model.
>  
> I am expecting to talk with Mahesh about these options. Hopefully we can converge discussion soon.
>  
> -Qin
> 发件人: Carlos Pignataro (cpignata) [mailto:cpignata@cisco.com <mailto:cpignata@cisco.com>] 
> 发送时间: 2015年9月7日 10:40
> 收件人: Qin Wu
> 抄送: Mahesh Jethanandani; Deepak Kumar (dekumar); wangzitao; Ronald P. Bonica
> 主题: Fwd: Relationship between BFD model and LIME base model
>  
> Qin,
>  
> This is a great message, and I appreciate the discussion and seeking path forward with the BFD model.
>  
> I have not seen a response to this message, however.
>  
> Maybe you could have this discussion with a broader audience, including the LIME list.
>  
> Thanks,
>  
> — Carlos.
> 
> 
> Begin forwarded message:
>  
> From: Qin Wu <bill.wu@huawei.com <mailto:bill.wu@huawei.com>>
> Subject: Relationship between BFD model and LIME base model
> Date: August 29, 2015 at 5:13:59 AM EDT
> To: Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>>
> Cc: "Deepak Kumar (dekumar)" <dekumar@cisco.com <mailto:dekumar@cisco.com>>, wangzitao <wangzitao@huawei.com <mailto:wangzitao@huawei.com>>
>  
> Hi, Mahesh:
> LIME model have five level parameters:
> 1.       MD level parameters
> 2.       MA level parameters
> 3.       MEP level parameters
> 4.       Session level parameters
> 5.       Interface level parameters
> MD level parameters, MA level parameters can be directly inherited in the LIME base model extension and set as default value,
> e.g, domain name in the MA level can be set to AS Number, Area ID,
> LIME base model can provide flexible structure for BFD and other OAM technology.

>  
> Here we give an example how LIME base model can be extended to support BFD (See attached),
> We model the same parameter proposed in draft-zheng-bfd-yang-04 using multiple level structure defined by LIME base model,
> bfd-session-cfg defined in draft-zheng-bfd-yang-04 can be well grafted into session level structure defined in LIME base model
> bfd-interface-cfg defined in draft-zheng-bfd-yang-04 can be well grafted into interface level structure define in LIME base model.
>  
> For notification, LIME base model only provide defect notification definition, doesn’t provide state-change notification, so new state-change notification can
> Be defined in the BFD model,
> For operation state, LIME base model doesn’t provide separate state data structure for operation state, so maybe BFD model can extend state data structure defined in
> The base model for routing defined in draft-ietf-netmod-routing-cfg-19.
>  
> I am happy to discuss if you have any questions. I hope we can come to agreement soon.
>  
> I heard about your discussion with Deepak about harmonization of BFD with LIME, One proposal is to have BFD generic model and LIME generic model separately,
> Support both
> /bfd
> And
> /lime/bfd
> if there is such consensus, I am happy to accept this. I also think if we go with /lime/bfd, I think we can provide better OAM management automation, or consistent reporting, configuration, representation, MD level parameters and MA level parameters are just management information, they should not be the burden for BFD, these management information doesn’t bother how BFD work(BFD fuction doesn’t need to know about it), just help establish the testpoints relationship or global view of OAM topo by associating test point(MEP) with MD, MA and other context information.
>  
> Regards!
> -Qin
> <bfd-leafref-lime.txt><bfd-leafref-lime.yang><draft-wang-yang-bfd-oam-04.txt>

Mahesh Jethanandani
mjethanandani@gmail.com