summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-06-14 15:34:47 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-06-14 15:34:47 -0700
commit11416653db1180ac93305cbf37503146fd6bbf1b (patch)
tree3e73c95e96c36ebaf5dbc01b5502aac34ad78aef
parentea31437f30a7f808cbb2bb055f1a6b826c994a4d (diff)
downloadvyatta-cfg-quagga-11416653db1180ac93305cbf37503146fd6bbf1b.tar.gz
vyatta-cfg-quagga-11416653db1180ac93305cbf37503146fd6bbf1b.zip
Fix ospfv3 redistribute command.
-rw-r--r--templates/protocols/ospfv3/redistribute/bgp/node.def4
-rw-r--r--templates/protocols/ospfv3/redistribute/connected/node.def4
-rw-r--r--templates/protocols/ospfv3/redistribute/kernel/node.def4
-rw-r--r--templates/protocols/ospfv3/redistribute/ripng/node.def4
-rw-r--r--templates/protocols/ospfv3/redistribute/static/node.def4
5 files changed, 10 insertions, 10 deletions
diff --git a/templates/protocols/ospfv3/redistribute/bgp/node.def b/templates/protocols/ospfv3/redistribute/bgp/node.def
index a9f5e180..72ea520e 100644
--- a/templates/protocols/ospfv3/redistribute/bgp/node.def
+++ b/templates/protocols/ospfv3/redistribute/bgp/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute bgp routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute bgp";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute bgp $COND";
fi;
diff --git a/templates/protocols/ospfv3/redistribute/connected/node.def b/templates/protocols/ospfv3/redistribute/connected/node.def
index 31ec403e..ee7cd585 100644
--- a/templates/protocols/ospfv3/redistribute/connected/node.def
+++ b/templates/protocols/ospfv3/redistribute/connected/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute connected routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute connected";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute connected $COND";
fi;
diff --git a/templates/protocols/ospfv3/redistribute/kernel/node.def b/templates/protocols/ospfv3/redistribute/kernel/node.def
index 3181d277..f61cb564 100644
--- a/templates/protocols/ospfv3/redistribute/kernel/node.def
+++ b/templates/protocols/ospfv3/redistribute/kernel/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute kernel routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute kernel";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute kernel $COND";
fi;
diff --git a/templates/protocols/ospfv3/redistribute/ripng/node.def b/templates/protocols/ospfv3/redistribute/ripng/node.def
index a5d5f551..6732c9da 100644
--- a/templates/protocols/ospfv3/redistribute/ripng/node.def
+++ b/templates/protocols/ospfv3/redistribute/ripng/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute RIPNG routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute ripng";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute ripng $COND";
fi;
diff --git a/templates/protocols/ospfv3/redistribute/static/node.def b/templates/protocols/ospfv3/redistribute/static/node.def
index 6d862bc0..df31b1b1 100644
--- a/templates/protocols/ospfv3/redistribute/static/node.def
+++ b/templates/protocols/ospfv3/redistribute/static/node.def
@@ -1,13 +1,13 @@
help: Set to redistribute static routes
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf6" \
-c "no redistribute static";
if [ "$COMMIT_ACTION" = "SET" -o "$COMMIT_ACTION" = "ACTIVE" ]; then
if [ -n "$VAR(./route-map/@)" ]; then
COND="route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf6" \
-c "redistribute static $COND";
fi;