[pve-devel] applied: [PATCH v3 cluster 2/4] Enable support for up to 8 corosync links

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 5 10:42:38 CET 2020


Am 1/9/20 um 4:31 PM schrieb Stefan Reiter:
> add_corosync_link_properties/extract_corosync_link_args are introduced
> as helpers to avoid hardcoding links in parameters=>properties on
> several occasions, while still providing autocompletion with pvecm by
> being seperate parameters instead of an array.
> 
> Maximum number of links is given as constant MAX_LINK_COUNT, should it
> change in the future.
> 
> All necessary functions have been updated to
> use the new $links array format instead of seperate $link0/$link1
> parameters, and call sites changed accordingly.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> This patch intentionally removes some verification and fallback code to be
> reintroduced in the next one.
> 
>  data/PVE/API2/ClusterConfig.pm | 51 +++++++-------------
>  data/PVE/CLI/pvecm.pm          | 21 ++++----
>  data/PVE/Cluster/Setup.pm      | 20 ++++----
>  data/PVE/Corosync.pm           | 88 +++++++++++++++++++++++-----------
>  4 files changed, 97 insertions(+), 83 deletions(-)
> 

applied, thanks!




More information about the pve-devel mailing list