summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/redistribute/bgp
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2020-06-22 23:04:30 +0300
committerGitHub <noreply@github.com>2020-06-22 22:04:30 +0200
commitf45c90d3bd80702728bed65355a8b06c3ea2c15a (patch)
tree36f42e2aa9a9901d2162fddacd358b2092b0531d /templates/protocols/rip/redistribute/bgp
parentd27fa6b34ed3e9325d6ae8e4aed6acc14d899562 (diff)
downloadvyatta-cfg-quagga-f45c90d3bd80702728bed65355a8b06c3ea2c15a.tar.gz
vyatta-cfg-quagga-f45c90d3bd80702728bed65355a8b06c3ea2c15a.zip
rip: T2547: migrate to vyos-1x
Diffstat (limited to 'templates/protocols/rip/redistribute/bgp')
-rw-r--r--templates/protocols/rip/redistribute/bgp/metric/node.def5
-rw-r--r--templates/protocols/rip/redistribute/bgp/node.def16
-rw-r--r--templates/protocols/rip/redistribute/bgp/route-map/node.def4
3 files changed, 0 insertions, 25 deletions
diff --git a/templates/protocols/rip/redistribute/bgp/metric/node.def b/templates/protocols/rip/redistribute/bgp/metric/node.def
deleted file mode 100644
index 8446e404..00000000
--- a/templates/protocols/rip/redistribute/bgp/metric/node.def
+++ /dev/null
@@ -1,5 +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/bgp/node.def b/templates/protocols/rip/redistribute/bgp/node.def
deleted file mode 100644
index b7108a73..00000000
--- a/templates/protocols/rip/redistribute/bgp/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-help: Redistribute BGP routes
-delete:expression: "touch /tmp/rip-redist-bgp.$PPID"
-end:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \
- -c \"no redistribute bgp \"; \
- if [ -f \"/tmp/rip-redist-bgp.$PPID\" ]; then \
- rm -rf /tmp/rip-redist-bgp.$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 bgp $COND\"; \
- fi; "
diff --git a/templates/protocols/rip/redistribute/bgp/route-map/node.def b/templates/protocols/rip/redistribute/bgp/route-map/node.def
deleted file mode 100644
index a56f5668..00000000
--- a/templates/protocols/rip/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"
-