Skip to content

Commit

Permalink
added FRR example
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jan 23, 2021
1 parent cffca9b commit 7bca45b
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 3 deletions.
26 changes: 26 additions & 0 deletions docs/lab-examples/srl-frr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
| | |
| ----------------------------- | ---------------------------------------------------------------------------------------- |
| **Description** | A Nokia SR Linux connected back-to-back FRR router |
| **Components** | [Nokia SR Linux][srl], [FRR](http://docs.frrouting.org/en/latest/overview.html) |
| **Resource requirements**[^1] | :fontawesome-solid-microchip: 1 <br/>:fontawesome-solid-memory: 2 GB |
| **Topology file** | [srlfrr01.yml][topofile] |
| **Name** | srlfrr01 |
| **Version information**[^2] | `containerlab:0.9.0`, `srlinux:20.6.3-145`, `frrouting/frr:v7.5.0`, `docker-ce:19.03.13` |

## Description
A lab consists of an SR Linux node connected with FRR router via a point-to-point ethernet link. Both nodes are also connected with their management interfaces to the `clab` docker network.

<div class="mxgraph" style="max-width:100%;border:1px solid transparent;margin:0 auto; display:block;" data-mxgraph="{&quot;page&quot;:2,&quot;zoom&quot;:1.5,&quot;highlight&quot;:&quot;#0000ff&quot;,&quot;nav&quot;:true,&quot;check-visible-state&quot;:true,&quot;resize&quot;:true,&quot;url&quot;:&quot;https://raw.githubusercontent.com/srl-wim/container-lab/diagrams/srlsonic01.drawio&quot;}"></div>

## Use cases
This lab allows users to launch basic control plane interoperability scenarios between Nokia SR Linux and FRR network operating systems.

The lab directory [contains](https://github.com/srl-wim/container-lab/tree/master/lab-examples/srlfrr01) files with essential configurations which can be used to jumpstart the interop demonstration.

[srl]: https://www.nokia.com/networks/products/service-router-linux-NOS/
[topofile]: https://github.com/srl-wim/container-lab/tree/master/lab-examples/srlfrr01/srlfrr01.yml

[^1]: Resource requirements are provisional. Consult with the installation guides for additional information.
[^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.

<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/hellt/drawio-js@main/embed2.js" async></script>
2 changes: 2 additions & 0 deletions lab-examples/srlfrr01/frr.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
interface eth1
ip address 192.168.1.2/24
9 changes: 9 additions & 0 deletions lab-examples/srlfrr01/srl.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enter candidate
set / interface ethernet-1/1
set / interface ethernet-1/1 admin-state enable
set / interface ethernet-1/1 subinterface 0
set / interface ethernet-1/1 subinterface 0 ipv4
set / interface ethernet-1/1 subinterface 0 ipv4 address 192.168.1.1/24
set / network-instance default
set / network-instance default interface ethernet-1/1.0
commit now
14 changes: 14 additions & 0 deletions lab-examples/srlfrr01/srlfrr01.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: srlfrr01

topology:
nodes:
srl:
kind: srl
image: srlinux:20.6.3-145
license: license.key
frr:
kind: linux
image: frrouting/frr:latest

links:
- endpoints: ["srl:e1-1", "frr:eth1"]
7 changes: 4 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ nav:
- Nokia SR Linux and SONiC: lab-examples/srl-sonic.md
- External bridge capability: lab-examples/ext-bridge.md
- WAN topology: lab-examples/wan.md
- SR Linux and Nokia SR OS: lab-examples/vr-sros.md
- SR Linux and Juniper vMX: lab-examples/vr-vmx.md
- SR Linux and Cisco XRv: lab-examples/vr-xrv.md
- Nokia SR Linux and Nokia SR OS: lab-examples/vr-sros.md
- Nokia SR Linux and Juniper vMX: lab-examples/vr-vmx.md
- Nokia SR Linux and Cisco XRv: lab-examples/vr-xrv.md
- Nokia SR Linux and FRR: lab-examples/srl-frr.md

site_author: Roman Dodin
site_description: >-
Expand Down

0 comments on commit 7bca45b

Please sign in to comment.