Skip to content

cozystack preset: support multiple Layer2 VIPs (VIP on more than one link) #227

Description

Problem

vipLink is a single value, so the preset can pin at most one VIP. A node that needs a VIP on two links — e.g. a control-plane VIP on the primary link (192.0.2.254) and a separate VIP on a storage/secondary link (203.0.113.254) — cannot express the second and must hand-edit the rendered config.

Related to #226 (full multi-link topology).

Proposal

Accept a list of VIPs, each bound to a link:

vips:
  - { link: bond0, ip: 192.0.2.254 }
  - { link: bond1, ip: 203.0.113.254 }

mapping to one Layer2VIPConfig (Talos 1.12+) or an inline vip block (legacy) per link. Keep vipLink/floatingIP as the single-VIP shorthand for back-compat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions