]> git.proxmox.com Git - pve-cluster.git/commit
corosync config: support 'linknumber' property
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 May 2019 16:08:47 +0000 (18:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jun 2019 08:20:02 +0000 (10:20 +0200)
commit018bbcab945134d9d2d979abe68726deddd4fd0d
tree906be4bfb3384c44f5bdf5e3a9fb9c85c987fd58
parentcb7cea8044414f16dfc0bf1c64c8ad2c677e4ffb
corosync config: support 'linknumber' property

Corosync has moved its rings a layer up, i.e., abstracted away from
the network layer below. That what early were called rings are now
links, knet can have up to 8 all others 1, for now.

Let our parser understand this change in the totem section of the
config, but keep backwards compatibility and accept 'ringnumber'
also.

While we are at it, try to write out the two map operations used in a
bit more readable way.

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