20210426 Group Table

課堂資料

file-download
2KB

Group 的種類(Type)主要有AllSelectIndirect以及Fast Failover等四種,以下分別加以介紹:

  • All:執行所有 Action Buckets 中的動作

  • Select:執行一個 Action Bucket 中的動作

  • Indirect:執行既有定義的某個 Action Bucket 中的動作

  • Fast Failover:執行第一個 Live Action Bucket 中的動作

Group Table

  1. Load Balance ( Select )

    1. hash function

    2. round-robin

  2. Fault Tolerance ( Fast-Failover )

    1. watch-port-2 group 2

    2. watch-port-3 group 3

  3. Mix 1 and 2

課堂練習

Group - Select

There are two paths from H1 to H2.

One is via s1-s2-s4 and the other is via s1-s3-s4.

In this test, I will show how to use the select group entry.

The path 1 or 2 will be chosen.

Group - Failover

There are two paths from H1 to H2.

One is via s1-s2-s4 and the other is via s1-s3-s4.

In this test, I will show how to use the fast-failover group entry.

The path will switch to path 2 (s1-s3-s4) as soon as the port of s1 to s2 is down.

設完規則以後

Group - Chaining

Inspired by Efficient fast recovery mechanism in Software-Defined Networks: Multipath routing approacharrow-up-right,the following lab to show the Group Chaining feature in openvswitch version 2.5.4.

SDN / NFV

SDN:Change the Routing Path

NFV:Network Function Virtualization 網路功能虛擬化

Last updated