summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/protocols/bgp/node.tag/parameters/dampening/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/protocols/bgp/node.tag/parameters/dampening/node.def b/templates/protocols/bgp/node.tag/parameters/dampening/node.def
index a2784816..5d2655a4 100644
--- a/templates/protocols/bgp/node.tag/parameters/dampening/node.def
+++ b/templates/protocols/bgp/node.tag/parameters/dampening/node.def
@@ -1,3 +1,7 @@
help: Enable route-flap dampening
# Note that there is a bug in quagga here. If bgpd gets two 'no bgp dampening'
# commands in a row it will crash
+
+commit:expression: $VAR(./half-life/) != "" || $VAR(./max-suppress-time/) != "" || \
+ $VAR(./re-use/) != "" || $VAR(./start-suppress-time/) != "" ; \
+ "To define dampening, all parameters must be set"