summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/authentication/md5
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/authentication/md5')
-rw-r--r--interface-templates/ip/ospf/authentication/md5/key-id/node.def7
-rw-r--r--interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def8
-rw-r--r--interface-templates/ip/ospf/authentication/md5/node.def2
3 files changed, 5 insertions, 12 deletions
diff --git a/interface-templates/ip/ospf/authentication/md5/key-id/node.def b/interface-templates/ip/ospf/authentication/md5/key-id/node.def
index 5ff617e6..bc47e563 100644
--- a/interface-templates/ip/ospf/authentication/md5/key-id/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/key-id/node.def
@@ -1,13 +1,10 @@
tag:
-
type: u32
-
-help: Set MD5 key id
+help: MD5 key id
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; "ID must be between (1-255)"
+val_help: u32:1-255; MD5 key id
commit:expression: $VAR(md5-key/) != ""; \
"Must add the md5-key for key-id $VAR(@)"
-comp_help: possible completions:
- <1-255> Set the key id
diff --git a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
index 97d1f693..4c58f20d 100644
--- a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
@@ -1,11 +1,7 @@
type: txt
-
-help: Set md5 key
-
+help: MD5 key
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$"; "MD5 key must be 16 characters or less"
-
-comp_help: possible completions:
- <text> MD5 Key (16 characters or less)
+val_help: MD5 Key (16 characters or less)
# If this node is created
create:
diff --git a/interface-templates/ip/ospf/authentication/md5/node.def b/interface-templates/ip/ospf/authentication/md5/node.def
index 1f3c8519..184fa321 100644
--- a/interface-templates/ip/ospf/authentication/md5/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/node.def
@@ -1,4 +1,4 @@
-help: Set MD5 key id
+help: MD5 parameters
create: vtysh -c "configure terminal" \
-c "interface $IFNAME" \