summaryrefslogtreecommitdiff
path: root/templates/policy/route-map
diff options
context:
space:
mode:
authorElizandro Pacheco <elizandropacheco@MacBook-Pro-de-Elizandro.local>2017-04-04 16:30:38 -0300
committerElizandro Pacheco <elizandropacheco@MacBook-Pro-de-Elizandro.local>2017-04-04 16:30:38 -0300
commit50f529243442a7e50c7c0d9a37cac5ba3570cf0d (patch)
tree9ba54c98bac6852f59c935ddc33a988c15ca52d4 /templates/policy/route-map
parent242a6ebf8bdd7e33269cc65dca028ad8c914e295 (diff)
downloadvyatta-cfg-quagga-50f529243442a7e50c7c0d9a37cac5ba3570cf0d.tar.gz
vyatta-cfg-quagga-50f529243442a7e50c7c0d9a37cac5ba3570cf0d.zip
Add Border Gateway Protocol extommunities support on route-map parameter.
Diffstat (limited to 'templates/policy/route-map')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/bgp-extcommunity-rt/node.def10
1 files changed, 3 insertions, 7 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/bgp-extcommunity-rt/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/bgp-extcommunity-rt/node.def
index f61eb2ea..2f2cc1ea 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/set/bgp-extcommunity-rt/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/set/bgp-extcommunity-rt/node.def
@@ -1,12 +1,7 @@
type: txt
-help: Border Gateway Protocl (BGP) extcommunity attribute
-val_help: <AA:NN>; Community in 4 octet AS:value format
-val_help: local-AS; Advertise communities in local AS only (NO_EXPORT_SUBCONFED)
-val_help: no-advertise; Don't advertise this route to any peer (NO_ADVERTISE)
-val_help: no-export; Don't advertise outside of this AS of confederation boundry (NO_EXPORT)
-val_help: internet; Symbolic Internet community 0
+help: Border Gateway Protocol (BGP) extcommunity attribute
+val_help: <AA:NN>; ExtCommunity in format: AS:value
-allowed:echo "none local-AS no-advertise no-export internet"
syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-community $VAR(@)"
commit:expression: $VAR(../../action/) != "" ; "You must specify an action"
@@ -18,3 +13,4 @@ update: vtysh -c "configure terminal" \
delete: vtysh -c "configure terminal" \
-c "route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)" \
-c "no set extcommunity rt "
+