mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: Added attribute-unchanged option (#3112)
This commit is contained in:
+7
@@ -132,6 +132,13 @@
|
||||
<type>checkbox</type>
|
||||
<help>Allow peerings between directly connected eBGP peers using loopback addresses.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.attributeunchanged</id>
|
||||
<label>Attribute Unchanged</label>
|
||||
<type>dropdown</type>
|
||||
<advanced>true</advanced>
|
||||
<help><![CDATA[This specifies attributes to be left unchanged when sending advertisements to a peer. Read more at <a href="https://docs.frrouting.org/en/latest/bgp.html#clicmd-neighbor-PEER-attribute-unchanged-as-path-next-hop-med">FRR documentation</a>.]]></help>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.linkedPrefixlistIn</id>
|
||||
<label>Prefix-List In</label>
|
||||
|
||||
@@ -142,6 +142,15 @@
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</disable_connected_check>
|
||||
<attributeunchanged type="OptionField">
|
||||
<default></default>
|
||||
<Required>N</Required>
|
||||
<OptionValues>
|
||||
<as-path>as-path</as-path>
|
||||
<next-hop>next-hop</next-hop>
|
||||
<med>med</med>
|
||||
</OptionValues>
|
||||
</attributeunchanged>
|
||||
<linkedPrefixlistIn type="ModelRelationField">
|
||||
<Model>
|
||||
<template>
|
||||
|
||||
@@ -89,6 +89,9 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
|
||||
{% if 'connecttimer' in neighbor and neighbor.connecttimer != '' %}
|
||||
neighbor {{ neighbor.address }} timers connect {{ neighbor.connecttimer }}
|
||||
{% endif %}
|
||||
{% if 'attributeunchanged' in neighbor and neighbor.attributeunchanged != '' %}
|
||||
neighbor {{ neighbor.address }} attribute-unchanged {{ neighbor.attributeunchanged }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user