Page MenuHomeDevCentral

Add CARP configuration in role/router/carp/carp.sls
Needs ReviewPublic

Authored by yousra on Mon, Mar 2, 15:52.

Details

Reviewers
dereckson
Summary

Add router CARP configuration using Jinja template and Salt state to deploy with Salt the CARP configuration.

Test Plan

Apply state on router-002 and router-003 and verify CARP alias is configured.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
role-router
Build Status
Buildable 6387
Build 6671: arc lint + arc unit

Event Timeline

yousra requested review of this revision.Mon, Mar 2, 15:52
yousra created this revision.

Using a separate file like /etc/rc.conf.d/netif/carp keeps the CARP configuration isolated,
avoids modifying the main /etc/rc.conf, and makes the setup cleaner and safer.
It improves maintainability, reduces the risk of conflicts, and ensures a more modular infrastructure design.