[pve-devel] [PATCH pve-guest-common 0/2] use extra file for replication config

Dietmar Maurer dietmar at proxmox.com
Tue May 23 08:40:47 CEST 2017


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




More information about the pve-devel mailing list