From: Alexandre Derumier Date: Fri, 17 Nov 2023 11:39:39 +0000 (+0100) Subject: add priv/macs.db X-Git-Url: https://git.proxmox.com/?p=pve-cluster.git;a=commitdiff_plain;h=2b2ecfe8a7a6c771c5c3f475d3bf18c7a318974a add priv/macs.db use to cache mac-ip list association. can be use by external ipam, firewall,etc for fast lookup Signed-off-by: Alexandre Derumier --- diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm index cfa2583..80c4bc0 100644 --- a/src/PVE/Cluster.pm +++ b/src/PVE/Cluster.pm @@ -62,6 +62,7 @@ my $observed = { 'priv/token.cfg' => 1, 'priv/acme/plugins.cfg' => 1, 'priv/ipam.db' => 1, + 'priv/macs.db' => 1, '/qemu-server/' => 1, '/openvz/' => 1, '/lxc/' => 1, diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c index c8094ac..078602e 100644 --- a/src/pmxcfs/status.c +++ b/src/pmxcfs/status.c @@ -89,6 +89,7 @@ static memdb_change_t memdb_change_array[] = { { .path = "priv/tfa.cfg" }, { .path = "priv/token.cfg" }, { .path = "priv/ipam.db" }, + { .path = "priv/macs.db" }, { .path = "datacenter.cfg" }, { .path = "vzdump.cron" }, { .path = "vzdump.conf" },