Browse Source

templates: Added quagga template

Sebastien Badia 9 years ago
parent
commit
38123386d1
1 changed files with 16 additions and 0 deletions
  1. 16 0
      templates/quagga.j2

+ 16 - 0
templates/quagga.j2

@@ -0,0 +1,16 @@
+conf t
+router bgp 20766
+neighbor {{ neighbor_ipv4 }} remote-as {{ neighbor_as }}
+neighbor {{ neighbor_ipv4 }} peer-group {{ ix_name }}_FIXME
+neighbor {{ neighbor_ipv4 }} description "====== {{ description }}"
+{% if limit_ipv4 %}
+neighbor {{ neighbor_ipv4 }} maximum-prefix {{ limit_ipv4 }}
+{% endif %}
+#
+neighbor {{ neighbor_ipv6 }} remote-as {{ neighbor_as }}
+neighbor {{ neighbor_ipv6 }} description "====== {{ description }}"
+address-family ipv6
+neighbor {{ neighbor_ipv6 }} peer-group {{ ix_name }}_FIXME
+{% if limit_ipv6 %}
+neighbor {{ neighbor_ipv6 }} maximum-prefix {{ limit_ipv6 }}
+{% endif %}