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

Alexandre Derumier aderumier at odiso.com
Tue Nov 26 10:00:57 CET 2019


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

diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 2057162..c1d8b09 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -63,8 +63,13 @@ 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,
+
 };
 
 sub base_dir {
diff --git a/data/src/status.c b/data/src/status.c
index 62eaa76..7376468 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 = "vnets.cfg" },
+	{ .path = "vnets.cfg.new" },
+	{ .path = "zones.cfg" },
+	{ .path = "zones.cfg.new" },
+	{ .path = "controllers.cfg" },
+	{ .path = "controllers.cfg.new" },
 };
 
 static GMutex mutex;
-- 
2.20.1




More information about the pve-devel mailing list