summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/redistribute/ospfv3/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/redistribute/ospfv3/node.def')
-rw-r--r--templates/protocols/ripng/redistribute/ospfv3/node.def21
1 files changed, 0 insertions, 21 deletions
diff --git a/templates/protocols/ripng/redistribute/ospfv3/node.def b/templates/protocols/ripng/redistribute/ospfv3/node.def
deleted file mode 100644
index cc94d951..00000000
--- a/templates/protocols/ripng/redistribute/ospfv3/node.def
+++ /dev/null
@@ -1,21 +0,0 @@
-help: Redistribute OSPFv3 routes
-
-delete: touch /tmp/rip-redist-ospf6.$PPID
-
-end: vtysh -c "configure terminal" \
- -c "router ripng" \
- -c "no redistribute ospf6";
- if [ -f "/tmp/rip-redist-ospf6.$PPID" ]; then
- rm -rf /tmp/rip-redist-ospf6.$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 ripng" \
- -c "redistribute ospf6 $COND";
- fi;
-