]> git.proxmox.com Git - pve-cluster.git/commit - data/PVE/Corosync.pm
corosync config parser: move to hash format
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Sep 2017 13:11:02 +0000 (15:11 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 20 Sep 2017 13:16:49 +0000 (15:16 +0200)
commit496de919a5a2c5eed32d5430889785601ab9b287
tree8566fde05427abab911feaef413d3d91440e00ed
parent9d4c584557fe6d6d77e850848e7f69055124a98c
corosync config parser: move to hash format

The old parser itself was simple and easy but resulted in quite a bit
of headache when changing corosync config sections, especially if
multiple section levelsshould be touched.

Move to a more practical internal format which represents the
corosync configuration in hash

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/API2/ClusterConfig.pm
data/PVE/Corosync.pm
data/test/corosync_configs/multiple-nodes.conf
data/test/corosync_configs/single-node.conf