summaryrefslogtreecommitdiff
path: root/templates/protocols/static
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2007-11-28 17:16:33 -0800
committerStig Thormodsrud <stig@vyatta.com>2007-11-28 17:16:33 -0800
commitbf8fe41f2d976e8cd10f258110fe7ec98e39fee4 (patch)
tree12a4c10b99abbcc285b26fa4e8e7aee674c12faa /templates/protocols/static
parent24c52ea6739354409a493fefef2b01f068b3073c (diff)
downloadvyatta-cfg-quagga-bf8fe41f2d976e8cd10f258110fe7ec98e39fee4.tar.gz
vyatta-cfg-quagga-bf8fe41f2d976e8cd10f258110fe7ec98e39fee4.zip
Change metric to distance in static routes.
Diffstat (limited to 'templates/protocols/static')
-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