summaryrefslogtreecommitdiff
path: root/templates/policy/extcommunity-list/expanded/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/extcommunity-list/expanded/node.def')
-rw-r--r--templates/policy/extcommunity-list/expanded/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/policy/extcommunity-list/expanded/node.def b/templates/policy/extcommunity-list/expanded/node.def
new file mode 100644
index 00000000..95f6f003
--- /dev/null
+++ b/templates/policy/extcommunity-list/expanded/node.def
@@ -0,0 +1,8 @@
+tag:
+priority: 490
+type: txt
+help: Border Gateway Protocol (BGP) extended community-list filter
+
+syntax:expression: pattern $VAR(@) "^[a-zA-Z0-9]+$" ; "Should be alphanumeric name"
+
+end: /opt/vyatta/sbin/vyatta-policy.pl --update-community-list expanded $VAR(@)