1234567891011121314151617181920212223242526272829303132333435363738 |
- protocol babel crxn {
- randomize router id on;
- {% if crxnpeers is defined %}{% for peer in crxnpeers %}
- interface "{{ peer.interface }}" {
- type wired;
- {% if peer.rxcost == "rtt" %}
- rxcost 96;
- rtt cost 192;
- rtt min 10 ms;
- rtt max 1000 ms;
- {% else %}
- rxcost {{ peer.rxcost }};
- {% endif %}
- send timestamps yes;
- };
- {% endfor %}{% endif %}
- {% for igp_peer in dnet.igp if igp_peer.interface is defined %}
- # IGP peer {{ igp_peer.name }}
- interface "{{ igp_peer.interface }}" {
- type wired;
- rxcost 96;
- rtt cost 192;
- rtt min 10 ms;
- rtt max 1000 ms;
- port 6697;
- };
- {% endfor %}
- ipv6 {
- import where crxn_import_filter();
- import limit 2000 action block;
- export where crxn_export_filter();
- };
- }
|