ipsec: add insecure option for format of SA 67/22467/2
authorChristian E. Hopps <chopps@chopps.org>
Fri, 27 Sep 2019 18:43:22 +0000 (14:43 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 3 Oct 2019 10:09:14 +0000 (10:09 +0000)
commit591aa64e817429d51186861d9b410f747e300fae
tree0bda58bf9fe2b4d50d06dc11fcf9e337595b8210
parent2d986799b531e0540e50d4546491c67bb91e0ed4
ipsec: add insecure option for format of SA

If specified, shows keys, otherwise redacts. This change sets this flag
in the existing CLI code (thus maintaining the old behavior). The use
case for not specifying the insecure flag (and thus redacting the keys
from the show output) is for log messages.

Type: feature
Signed-off-by: Christian E. Hopps <chopps@chopps.org>
Change-Id: I8c0ab6a9a8aba7c687a2559fa1a23fac9d0aa111
(cherry picked from commit 01d61e7881432a2c508fecbbab804d9c776abe1a)
src/vnet/ipsec/ipsec.h
src/vnet/ipsec/ipsec_cli.c
src/vnet/ipsec/ipsec_format.c