Re: [MBONED] Trace mechanism to build multicast tree from source

<zhang.zheng@zte.com.cn> Fri, 21 September 2018 09:31 UTC

Return-Path: <zhang.zheng@zte.com.cn>
X-Original-To: mboned@ietfa.amsl.com
Delivered-To: mboned@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3ACD130E48; Fri, 21 Sep 2018 02:31:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 DInt5yMxxhla; Fri, 21 Sep 2018 02:31:12 -0700 (PDT)
Received: from mxhk.zte.com.cn (mxhk.zte.com.cn [63.217.80.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 13AC1130E3F; Fri, 21 Sep 2018 02:31:11 -0700 (PDT)
Received: from mse02.zte.com.cn (unknown [10.30.3.21]) by Forcepoint Email with ESMTPS id 871B39162FA5275C7C3B; Fri, 21 Sep 2018 17:31:08 +0800 (CST)
Received: from njxapp05.zte.com.cn ([10.41.132.204]) by mse02.zte.com.cn with SMTP id w8L9Uxvi066020; Fri, 21 Sep 2018 17:31:00 +0800 (GMT-8) (envelope-from zhang.zheng@zte.com.cn)
Received: from mapi (njxapp02[null]) by mapi (Zmail) with MAPI id mid203; Fri, 21 Sep 2018 17:31:02 +0800 (CST)
Date: Fri, 21 Sep 2018 17:31:02 +0800
X-Zmail-TransId: 2afa5ba4ba5619d57a6a
X-Mailer: Zmail v1.0
Message-ID: <201809211731026301805@zte.com.cn>
In-Reply-To: <32B02712-E5E3-4B39-94E1-9F94E1CB6881@cisco.com>
References: 32B02712-E5E3-4B39-94E1-9F94E1CB6881@cisco.com
Mime-Version: 1.0
From: zhang.zheng@zte.com.cn
To: mankamis=40cisco.com@dmarc.ietf.org
Cc: mboned@ietf.org, mboned-chairs@ietf.org, Ravinder.Badwal@sjrb.ca, zzhang_ietf@hotmail.com
Content-Type: multipart/mixed; boundary="=====_001_next====="
X-MAIL: mse02.zte.com.cn w8L9Uxvi066020
Archived-At: <https://mailarchive.ietf.org/arch/msg/mboned/_LLUEyKNp13GLKneq_JBUX8BtxU>
Subject: Re: [MBONED] Trace mechanism to build multicast tree from source
X-BeenThere: mboned@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Mail List for the Mboned Working Group <mboned.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mboned>, <mailto:mboned-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mboned/>
List-Post: <mailto:mboned@ietf.org>
List-Help: <mailto:mboned-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mboned>, <mailto:mboned-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Sep 2018 09:31:16 -0000

Hi Mankamana, Ravinder, 





Thank you for bring this interesting topic. From my point of view YANG data can be used to generate the multicast tree by specific executions of PIM model. 

Please see if these steps below are feasible.




For example, if we want to get a (S1,G1) multicast tree from the network below,

( Please see the attachment if the figure showing is disordered. )

                if3 +---+if5  if8 +---+

              +---> | B +-------> | D |

              |     +---+         +---+

           if1|

            +---+

(S1,G1)+--> | A |

            +---+              if9+---+

           if2|       +---------> | E |

              |       |if6        +---+

              | if4 +---+

              +---> | C |

                    +---+

                      |if7    if10+---+

                      +---------> | F |

                                  +---+




Suppose that A is the first hop which connects the source (S1,G1), the multicast tree for (S1,G1) has been built by PIM protocol. 

Ietf-pim-base model (draft-ietf-pim-yang-17) should be used.

Suppose that we would like to get a multicast tree for (S1,G1) by a controller, and the controller can get the ietf-pim-base models from all routers.

Suppose that the network is IPv4 environment.




Step1, ietf-pim-base models from routers A-F are got by controller.

Step2, ietf-pim-base model got from A is checked, the associated outgoing interface list indexed by (S1,G1) can be got. 

The outgoing interface list includes the interfaces if1, if2.


Step3, the associated neighbors indexed by if1 and if2 are got also from the model. The neighbors’ addresses is the interface address of if3 and if4.


Step4, the (S1,G1) items in ietf-pim-base models got from routers B-F are checked, B and C are selected because the addresses of if3 and if4 match the neighbors’ addresses in step3. 

( The rpf-neighbor value can be checked to valid the upstream neighbor’s address, such as if1’s address matches the rpf-neighbor value in B’s (S1,G1). )


Step5, repeat step2 ~ step4, we can get all the interface/ neighbor information associated with (S1,G1), then a multicast tree can be generated.







Thanks,


Sandy







原始邮件



发件人:MankamanaMishra(mankamis) <mankamis=40cisco.com@dmarc.ietf.org>
收件人:mboned@ietf.org <mboned@ietf.org>mboned-chairs@ietf.org <mboned-chairs@ietf.org>
抄送人:Ravinder Badwal <Ravinder.Badwal@sjrb.ca>
日 期 :2018年09月21日 05:37
主 题 :[MBONED] Trace mechanism to build multicast tree from source


_______________________________________________
MBONED mailing list
MBONED@ietf.org
https://www.ietf.org/mailman/listinfo/mboned

  

Hi WG members,


During last IETF,  Ravinder (Service provider) had a point that it would be nice to have mechanism where network administrator has flexibility to find complete tree view from source. Basically, mtrace does  reverse of it where we tracec it from receiver. But his point was , as a service provider it would be good to see complete tree where multicast traffic is flowing.


 


While thinking in this direction, I thought it might be good to take this question to list and get the input.

One way would be to have mtrace mechanism, which starts from a given point, and goes to each of next hop from where there is PIM join for given (S,G)  and then report it back to actual originator.

Can any mechanism from Yang data be used for this purpose ?


 


Any other thoughts ?


 


Thanks


Mankamana