Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion docs/testbed/READ.testbed.AnnounceRoutes.Internal.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The total number of routes is controlled by below parameters:
**Routes advertised by each C0:**

- Loopback IP of C0, count: `1`

## M0/MC0

### Design
Expand Down Expand Up @@ -138,3 +138,29 @@ Routes announced by M0 can be broken down to 5 sets:
count: (mx_number - 1) * mx_subnet_number.
- Upstream routes of M0 connected to DUT,
count: (colo_number * m0_number - 1) * (mx_number * mx_subnet_number + m0_subnet_number).

## isolated-T1

### Design

For isolated T1, we have 3 sets routes that we are going to advertise, below picture shows how routes are advertised:
- 1st set routes are advertise by upstream VMs (T2 devices) -- green lines
- 2st set routes are other T1s' routes adeertised by downstream VMs (T0 devices) -- blue lines
- 3st set routes are T0s' loopback and vlan routes advertised by downstream VMs (T0 devices) -- yellow lines

![](./img/announce_routes_isolated_t1.png)

### Details:
Some definitions:
|definition|description|
|:----|:----|
|tor_subnet_number|number of subnet in a T0|
|leaf_number|number of other T1s|
|tor_number|number of downstream T0s|

- Routes annoucned by per T2 device, total number: 2
- 1 default route (But with longer as path compared to T0s')
- 1 Loopback route
- Routes advertised by per T0 devices, total number: (1 + tor_subnet_number) * tor_number + leaf_number
- 1 Loopback route and `tor_subnet_number` subnet routes (Each sets of these routes in DUT has only one different nexthop to each T0)
- `leaf_number` Loopback routes of other T1s (These routes sets has `tor_number` nexthops in DUT)
Binary file added docs/testbed/img/announce_routes_isolated_t1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading