From f45c90d3bd80702728bed65355a8b06c3ea2c15a Mon Sep 17 00:00:00 2001
From: Viacheslav Hletenko <v.gletenko@vyos.io>
Date: Mon, 22 Jun 2020 23:04:30 +0300
Subject: rip: T2547: migrate to vyos-1x

---
 templates/protocols/rip/redistribute/connected/node.def | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 templates/protocols/rip/redistribute/connected/node.def

(limited to 'templates/protocols/rip/redistribute/connected/node.def')

diff --git a/templates/protocols/rip/redistribute/connected/node.def b/templates/protocols/rip/redistribute/connected/node.def
deleted file mode 100644
index a8b56646..00000000
--- a/templates/protocols/rip/redistribute/connected/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-help: Redistribute connected routes
-delete:expression: "touch /tmp/rip-redist-connected.$PPID" 
-end:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \
-        -c \"no redistribute connected \"; \
-      if [ -f \"/tmp/rip-redist-connected.$PPID\" ]; then \
-        rm -rf /tmp/rip-redist-connected.$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 connected $COND\"; \
-      fi; "
-- 
cgit v1.2.3

