Automate CARP activation and parameter preemption
Summary:
Automate CARP configuration on router nodes. Preemption is also enabled (net.inet.carp.preempt=1) so that the router with the highest priority CARP regains
the MASTER role after recovery or after being start late.
Ref T2205
Test Plan:
1.Apply the state on router nodes.
2.Verify CARP states (MASTER/BACKUP).
3.Simulate failover and recovery.
4.Verify CARP states (MASTER/BACKUP).
Reviewers: dereckson, Duranzed
Reviewed By: dereckson
Subscribers: Duranzed, dereckson
Maniphest Tasks: T2205
Differential Revision: https://devcentral.nasqueron.org/D4006