summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/redistribute/ospf
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/redistribute/ospf')
-rw-r--r--templates/protocols/rip/redistribute/ospf/metric/node.def6
-rw-r--r--templates/protocols/rip/redistribute/ospf/node.def17
-rw-r--r--templates/protocols/rip/redistribute/ospf/route-map/node.def3
3 files changed, 0 insertions, 26 deletions
diff --git a/templates/protocols/rip/redistribute/ospf/metric/node.def b/templates/protocols/rip/redistribute/ospf/metric/node.def
deleted file mode 100644
index 808090c7..00000000
--- a/templates/protocols/rip/redistribute/ospf/metric/node.def
+++ /dev/null
@@ -1,6 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-val_help: u32:1-16; Redistribute route metric
-
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-
diff --git a/templates/protocols/rip/redistribute/ospf/node.def b/templates/protocols/rip/redistribute/ospf/node.def
deleted file mode 100644
index c6a90534..00000000
--- a/templates/protocols/rip/redistribute/ospf/node.def
+++ /dev/null
@@ -1,17 +0,0 @@
-help: Redistribute OSPF routes
-delete:expression: "touch /tmp/rip-redist-ospf.$PPID"
-end:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \
- -c \"no redistribute ospf \"; \
- if [ -f \"/tmp/rip-redist-ospf.$PPID\" ]; then \
- rm -rf /tmp/rip-redist-ospf.$PPID; \
- else \
- if [ -n \"$VAR(./metric/@)\" ]; then \
- COND=\"metric $VAR(./metric/@)\";
- fi; \
- if [ -n \"$VAR(./route-map/@)\" ]; then \
- COND=\"$COND route-map $VAR(./route-map/@)\"; \
- fi; \
- vtysh -c \"configure terminal\" -c \"router rip\" \
- -c \"redistribute ospf $COND\"; \
- fi; "
-
diff --git a/templates/protocols/rip/redistribute/ospf/route-map/node.def b/templates/protocols/rip/redistribute/ospf/route-map/node.def
deleted file mode 100644
index f2c6f7c2..00000000
--- a/templates/protocols/rip/redistribute/ospf/route-map/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-type: txt
-help: Route map reference
-commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $VAR(@)\" ";"route-map $VAR(@) doesn't exist"