summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/redistribute
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/redistribute')
-rw-r--r--templates/protocols/ospf/redistribute/bgp/metric-type/node.def5
-rw-r--r--templates/protocols/ospf/redistribute/bgp/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/bgp/node.def21
-rw-r--r--templates/protocols/ospf/redistribute/bgp/route-map/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/connected/metric-type/node.def5
-rw-r--r--templates/protocols/ospf/redistribute/connected/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/connected/node.def21
-rw-r--r--templates/protocols/ospf/redistribute/connected/route-map/node.def3
-rw-r--r--templates/protocols/ospf/redistribute/kernel/metric-type/node.def5
-rw-r--r--templates/protocols/ospf/redistribute/kernel/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/kernel/node.def21
-rw-r--r--templates/protocols/ospf/redistribute/kernel/route-map/node.def3
-rw-r--r--templates/protocols/ospf/redistribute/node.def1
-rw-r--r--templates/protocols/ospf/redistribute/rip/metric-type/node.def5
-rw-r--r--templates/protocols/ospf/redistribute/rip/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/rip/node.def21
-rw-r--r--templates/protocols/ospf/redistribute/rip/route-map/node.def3
-rw-r--r--templates/protocols/ospf/redistribute/static/metric-type/node.def5
-rw-r--r--templates/protocols/ospf/redistribute/static/metric/node.def4
-rw-r--r--templates/protocols/ospf/redistribute/static/node.def21
-rw-r--r--templates/protocols/ospf/redistribute/static/route-map/node.def3
21 files changed, 0 insertions, 167 deletions
diff --git a/templates/protocols/ospf/redistribute/bgp/metric-type/node.def b/templates/protocols/ospf/redistribute/bgp/metric-type/node.def
deleted file mode 100644
index e49f528c..00000000
--- a/templates/protocols/ospf/redistribute/bgp/metric-type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: u32
-help: OSPF metric type
-default: 2
-syntax:expression: $VAR(@) in 1, 2 ; "metric-type must be either 1 or 2"
-val_help: u32:1-2; Metric type (default 2)
diff --git a/templates/protocols/ospf/redistribute/bgp/metric/node.def b/templates/protocols/ospf/redistribute/bgp/metric/node.def
deleted file mode 100644
index 58fd80d7..00000000
--- a/templates/protocols/ospf/redistribute/bgp/metric/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
-val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/bgp/node.def b/templates/protocols/ospf/redistribute/bgp/node.def
deleted file mode 100644
index 3630705c..00000000
--- a/templates/protocols/ospf/redistribute/bgp/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute BGP routes
-delete:expression: "touch /tmp/ospf-redist-bgp.$PPID"
-end: vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "no redistribute bgp";
- if [ -f "/tmp/ospf-redist-bgp.$PPID" ]; then
- rm -f /tmp/ospf-redist-bgp.$PPID;
- else
- if [ -n "$VAR(./metric/@)" ]; then
- COND="metric $VAR(./metric/@)";
- fi;
- if [ -n "$VAR(./metric-type/@)" ]; then
- COND="$COND metric-type $VAR(./metric-type/@)";
- fi;
- if [ -n "$VAR(./route-map/@)" ]; then
- COND="$COND route-map $VAR(./route-map/@)";
- fi;
- vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute bgp $COND";
- fi;
diff --git a/templates/protocols/ospf/redistribute/bgp/route-map/node.def b/templates/protocols/ospf/redistribute/bgp/route-map/node.def
deleted file mode 100644
index a56f5668..00000000
--- a/templates/protocols/ospf/redistribute/bgp/route-map/node.def
+++ /dev/null
@@ -1,4 +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"
-
diff --git a/templates/protocols/ospf/redistribute/connected/metric-type/node.def b/templates/protocols/ospf/redistribute/connected/metric-type/node.def
deleted file mode 100644
index e49f528c..00000000
--- a/templates/protocols/ospf/redistribute/connected/metric-type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: u32
-help: OSPF metric type
-default: 2
-syntax:expression: $VAR(@) in 1, 2 ; "metric-type must be either 1 or 2"
-val_help: u32:1-2; Metric type (default 2)
diff --git a/templates/protocols/ospf/redistribute/connected/metric/node.def b/templates/protocols/ospf/redistribute/connected/metric/node.def
deleted file mode 100644
index 58fd80d7..00000000
--- a/templates/protocols/ospf/redistribute/connected/metric/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
-val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/connected/node.def b/templates/protocols/ospf/redistribute/connected/node.def
deleted file mode 100644
index 49944a71..00000000
--- a/templates/protocols/ospf/redistribute/connected/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute connected routes
-delete:expression: "touch /tmp/ospf-redist-connected.$PPID"
-end: vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "no redistribute connected";
- if [ -f "/tmp/ospf-redist-connected.$PPID" ]; then
- rm -f /tmp/ospf-redist-connected.$PPID;
- else
- if [ -n "$VAR(./metric/@)" ]; then
- COND="metric $VAR(./metric/@)";
- fi;
- if [ -n "$VAR(./metric-type/@)" ]; then
- COND="$COND metric-type $VAR(./metric-type/@)";
- fi;
- if [ -n "$VAR(./route-map/@)" ]; then
- COND="$COND route-map $VAR(./route-map/@)";
- fi;
- vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute connected $COND";
- fi;
diff --git a/templates/protocols/ospf/redistribute/connected/route-map/node.def b/templates/protocols/ospf/redistribute/connected/route-map/node.def
deleted file mode 100644
index f2c6f7c2..00000000
--- a/templates/protocols/ospf/redistribute/connected/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"
diff --git a/templates/protocols/ospf/redistribute/kernel/metric-type/node.def b/templates/protocols/ospf/redistribute/kernel/metric-type/node.def
deleted file mode 100644
index e49f528c..00000000
--- a/templates/protocols/ospf/redistribute/kernel/metric-type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: u32
-help: OSPF metric type
-default: 2
-syntax:expression: $VAR(@) in 1, 2 ; "metric-type must be either 1 or 2"
-val_help: u32:1-2; Metric type (default 2)
diff --git a/templates/protocols/ospf/redistribute/kernel/metric/node.def b/templates/protocols/ospf/redistribute/kernel/metric/node.def
deleted file mode 100644
index 58fd80d7..00000000
--- a/templates/protocols/ospf/redistribute/kernel/metric/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
-val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/kernel/node.def b/templates/protocols/ospf/redistribute/kernel/node.def
deleted file mode 100644
index 0ad09cf5..00000000
--- a/templates/protocols/ospf/redistribute/kernel/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute kernel routes
-delete:expression: "touch /tmp/ospf-redist-kernel.$PPID"
-end: vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "no redistribute kernel";
- if [ -f "/tmp/ospf-redist-kernel.$PPID" ]; then
- rm -f /tmp/ospf-redist-kernel.$PPID;
- else
- if [ -n "$VAR(./metric/@)" ]; then
- COND="metric $VAR(./metric/@)";
- fi;
- if [ -n "$VAR(./metric-type/@)" ]; then
- COND="$COND metric-type $VAR(./metric-type/@)";
- fi;
- if [ -n "$VAR(./route-map/@)" ]; then
- COND="$COND route-map $VAR(./route-map/@)";
- fi;
- vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute kernel $COND";
- fi;
diff --git a/templates/protocols/ospf/redistribute/kernel/route-map/node.def b/templates/protocols/ospf/redistribute/kernel/route-map/node.def
deleted file mode 100644
index f2c6f7c2..00000000
--- a/templates/protocols/ospf/redistribute/kernel/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"
diff --git a/templates/protocols/ospf/redistribute/node.def b/templates/protocols/ospf/redistribute/node.def
deleted file mode 100644
index 00eefa88..00000000
--- a/templates/protocols/ospf/redistribute/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Redistribute information from another routing protocol
diff --git a/templates/protocols/ospf/redistribute/rip/metric-type/node.def b/templates/protocols/ospf/redistribute/rip/metric-type/node.def
deleted file mode 100644
index e49f528c..00000000
--- a/templates/protocols/ospf/redistribute/rip/metric-type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: u32
-help: OSPF metric type
-default: 2
-syntax:expression: $VAR(@) in 1, 2 ; "metric-type must be either 1 or 2"
-val_help: u32:1-2; Metric type (default 2)
diff --git a/templates/protocols/ospf/redistribute/rip/metric/node.def b/templates/protocols/ospf/redistribute/rip/metric/node.def
deleted file mode 100644
index 58fd80d7..00000000
--- a/templates/protocols/ospf/redistribute/rip/metric/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
-val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/rip/node.def b/templates/protocols/ospf/redistribute/rip/node.def
deleted file mode 100644
index 0dee3c0b..00000000
--- a/templates/protocols/ospf/redistribute/rip/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute RIP routes
-delete:expression: "touch /tmp/ospf-redist-rip.$PPID"
-end: vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "no redistribute rip";
- if [ -f "/tmp/ospf-redist-rip.$PPID" ]; then
- rm -f /tmp/ospf-redist-rip.$PPID;
- else
- if [ -n "$VAR(./metric/@)" ]; then
- COND="metric $VAR(./metric/@)";
- fi;
- if [ -n "$VAR(./metric-type/@)" ]; then
- COND="$COND metric-type $VAR(./metric-type/@)";
- fi;
- if [ -n "$VAR(./route-map/@)" ]; then
- COND="$COND route-map $VAR(./route-map/@)";
- fi;
- vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute rip $COND";
- fi;
diff --git a/templates/protocols/ospf/redistribute/rip/route-map/node.def b/templates/protocols/ospf/redistribute/rip/route-map/node.def
deleted file mode 100644
index f2c6f7c2..00000000
--- a/templates/protocols/ospf/redistribute/rip/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"
diff --git a/templates/protocols/ospf/redistribute/static/metric-type/node.def b/templates/protocols/ospf/redistribute/static/metric-type/node.def
deleted file mode 100644
index e49f528c..00000000
--- a/templates/protocols/ospf/redistribute/static/metric-type/node.def
+++ /dev/null
@@ -1,5 +0,0 @@
-type: u32
-help: OSPF metric type
-default: 2
-syntax:expression: $VAR(@) in 1, 2 ; "metric-type must be either 1 or 2"
-val_help: u32:1-2; Metric type (default 2)
diff --git a/templates/protocols/ospf/redistribute/static/metric/node.def b/templates/protocols/ospf/redistribute/static/metric/node.def
deleted file mode 100644
index 58fd80d7..00000000
--- a/templates/protocols/ospf/redistribute/static/metric/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: u32
-help: Metric for redistributed routes
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "metric must be between 0 and 16777214"
-val_help: u32:0-16777214; Metric for redistributed routes
diff --git a/templates/protocols/ospf/redistribute/static/node.def b/templates/protocols/ospf/redistribute/static/node.def
deleted file mode 100644
index 4f1cfda6..00000000
--- a/templates/protocols/ospf/redistribute/static/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute static routes
-delete:expression: "touch /tmp/ospf-redist-static.$PPID"
-end: vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "no redistribute static";
- if [ -f "/tmp/ospf-redist-static.$PPID" ]; then
- rm -f /tmp/ospf-redist-static.$PPID;
- else
- if [ -n "$VAR(./metric/@)" ]; then
- COND="metric $VAR(./metric/@)";
- fi;
- if [ -n "$VAR(./metric-type/@)" ]; then
- COND="$COND metric-type $VAR(./metric-type/@)";
- fi;
- if [ -n "$VAR(./route-map/@)" ]; then
- COND="$COND route-map $VAR(./route-map/@)";
- fi;
- vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute static $COND";
- fi;
diff --git a/templates/protocols/ospf/redistribute/static/route-map/node.def b/templates/protocols/ospf/redistribute/static/route-map/node.def
deleted file mode 100644
index f2c6f7c2..00000000
--- a/templates/protocols/ospf/redistribute/static/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"