ipsec: add insecure option for format of SA 62/22362/3
authorChristian E. Hopps <chopps@chopps.org>
Fri, 27 Sep 2019 18:43:22 +0000 (14:43 -0400)
committerNeale Ranns <nranns@cisco.com>
Mon, 30 Sep 2019 08:28:54 +0000 (08:28 +0000)
commit01d61e7881432a2c508fecbbab804d9c776abe1a
treec3c4ff1695a1252728fabca14bd12ff25c0a82a8
parent5a2426386d31c90e833c639332a80a8b60bfed2f
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
src/vnet/ipsec/ipsec.h
src/vnet/ipsec/ipsec_cli.c
src/vnet/ipsec/ipsec_format.c