diff options
8 files changed, 0 insertions, 59 deletions
diff --git a/interface-templates/ip/rip/authentication/md5/node.def b/interface-templates/ip/rip/authentication/md5/node.def deleted file mode 100644 index ad45eb1b..00000000 --- a/interface-templates/ip/rip/authentication/md5/node.def +++ /dev/null @@ -1,8 +0,0 @@ -tag: -type: u32 -help: MD5 authentication parameters -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; \ - "ID must be between 1 and 255" - -commit:expression: $VAR(../plaintext-password/) == "" ; \ - "plaintext-password already set" diff --git a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def b/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def deleted file mode 100644 index 07ca2a41..00000000 --- a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def +++ /dev/null @@ -1,17 +0,0 @@ -type: txt -help: Authentication password -syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "MD5 key must be 16 characters or less" -val_help: MD5 Key (16 characters or less) - -update:vtysh \ - -c "configure terminal" -c "interface $IFNAME" \ - -c "ip rip authentication mode md5" \ - -c "ip rip authentication key-chain $IFNAME-rip" \ - -c "key chain $IFNAME-rip" -c "key $VAR(../@)" \ - -c "key-string $VAR(@)" - -delete:vtysh --noerror \ - -c "configure terminal" -c "interface $IFNAME" \ - -c "no ip rip authentication mode md5" \ - -c "no ip rip authentication key-chain $IFNAME-rip" \ - -c "no key chain $IFNAME-rip" diff --git a/interface-templates/ip/rip/authentication/node.def b/interface-templates/ip/rip/authentication/node.def deleted file mode 100644 index 22039cf7..00000000 --- a/interface-templates/ip/rip/authentication/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Authentication method diff --git a/interface-templates/ip/rip/authentication/plaintext-password/node.def b/interface-templates/ip/rip/authentication/plaintext-password/node.def deleted file mode 100644 index b294ebd0..00000000 --- a/interface-templates/ip/rip/authentication/plaintext-password/node.def +++ /dev/null @@ -1,13 +0,0 @@ -type: txt -help: Plain text password -syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "Password must be 16 characters or less" -commit:expression: $VAR(../md5/) == "" ; "md5 password already set" -val_help: Password (16 characters or less) - -update: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ip rip authentication mode text" \ - -c "ip rip authentication string $VAR(@)" - -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "no ip rip authentication mode" \ - -c "no ip rip authentication string $VAR(@)" diff --git a/interface-templates/ip/rip/node.def b/interface-templates/ip/rip/node.def deleted file mode 100644 index 468803ed..00000000 --- a/interface-templates/ip/rip/node.def +++ /dev/null @@ -1,2 +0,0 @@ -priority: 610 -help: Routing Information Protocol (RIP) diff --git a/interface-templates/ip/rip/split-horizon/disable/node.def b/interface-templates/ip/rip/split-horizon/disable/node.def deleted file mode 100644 index 67ffe7aa..00000000 --- a/interface-templates/ip/rip/split-horizon/disable/node.def +++ /dev/null @@ -1,8 +0,0 @@ -help: Disable split horizon on specified interface -create: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "no ip rip split-horizon" -delete: vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ip rip split-horizon" - -commit:expression: ($VAR(../poison-reverse/) == ""); \ - "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for $IFNAME" diff --git a/interface-templates/ip/rip/split-horizon/node.def b/interface-templates/ip/rip/split-horizon/node.def deleted file mode 100644 index c4fb5ddc..00000000 --- a/interface-templates/ip/rip/split-horizon/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Split horizon parameters diff --git a/interface-templates/ip/rip/split-horizon/poison-reverse/node.def b/interface-templates/ip/rip/split-horizon/poison-reverse/node.def deleted file mode 100644 index 47c47012..00000000 --- a/interface-templates/ip/rip/split-horizon/poison-reverse/node.def +++ /dev/null @@ -1,9 +0,0 @@ -help: Enable poison reverse for split-horizon -create:vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "ip rip split-horizon poisoned-reverse" - -delete:vtysh -c "configure terminal" -c "interface $IFNAME" \ - -c "no ip rip split-horizon" -c "ip rip split-horizon " - -commit:expression: ($VAR(../disable/) == ""); \ - "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for $IFNAME" |