Page MenuHomeDevCentral

carp.rc
No OneTemporary

# -------------------------------------------------------------
# Network — rc configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/router/carp/files/carp.rc
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
{% for entry in carp_entries %}
{% set carp_pass = salt['credentials.get_password']('network/carp/' ~ entry.vhid) %}
{% set prefix = 27 if entry.interface_name == 'intranought' else 32 %}
ifconfig_{{ entry.device }}_alias0="inet vhid {{ entry.vhid }} advskew {{ entry.advskew }} pass {{ carp_pass }}{% if entry.peer is defined %} peer {{ entry.peer }}{% endif %} alias {{ entry.vip }}/{{ prefix }}"
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 6, 23:21 (2 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4206439
Default Alt Text
carp.rc (1010 B)

Event Timeline