Add frb1.cph.dk.routers.v6.hessnet.dk

This commit is contained in:
Jesper Hess 2020-04-21 15:41:48 +02:00
parent 8de7d1df57
commit 21042962d4
Signed by: graffen
GPG key ID: 351A89E40D763F0F
3 changed files with 28 additions and 1 deletions

View file

@ -1,6 +1,7 @@
[defaults] [defaults]
inventory = inventory inventory = inventory
interpreter_python = auto_silent interpreter_python = auto_silent
vault_password_file = ~/vault_password
[privilege_escalation] [privilege_escalation]
become = True become = True

View file

@ -0,0 +1,26 @@
---
router_id: "185.38.175.78"
router_v4_ip: "185.38.175.78"
router_v6_ip: "2a01:4262:1ab:20::78"
bgp_peers:
- name: "labitat_v4"
template: "transit_v4"
peer_asn: "205235"
neighbor_ip: "185.38.175.65"
- name: "labitat_v6"
template: "transit_v6"
peer_asn: "205235"
neighbor_ip: "2a01:4262:1ab:20::1"
- name: "hessnet_home"
template: "peer_hessnet"
peer_asn: "209616"
neighbor_ip: "2001:678:15c:a00::1"
filters:
export: "{ peer_export_default_only(); }"
import: "myroutes_import_export"
announce_from_here: true
configure_static_multihop_routes: false

View file

@ -235,7 +235,7 @@ template bgp peer_hessnet {
{% for peer in bgp_peers %} {% for peer in bgp_peers %}
protocol bgp {{ peer.name }} from {{ peer.template }} { protocol bgp {{ peer.name }} from {{ peer.template }} {
neighbor {{peer.neighbor_ip}} as {{peer.asn}}; neighbor {{peer.neighbor_ip}} as {{peer.peer_asn}};
{% if peer.password is defined %} {% if peer.password is defined %}
password "{{ peer.password }}"; password "{{ peer.password }}";
{% endif %} {% endif %}