summaryrefslogtreecommitdiff
path: root/templates/policy
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-04 09:44:42 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-04 09:44:42 -0800
commitb59815d0df23a26a92dab4183b554cffbad426c2 (patch)
tree7fbee50be9fd0f0c837fcf3c9456332501af3b9e /templates/policy
parentd912bede4d9708e0d26c09d3fa8e0acfa95c6bff (diff)
parent8daaf563f262f65fd2eca1cd37956e3d75ef0db0 (diff)
downloadvyatta-cfg-quagga-b59815d0df23a26a92dab4183b554cffbad426c2.tar.gz
vyatta-cfg-quagga-b59815d0df23a26a92dab4183b554cffbad426c2.zip
Merge branch 'kenwood' of vm:vyatta/kenwood/vyatta-cfg-quagga into kenwood
Diffstat (limited to 'templates/policy')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def
index d03bfc81..5d0ef00d 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/set/community/node.def
@@ -9,12 +9,7 @@ comp_help: \1 <AA:NN>\tcommunity in 4 octet AS:value format
allowed:echo "none local-AS no-advertise no-export internet"
-syntax:expression: pattern $VAR(@) \
- "^(additive )?([0-9]+:[0-9]+|none|local-AS|no-advertise|no-export|internet)$" \
- ; "\"$VAR(@)\" unknown community string or attribute"
-
-syntax:expression: "$VAR(@)" != "additive none" \
- ; "\"additive none\" is meaningless"
+syntax:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-community $VAR(@)"
commit:expression: $VAR(../../action/) != "" \
; "policy route-map $VAR(../../../@) rule $VAR(../../@): You must specify an action"