aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-07-07 20:27:57 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-07-07 20:27:57 +0100
commit9f2c21d78f60c27b5497eb09a5919b13ed2f8062 (patch)
tree46bd197aa1bd6a68518c5929e2fc58519f9789fe
parent097ec8787d99a92e17ee3ef03e7d4e9518a852e7 (diff)
downloadsos-9f2c21d78f60c27b5497eb09a5919b13ed2f8062.tar.gz
[openswan] document that 'ipsec verify' is not costly
Although it's a 'verification' this is just a simple configuration test of the environment; it typically completes in <1s. Related: #304. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openswan.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/plugins/openswan.py b/sos/plugins/openswan.py
index 5be19e00..77c3ace2 100644
--- a/sos/plugins/openswan.py
+++ b/sos/plugins/openswan.py
@@ -33,6 +33,9 @@ class Openswan(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/etc/ipsec.conf",
"/etc/ipsec.d"
])
+
+ # although this is 'verification' it's normally a very quick
+ # operation so is not conditional on --verify
self.add_cmd_output("ipsec verify")
if self.get_option("ipsec-barf"):
self.add_cmd_output("ipsec barf")