Project

General

Profile

Bug #5885

get_configured_carp_interface_list() and get_configured_ip_aliases_list() were consolidated but still referenced by packages, missing filtering

Added by Jim Pingle over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
CARP
Target version:
Start date:
02/12/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3
Affected Architecture:
All

Description

get_configured_carp_interface_list() and get_configured_ip_aliases_list() were removed in 2a5960b07bb2a40aeaf81423b0c52d5629e87e49, but they are still referenced by packages.

The two were replaced by a consolidated get_configured_vip_list() but the new function does not have a way to return only IP Alias or only CARP VIPs. The HAproxy package, and perhaps other code, still references the two separately and uses them in ways that are now no longer possible. Primarily for things like finding a list of only CARP VIPs.

Associated revisions

Revision ce94deb0 (diff)
Added by Luiz Souza over 3 years ago

Implement a switch that allows get_configured_vip_list() return only the selected type of VIP addresses: CARP, IP alias or all VIPs (default).

It seems that a few packages still rely on this.

Ticket #5885

History

#1 Updated by Luiz Souza over 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

now get_configured_vip_list() has a switch to select the kind of VIP address you want in the list (CARP, IP alias and all VIPs (default)).

#2 Updated by Jim Pingle over 3 years ago

  • Status changed from Feedback to Resolved

Looks good, thanks!

Also available in: Atom PDF