diff options
Diffstat (limited to 'test/test_ipsec_esp.py')
-rw-r--r-- | test/test_ipsec_esp.py | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/test/test_ipsec_esp.py b/test/test_ipsec_esp.py index 6fd4ba15a32..14112d6d71a 100644 --- a/test/test_ipsec_esp.py +++ b/test/test_ipsec_esp.py @@ -259,30 +259,35 @@ class TemplateIpsecEsp(ConfigIpsecESP): Basic test for ipsec esp sanity - tunnel and transport modes. Below 4 cases are covered as part of this test - 1) ipsec esp v4 transport basic test - IPv4 Transport mode + + #. ipsec esp v4 transport basic test - IPv4 Transport mode scenario using HMAC-SHA1-96 integrity algo - 2) ipsec esp v4 transport burst test + + #. ipsec esp v4 transport burst test Above test for 257 pkts - 3) ipsec esp 4o4 tunnel basic test - IPv4 Tunnel mode + + #. ipsec esp 4o4 tunnel basic test - IPv4 Tunnel mode scenario using HMAC-SHA1-96 integrity algo - 4) ipsec esp 4o4 tunnel burst test + + #. ipsec esp 4o4 tunnel burst test Above test for 257 pkts - TRANSPORT MODE: + TRANSPORT MODE:: + + --- encrypt --- + |pg2| <-------> |VPP| + --- decrypt --- - --- encrypt --- - |pg2| <-------> |VPP| - --- decrypt --- + TUNNEL MODE:: - TUNNEL MODE: + --- encrypt --- plain --- + |pg0| <------- |VPP| <------ |pg1| + --- --- --- - --- encrypt --- plain --- - |pg0| <------- |VPP| <------ |pg1| - --- --- --- + --- decrypt --- plain --- + |pg0| -------> |VPP| ------> |pg1| + --- --- --- - --- decrypt --- plain --- - |pg0| -------> |VPP| ------> |pg1| - --- --- --- """ @classmethod |