summaryrefslogtreecommitdiffstats
path: root/test/test_ipsec_esp.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2021-08-12 18:36:02 -0400
committerAndrew Yourtchenko <ayourtch@gmail.com>2021-08-13 15:57:21 +0000
commitd170681b24724c522adaf1e2f4f0e1f3289dbf82 (patch)
tree07b818dde94aa45f2d50da86f5eea5af8659413b /test/test_ipsec_esp.py
parent078d258034cef5b4ca74d9deb37b2684cc77d060 (diff)
tests docs: upgrade python packages
- Upgrade python package requirements for test & docs - Clean up docs generation warnings - Consolidate python requirements for docs in test requirements specs. - Upgrade pip Type: make Change-Id: I74a3924b43ed93d15b32ec9f6fc41ed1ba95b69b Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/test_ipsec_esp.py')
-rw-r--r--test/test_ipsec_esp.py35
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