diff options
Diffstat (limited to 'templates/protocols/ospf/redistribute/rip')
4 files changed, 0 insertions, 33 deletions
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" |