This approach is better, because it is easier to get a list of all replication jobs (before it was required to read all VM/CT configuration files). We use SectionConfig, so it is easy to extend the schema and add additional replication types with different config (cross-cluster replication).
Dietmar Maurer (2): PVE/ReplicationConfig.pm - new configuratin file for replication AbstractConfig.pm: remove code for replicate configuration Makefile | 1 + PVE/AbstractConfig.pm | 6 +- PVE/ReplicationConfig.pm | 203 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 206 insertions(+), 4 deletions(-) create mode 100644 PVE/ReplicationConfig.pm -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel