summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def1
-rw-r--r--templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def1
-rw-r--r--templates/interfaces/ethernet/node.tag/duplex/node.def1
-rw-r--r--templates/interfaces/ethernet/node.tag/speed/node.def1
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def1
-rw-r--r--templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def1
-rw-r--r--templates/interfaces/tunnel/node.tag/encapsulation/node.def1
-rw-r--r--templates/interfaces/tunnel/node.tag/multicast/node.def1
8 files changed, 8 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
index a33aefb0..556c7f35 100644
--- a/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
+++ b/templates/interfaces/bonding/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
@@ -2,5 +2,6 @@ type: txt
help: Authentication type
syntax:expression: $VAR(@) in "plaintext-password", "ah"; \
"authentication must be plaintext-password or ah"
+allowed: echo plaintext-password ah
val_help: plaintext-password; Plain text password mode
val_help: ah; IP Authentication Header mode
diff --git a/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def b/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
index a33aefb0..556c7f35 100644
--- a/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
+++ b/templates/interfaces/bonding/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
@@ -2,5 +2,6 @@ type: txt
help: Authentication type
syntax:expression: $VAR(@) in "plaintext-password", "ah"; \
"authentication must be plaintext-password or ah"
+allowed: echo plaintext-password ah
val_help: plaintext-password; Plain text password mode
val_help: ah; IP Authentication Header mode
diff --git a/templates/interfaces/ethernet/node.tag/duplex/node.def b/templates/interfaces/ethernet/node.tag/duplex/node.def
index 8fbe1594..0351365f 100644
--- a/templates/interfaces/ethernet/node.tag/duplex/node.def
+++ b/templates/interfaces/ethernet/node.tag/duplex/node.def
@@ -2,6 +2,7 @@ type: txt
help: Duplex mode
default: "auto"
syntax:expression: $VAR(@) in "auto", "half", "full"; "duplex must be auto, half or full"
+allowed: echo auto half full
commit:expression: ( $VAR(@) == "auto" && $VAR(../speed/@) == "auto" ) || \
( $VAR(@) != "auto" && $VAR(../speed/@) != "auto" ) ; \
diff --git a/templates/interfaces/ethernet/node.tag/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def
index d9be6f6d..fbdc5893 100644
--- a/templates/interfaces/ethernet/node.tag/speed/node.def
+++ b/templates/interfaces/ethernet/node.tag/speed/node.def
@@ -2,6 +2,7 @@ type: txt
help: Link speed
default: "auto"
syntax:expression: $VAR(@) in "auto", "10", "100", "1000", "2500", "10000"; "Speed must be auto, 10, 100, 1000, 2500, or 10000"
+allowed: echo auto 10 100 1000 2500 10000
commit:expression: ( $VAR(@) == "auto" && $VAR(../duplex/@) == "auto" ) || \
( $VAR(@) != "auto" && $VAR(../duplex/@) != "auto" ) ; \
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
index a33aefb0..556c7f35 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
@@ -2,5 +2,6 @@ type: txt
help: Authentication type
syntax:expression: $VAR(@) in "plaintext-password", "ah"; \
"authentication must be plaintext-password or ah"
+allowed: echo plaintext-password ah
val_help: plaintext-password; Plain text password mode
val_help: ah; IP Authentication Header mode
diff --git a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
index a33aefb0..556c7f35 100644
--- a/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
+++ b/templates/interfaces/ethernet/node.tag/vrrp/vrrp-group/node.tag/authentication/type/node.def
@@ -2,5 +2,6 @@ type: txt
help: Authentication type
syntax:expression: $VAR(@) in "plaintext-password", "ah"; \
"authentication must be plaintext-password or ah"
+allowed: echo plaintext-password ah
val_help: plaintext-password; Plain text password mode
val_help: ah; IP Authentication Header mode
diff --git a/templates/interfaces/tunnel/node.tag/encapsulation/node.def b/templates/interfaces/tunnel/node.tag/encapsulation/node.def
index edbc3ae1..651e79b8 100644
--- a/templates/interfaces/tunnel/node.tag/encapsulation/node.def
+++ b/templates/interfaces/tunnel/node.tag/encapsulation/node.def
@@ -2,6 +2,7 @@ type: txt
help: Encapsulation of this tunnel interface [REQUIRED]
syntax:expression: $VAR(@) in "ipip", "gre", "sit", "gre-bridge"; "Must be (ipip, gre, gre-bridge, sit)"
+allowed: echo gre gre-bridge ipip sit
create:expression: "true"
update:expression: "false" ; \
diff --git a/templates/interfaces/tunnel/node.tag/multicast/node.def b/templates/interfaces/tunnel/node.tag/multicast/node.def
index 911a4e88..9f675b0e 100644
--- a/templates/interfaces/tunnel/node.tag/multicast/node.def
+++ b/templates/interfaces/tunnel/node.tag/multicast/node.def
@@ -3,6 +3,7 @@ help: Multicast operation over tunnel
default: "disable"
val_help: enable; Enable Multicast
val_help: disable; Disable Multicast (default)
+allowed: echo enable disable
syntax:expression: $VAR(@) in "enable", "disable"; \
"Must be 'disable' or 'enable'"