Skip to content

Commit

Permalink
added vpls lab example
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Feb 18, 2021
1 parent f8789bb commit da5261b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/lab-examples/bgp-vpls-nok-jun.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
| | |
| ----------------------------- | --------------------------------------------------------------------------------------------------- |
| **Description** | BGP VPLS between Nokia SR OS and Juniper vMX |
| **Components** | Nokia SR OS, Juniper vMX |
| **Resource requirements**[^1] | :fontawesome-solid-microchip: 2 <br/>:fontawesome-solid-memory: 7-10 GB |
| **Lab location** | :material-github: [hellt/bgp-vpls-lab](https://github.com/hellt/bgp-vpls-lab) |
| **Topology file** | [vpls.yml][topofile] |
| **Version information**[^2] | `containerlab:0.10.1`, `vr-sros:20.10.R1`, `vr-vmx:20.4R1.12`, `docker-ce:19.03.13`, `vrnetlab`[^3] |

## Description
This lab demonstrates how containerlab can be used in a classical networking labs where the prime focus is not on the containerized NOS, but on a classic VM-based routers.

The topology created in this lab matches the network used in the [BGP VPLS Deep Dive](https://netdevops.me/2016/11/bgp-vpls-explained-nokia-juniper/) article:

![topo](https://img-fotki.yandex.ru/get/194989/21639405.11d/0_8b222_20c181b9_orig.png)

It allows readers to follow through the article with the author and create BGP VPLS service between the Nokia and Juniper routers using [configuration snippets](https://github.com/hellt/bgp-vpls-lab/tree/master/configs) provided within the lab repository.

As the article was done before Nokia introduced MD-CLI, the configuration snippets for SR OS were translated to MD-CLI.

## Quickstart
1. Ensure that your host supports virtualization and/or nested virtualization in case of a VM.
2. [Install](../install.md)[^4] containerlab.
3. Build if needed, vrnetlab container images for the routers used in the lab.
4. Clone [lab repository](https://github.com/hellt/bgp-vpls-lab).
5. Deploy the lab topology `clab dep -t vpls.yml`

[topofile]: https://github.com/hellt/bgp-vpls-lab/blob/master/vpls.yml
[^1]: Resource requirements are provisional. Consult with the installation guides for additional information. Memory deduplication techniques like [UKMS](https://netdevops.me/2021/how-to-patch-ubuntu-20.04-focal-fossa-with-uksm/) might help with RAM consumption.
[^2]: The lab has been validated using these versions of the required tools/components. Using versions other than stated might lead to a non-operational setup process.
[^3]: Router images are built with vrnetlab [aebe377](https://github.com/hellt/vrnetlab/tree/aebe377f07da9497b1af82c081ca7ff5b072c3f4). To reproduce the image, checkout to this commit and build the relevant images. Note, that you might need to use containerlab of the version that is stated in the description.
[^4]: If installing the latest containerlab, make sure to use the latest [hellt/vrnetlab](https://github.com/hellt/vrnetlab) project as well, as there might have been changes with the integration. If unsure, install the containerlab version that is specified in the lab description.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ nav:
- Nokia SR Linux and Cisco XRv9k: lab-examples/vr-xrv9k.md
- Nokia SR Linux and Cisco XRv: lab-examples/vr-xrv.md
- Nokia SR Linux and FRR: lab-examples/srl-frr.md
- BGP VPLS between Nokia and Juniper: lab-examples/bgp-vpls-nok-jun.md

site_author: Roman Dodin
site_description: >-
Expand Down

0 comments on commit da5261b

Please sign in to comment.