summaryrefslogtreecommitdiff
path: root/templates/policy/as-path-list
diff options
context:
space:
mode:
Diffstat (limited to 'templates/policy/as-path-list')
-rw-r--r--templates/policy/as-path-list/node.def6
-rw-r--r--templates/policy/as-path-list/node.tag/description/node.def2
-rw-r--r--templates/policy/as-path-list/node.tag/rule/node.def4
-rw-r--r--templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def4
-rw-r--r--templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def2
-rw-r--r--templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def4
6 files changed, 11 insertions, 11 deletions
diff --git a/templates/policy/as-path-list/node.def b/templates/policy/as-path-list/node.def
index fded4b87..bda7042e 100644
--- a/templates/policy/as-path-list/node.def
+++ b/templates/policy/as-path-list/node.def
@@ -1,5 +1,5 @@
tag:
type: txt
-help: "BGP autonomous system path filter"
-syntax: pattern $(@) "^[-a-zA-Z0-9.]+$" ; "as-path-list name must be alpha-numeric"
-end: "/opt/vyatta/sbin/vyatta-policy.pl --update-aspath-list $(@)"
+help: BGP autonomous system path filter
+syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "as-path-list name must be alpha-numeric"
+end:expression: "/opt/vyatta/sbin/vyatta-policy.pl --update-aspath-list $VAR(@)"
diff --git a/templates/policy/as-path-list/node.tag/description/node.def b/templates/policy/as-path-list/node.tag/description/node.def
index c35d93ac..b45a1767 100644
--- a/templates/policy/as-path-list/node.tag/description/node.def
+++ b/templates/policy/as-path-list/node.tag/description/node.def
@@ -1,2 +1,2 @@
type: txt
-help: "AS path list description"
+help: AS path list description
diff --git a/templates/policy/as-path-list/node.tag/rule/node.def b/templates/policy/as-path-list/node.tag/rule/node.def
index 3a0c33bd..adac0477 100644
--- a/templates/policy/as-path-list/node.tag/rule/node.def
+++ b/templates/policy/as-path-list/node.tag/rule/node.def
@@ -1,4 +1,4 @@
tag:
type: u32
-help: "Specify as-path-list rule number"
-syntax: $(@) >= 1 && $(@) <= 65535; "rule number must be between 1 and 65535"
+help: Specify as-path-list rule number
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "rule number must be between 1 and 65535"
diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def
index e6b2964b..1b7787c5 100644
--- a/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def
+++ b/templates/policy/as-path-list/node.tag/rule/node.tag/action/node.def
@@ -1,3 +1,3 @@
type: txt
-help: "Action to take on AS paths matching this rule"
-syntax: $(@) in "permit", "deny"; "action must be permit or deny"
+help: Action to take on AS paths matching this rule
+syntax:expression: $VAR(@) in "permit", "deny"; "action must be permit or deny"
diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def
index 00fed102..b8e3095b 100644
--- a/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def
+++ b/templates/policy/as-path-list/node.tag/rule/node.tag/description/node.def
@@ -1,2 +1,2 @@
type: txt
-help: "Description for this rule"
+help: Description for this rule
diff --git a/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def b/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def
index 39cc3615..e84579d8 100644
--- a/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def
+++ b/templates/policy/as-path-list/node.tag/rule/node.tag/regex/node.def
@@ -1,5 +1,5 @@
type: txt
-help: "AS path regular expression"
+help: AS path regular expression
# TODO: check regex syntax; \
# "invalid chars in regex syntax"
-commit: $(../action/@) != ""; "You must specify an action before committing"
+commit:expression: $VAR(../action/@) != ""; "You must specify an action before committing"