nixos-module/container/bird: remove useless network declarations

This commit is contained in:
Astro 2021-04-30 23:35:54 +02:00
parent eda2bc3b55
commit 268e16999f
1 changed files with 0 additions and 36 deletions

View File

@ -108,12 +108,6 @@ in
export where net != 0.0.0.0/0;
};
area 0 {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks4
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _:
@ -152,12 +146,6 @@ in
export where net = 0.0.0.0/0;
};
area ${config.site.net.core.hosts4.${hostName}} {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks4
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _:
@ -192,12 +180,6 @@ in
''}
};
area ${config.site.net.core.hosts4.${upstream}} {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks4
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _:
@ -224,12 +206,6 @@ in
export where net != ::/0;
};
area 0 {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks6
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _:
@ -270,12 +246,6 @@ in
export where net = ::/0;
};
area ${config.site.net.core.hosts4.${hostName}} {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks4
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _:
@ -307,12 +277,6 @@ in
};
};
area ${config.site.net.core.hosts4.${upstream}} {
# Enabled on these networks
networks {
${builtins.concatStringsSep " " (
map (n: " ${n};") config.site.ospf.networks4
)}
};
${builtins.concatStringsSep "\n" (
builtins.attrValues (
builtins.mapAttrs (net: _: