Commit 377d1742 authored by nanahira's avatar nanahira

the gwgroup

parent bead71cb
# MyCard bird
# Force change in 12.14
log stderr all;
router id {{address}};
protocol device {}
protocol kernel {
learn;
ipv4 {
import where net = 0.0.0.0/0;
export where net != 0.0.0.0/0;
};
#ipv6 { export all; };
}
{% for plan in routePlans %}
ipv4 table {{plan.name}};
{% if plan.addressesString %}
protocol pipe {
table master4;
peer table {{plan.name}};
export where ospf_router_id ~ {{plan.addressesString}};
}
{% endif %}
protocol kernel {
ipv4 {
table {{plan.name}};
export all;
};
persist;
kernel table {{plan.destMark}};
}
{% endfor %}
declare -A gateways=(
{% for plan in routePlans %}
[{{plan.destMark}}]="{{plan.addressesString}}"
{% endfor %}
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment