Refactor the things that are common between bird and frr build types -- no-op for the build/ output

This commit is contained in:
Pim van Pelt
2023-05-31 16:14:33 +00:00
parent 4d964af173
commit f929b836e8
44 changed files with 180 additions and 84 deletions

View File

@ -0,0 +1 @@
{{ node.hostname }}

View File

@ -0,0 +1,7 @@
127.0.0.1 localhost
127.0.1.1 {{node.hostname}}.lab.ipng.ch {{node.hostname}}
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View File

@ -0,0 +1,28 @@
-*%%=
=%@@@@@:
:%@@@@@@@*
:*@@@@@@@@@@ .=+-
:=*#%@@@@@@@@@@@@@+ .+@@@@#
.+@@@@@@@@@@@@@@@@@@@@##@@@@@@@=
+@@@@@@@@@@@%*+@@@@@@@@@@@@@@@@@*
=@@@@@@@@@#=: *@@@@%#*+*@@@@@@@#
-%@@@@@@@*- ::. :*@@@@@@@@@
=%@@@@@@@+ *@@@@@@@@@@@*
:*@@@@@@@@+ %@@@@@@@@@@@@@@+.
-*@@@@@@@@@+ +%@@@@@@@@@@@@@@@*.
.-+%@@@@@@@@@#- =@@@@@@@@@@@@@@@+
:=*%@@@@@@@@%*=: @@@@@@@@@@@@@@@@#
:+#@@@@@@@#*+-: :*%@@@@@@%%@@@@@@@@@@@@@@@@@#
.=#@@%#*+=-. :##%%@@@@@@@@@@@@@@@@@@@@@@@@@#
.-=-: ..:-=+*#%@@@@@@@@@@@@@@-
..::--==++***##%%%%@@@@@@@@@@@@@@@@%%%##***+==-::. .-=*#@@@@@@@@*
.:=+*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+-: :=+#@@@%
..:--=+**#%@@@@@@@@@@@@@@@@@@@@@@%#*##%@@@@@@@@@@@@@@@#+-. .-+-
.:=+*#%@@@@@@@@@@@@@@@@#+=:..-=+#%@@@@@@@@@@@@#+-.
.:=+#%@@@@@@@@@@@@@@@#+-. :-+#@@@@@@@@@@@%=
https://ipng.ch/ :-+#@@@@@@@@@@@@@@@#+-. .-+*%@%*-.
IPng Networks GmbH :=*%@@@@@@@@@@@@@%*-
:=*%@@@@@@@#+-.
Restricted access. Authorized users only. :=+-.
All connections are monitored and recorded. Contact <noc@ipng.ch> for details.

View File

@ -0,0 +1,7 @@
domain lab.ipng.ch
search{% for domain in lab.nameserver.search %} {{domain}}{%endfor %}
{% for resolver in lab.nameserver.addresses %}
nameserver {{resolver}}
{%endfor%}

View File

@ -0,0 +1,16 @@
network:
version: 2
renderer: networkd
ethernets:
enp1s0:
optional: true
accept-ra: false
dhcp4: false
mtu: 9000
addresses: [ {{node.mgmt.ipv4}}, {{node.mgmt.ipv6}} ]
routes:
- to: 0.0.0.0/0
via: {{lab.mgmt.gw4}}
- to: ::/0
via: {{lab.mgmt.gw6}}

View File

@ -0,0 +1,6 @@
domain lab.ipng.ch
search{% for domain in lab.nameserver.search %} {{domain}}{%endfor %}
nameserver 194.1.163.3
nameserver 194.1.163.4