IPSEC Tests: to per-test setup and tearDown 27/17027/3
authorNeale Ranns <nranns@cisco.com>
Wed, 23 Jan 2019 16:16:17 +0000 (08:16 -0800)
committerDamjan Marion <dmarion@me.com>
Thu, 24 Jan 2019 19:51:37 +0000 (19:51 +0000)
commit8e4a89bf42196308601de7544abe554df7b0df45
tree622d478674fa634efae76a926f7f87bbaeb6bd35
parente18b45caeb22b5dfe38b86be6beea55efaecf40d
IPSEC Tests: to per-test setup and tearDown

don't do the setup and teardown in class methods so that with
each test the config is added and deleted. that way we test that
delete actually removes state.
more helpful error codes from VPP for existing IPSEC state.

Change-Id: I5de1578f73b935b420d4cdd85aa98d5fdcc682f6
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ipsec/ipsec.c
test/template_ipsec.py
test/test_ipsec_ah.py
test/test_ipsec_api.py
test/test_ipsec_esp.py
test/test_ipsec_nat.py
test/test_ipsec_tun_if_esp.py