diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2011-01-04 14:08:16 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2011-01-04 14:08:16 -0800 |
commit | 871890ad5952cd7f099f531453d8abe0b2f89ffc (patch) | |
tree | aa27ce83b94b5c0b9d29c57bd2f121d3926c124b /templates/protocols/ospfv3/redistribute/kernel/node.def | |
parent | e5c6ff1660cb07e8b0f51ef18f5efa4da14e18e9 (diff) | |
download | vyatta-cfg-quagga-871890ad5952cd7f099f531453d8abe0b2f89ffc.tar.gz vyatta-cfg-quagga-871890ad5952cd7f099f531453d8abe0b2f89ffc.zip |
Revert "OSPFv3 templates replaced to correspond new backend"
This reverts commit d1bc0854513d794245bb53f4aa785abd4d70341f.
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/kernel/node.def')
-rw-r--r-- | templates/protocols/ospfv3/redistribute/kernel/node.def | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/redistribute/kernel/node.def b/templates/protocols/ospfv3/redistribute/kernel/node.def index 316ca3b8..78fe7d36 100644 --- a/templates/protocols/ospfv3/redistribute/kernel/node.def +++ b/templates/protocols/ospfv3/redistribute/kernel/node.def @@ -1,2 +1,13 @@ help: Redistribute kernel routes +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; + vtysh -c "configure terminal" \ + -c "router ospf6" \ + -c "redistribute kernel $COND"; + fi; |