]> git.proxmox.com Git - pve-cluster.git/commit
cluster create: use new corosync-link format for totem interfaces
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 28 May 2019 16:07:05 +0000 (18:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jun 2019 08:21:03 +0000 (10:21 +0200)
commit046173ce24fb5ac6a7c19677b24603b98ce75494
tree853ea90b7f9e53de6472e6ea8de5da592d778ba0
parent1f4b7f81a46e076337f9b6fe8ee122218994037c
cluster create: use new corosync-link format for totem interfaces

Preparation for enhanced compatibility with new corosync 3/knet
transport. Pretty straight forward switch from ringX_addr to links,
*but*, for configuration backward compatibility corosync still uses
"ringX_addr" as "link address", this will surely add confusion...

We drop all the "all IP versions must match" checking code, as
1. it could not cope with unresolved hostname's anyway
2. links can be on different IP versions with kronosnet

This makes it a bit easier and shorter, we can re-add some (saner)
checking always later on, if people misconfigure this often..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/API2/ClusterConfig.pm
data/PVE/Corosync.pm