chore(cleaning) : Remove useless information on README
- Adapt devcontainer to used dood instead of dind - Re-organize template
This commit is contained in:
@@ -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