summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/protocols/static/interface-route/node.tag/blackhole/distance/node.def (renamed from templates/protocols/static/interface-route/node.tag/blackhole/metric/node.def)0
-rw-r--r--templates/protocols/static/interface-route/node.tag/blackhole/node.def6
-rw-r--r--templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def6
-rw-r--r--templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def (renamed from templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/metric/node.def)0
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/distance/node.def (renamed from templates/protocols/static/route/node.tag/blackhole/metric/node.def)0
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/node.def6
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.def6
-rw-r--r--templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def (renamed from templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def)0
8 files changed, 12 insertions, 12 deletions
diff --git a/templates/protocols/static/interface-route/node.tag/blackhole/metric/node.def b/templates/protocols/static/interface-route/node.tag/blackhole/distance/node.def
index 938aea1a..938aea1a 100644
--- a/templates/protocols/static/interface-route/node.tag/blackhole/metric/node.def
+++ b/templates/protocols/static/interface-route/node.tag/blackhole/distance/node.def
diff --git a/templates/protocols/static/interface-route/node.tag/blackhole/node.def b/templates/protocols/static/interface-route/node.tag/blackhole/node.def
index aa54eceb..c1a8cc2c 100644
--- a/templates/protocols/static/interface-route/node.tag/blackhole/node.def
+++ b/templates/protocols/static/interface-route/node.tag/blackhole/node.def
@@ -4,8 +4,8 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \
/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) null0\" ; \
rm /tmp/static.\\$PPID; \
else \
- if [ -n \"$(./metric/@)\" ]; then \
- MET=\"$(./metric/@)\"; \
+ if [ -n \"$(./distance/@)\" ]; then \
+ DIST=\"$(./distance/@)\"; \
fi; \
- /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$MET \" ; \
+ /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$DIST \" ; \
fi; "
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
index 5553f119..3c80ccec 100644
--- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
+++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.def
@@ -11,9 +11,9 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \
/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) $(@)\" ; \
rm /tmp/static.\\$PPID; \
else \
- if [ -n \"$(./metric/@)\" ]; then \
- MET=\"$(./metric/@)\"; \
+ if [ -n \"$(./distance/@)\" ]; then \
+ DIST=\"$(./distance/@)\"; \
fi; \
- /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$MET \" ; \
+ /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$DIST \" ; \
fi; "
diff --git a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/metric/node.def b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def
index 938aea1a..938aea1a 100644
--- a/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/metric/node.def
+++ b/templates/protocols/static/interface-route/node.tag/next-hop-interface/node.tag/distance/node.def
diff --git a/templates/protocols/static/route/node.tag/blackhole/metric/node.def b/templates/protocols/static/route/node.tag/blackhole/distance/node.def
index 938aea1a..938aea1a 100644
--- a/templates/protocols/static/route/node.tag/blackhole/metric/node.def
+++ b/templates/protocols/static/route/node.tag/blackhole/distance/node.def
diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def
index aa54eceb..c1a8cc2c 100644
--- a/templates/protocols/static/route/node.tag/blackhole/node.def
+++ b/templates/protocols/static/route/node.tag/blackhole/node.def
@@ -4,8 +4,8 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \
/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) null0\" ; \
rm /tmp/static.\\$PPID; \
else \
- if [ -n \"$(./metric/@)\" ]; then \
- MET=\"$(./metric/@)\"; \
+ if [ -n \"$(./distance/@)\" ]; then \
+ DIST=\"$(./distance/@)\"; \
fi; \
- /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$MET \" ; \
+ /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$DIST \" ; \
fi; "
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def
index 46625591..6d9288cf 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.def
@@ -6,8 +6,8 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \
/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) $(@)\" ; \
rm /tmp/static.\\$PPID; \
else \
- if [ -n \"$(./metric/@)\" ]; then \
- MET=\"$(./metric/@)\"; \
+ if [ -n \"$(./distance/@)\" ]; then \
+ DIST=\"$(./distance/@)\"; \
fi; \
- /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$MET \" ; \
+ /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$DIST \" ; \
fi; "
diff --git a/templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def
index 938aea1a..938aea1a 100644
--- a/templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def
+++ b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def