summaryrefslogtreecommitdiff
path: root/src/test/run_test_zones.pl
diff options
context:
space:
mode:
authorStefan Hanreich <s.hanreich@proxmox.com>2025-07-16 15:08:07 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2025-07-17 00:10:42 +0200
commitaff710c146d642e5304a179aadd5fb865245a20e (patch)
tree0b0ad61983b497213c98d186fc73fdc90c79dc64 /src/test/run_test_zones.pl
parent3999d93ac05c3c60a41d1ffb2d98ab352f91df3f (diff)
fabrics: generate ifupdown configuration
Currently, the ifupdown config generation is handled solely by the zones plugin. Since the fabrics need to generate ifupdown configuration as well, we create a new helper in the SDN module. It then in turn calls into the zone and fabrics plugin, and merges the generated raw configuration before writing it to the /etc/network/interfaces.d/sdn file. Co-authored-by: Gabriel Goller <g.goller@proxmox.com> Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com> Link: https://lore.proxmox.com/20250716130837.585796-47-g.goller@proxmox.com
Diffstat (limited to 'src/test/run_test_zones.pl')
-rwxr-xr-xsrc/test/run_test_zones.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run_test_zones.pl b/src/test/run_test_zones.pl
index 266bd9b..917f40a 100755
--- a/src/test/run_test_zones.pl
+++ b/src/test/run_test_zones.pl
@@ -134,7 +134,7 @@ foreach my $test (@tests) {
my $name = $test;
my $expected = read_file("./$test/expected_sdn_interfaces");
- my $result = eval { PVE::Network::SDN::Zones::generate_etc_network_config() };
+ my $result = eval { PVE::Network::SDN::generate_raw_etc_network_config() };
if (my $err = $@) {
diag("got unexpected error - $err");