[pve-devel] [PATCH pve-cluster 1/1] add sdn vnets/zones/controllers.cfg

Alexandre Derumier aderumier at odiso.com
Tue Oct 22 16:59:13 CEST 2019


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 data/PVE/Cluster.pm | 8 ++++++--
 data/src/status.c   | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 9cb68d8..3a0a35d 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -95,8 +95,12 @@ my $observed = {
     'ha/fence.cfg' => 1,
     'status.cfg' => 1,
     'ceph.conf' => 1,
-    'sdn.cfg' => 1,
-    'sdn.cfg.new' => 1,
+    'sdn/vnets.cfg' => 1,
+    'sdn/vnets.cfg.new' => 1,
+    'sdn/zones.cfg' => 1,
+    'sdn/zones.cfg.new' => 1,
+    'sdn/controllers.cfg' => 1,
+    'sdn/controllers.cfg.new' => 1,
 };
 
 # only write output if something fails
diff --git a/data/src/status.c b/data/src/status.c
index 62eaa76..9732f3e 100644
--- a/data/src/status.c
+++ b/data/src/status.c
@@ -94,8 +94,12 @@ static memdb_change_t memdb_change_array[] = {
 	{ .path = "status.cfg" },
 	{ .path = "replication.cfg" },
 	{ .path = "ceph.conf" },
-	{ .path = "sdn.cfg" },
-	{ .path = "sdn.cfg.new" },
+	{ .path = "sdn/vnets.cfg" },
+	{ .path = "sdn/vnets.cfg.new" },
+	{ .path = "sdn/zones.cfg" },
+	{ .path = "sdn/zones..cfg.new" },
+	{ .path = "sdn/controllers.cfg" },
+	{ .path = "sdn/controllers.cfg.new" },
 };
 
 static GMutex mutex;
-- 
2.20.1




More information about the pve-devel mailing list