nixos-module/container/bird: remove useless network declarations
parent
eda2bc3b55
commit
268e16999f
|
@ -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: _:
|
||||
|
|
Loading…
Reference in New Issue