chore(cleaning) : Remove useless information on README
- Adapt devcontainer to used dood instead of dind - Re-organize template
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"image": "ghcr.io/srl-labs/containerlab/devcontainer-dind:latest",
|
||||
"image": "ghcr.io/srl-labs/containerlab/devcontainer-dood:latest",
|
||||
"runArgs": [
|
||||
"--network=host",
|
||||
"--pid=host",
|
||||
"--privileged"
|
||||
],
|
||||
"forwardPorts": [
|
||||
50080,
|
||||
5001
|
||||
|
||||
@@ -71,21 +71,6 @@ To add this new image to docker, please use the docker CLI command :
|
||||
docker import cEOS64-lab-4.33.2F.tar.xz ceos:4.33.2F
|
||||
```
|
||||
|
||||
### Nokia SR Linux
|
||||
|
||||
```bash
|
||||
docker pull ghcr.io/nokia/srlinux
|
||||
```
|
||||
|
||||
Now you should see images available to use :
|
||||
|
||||
```bash
|
||||
➜ projet-vxlan-automation git:(main) ✗ docker images
|
||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||
ceos 4.32.0.1F 63870e68ff8d 2 days ago 1.95GB
|
||||
ghcr.io/nokia/srlinux latest 801eb020ad70 11 days ago 2.59GB
|
||||
```
|
||||
|
||||
## Install Netbox and plugins
|
||||
|
||||
For this project, we need to install specific plugin :
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{# Leaf Configuration Template #}
|
||||
|
||||
{# Routing and VXLAN functionnalities #}
|
||||
service routing protocols model multi-agent
|
||||
ip routing
|
||||
|
||||
{# Interfaces configuration #}
|
||||
{%- for interface in device.interfaces.all() %}
|
||||
interface {{ interface.name }}
|
||||
{%- if interface.description %}
|
||||
@@ -23,9 +28,6 @@ interface {{ interface.name }}
|
||||
!
|
||||
{%- endfor %}
|
||||
|
||||
service routing protocols model multi-agent
|
||||
ip routing
|
||||
|
||||
{# BGP Route-Maps and Prefix Lists #}
|
||||
{%- set loopback_ip = device.interfaces.get(name='Loopback0').ip_addresses.first().address %}
|
||||
ip prefix-list VTEP_PREFIX seq 10 permit {{ loopback_ip }}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
{# Routing functionnality #}
|
||||
ip routing
|
||||
|
||||
{# Interfaces configuration #}
|
||||
{%- for interface in device.interfaces.all() %}
|
||||
interface {{ interface.name }}
|
||||
{%- if interface.description %}
|
||||
@@ -14,7 +18,6 @@ interface {{ interface.name }}
|
||||
{%- endfor %}
|
||||
|
||||
{# BGP Configuration #}
|
||||
ip routing
|
||||
{%- set loopback_interface = device.interfaces.get(name='Loopback0') %}
|
||||
{%- set router_id = loopback_interface.ip_addresses.first().address.ip %}
|
||||
router bgp {{ device.custom_field_data.ASN }}
|
||||
|
||||
Reference in New Issue
Block a user