[pve-devel] [PATCH v3 pve-cluster 1/1] add sdn vnets/zones/controllers.cfg
Alexandre Derumier
aderumier at odiso.com
Tue Nov 26 14:42:52 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..491082c 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