On S1, a flow matching port 2 and output port 2 is pushed.
On S2, a flow matching port 2 and output port 3 is pushed.
Then on S3, it matches on port 2 and empty action.
The output of sdntrace_cp shows (correctly) that the trace doesn't complete: The path has only two steps and the second one has type trace instead of last
Related to PR 70 in sdntrace_cp
Summary
Add
test_040_run_sdntrace_no_action
intotest_e2e_40_sdntrace
to evaluate the case of flows with empty action A topology with ten switches is used:2 S1 2 ---- 2 S2 3 ---- 2 S3 3 ---- 2 S3 3 ---- ... ---- 2 S10
trace
instead oflast
Local Tests
tests/test_e2e_40_sdntrace.py . [100%]
=============================== warnings summary =============================== test_e2e_40_sdntrace.py: 49 warnings /usr/lib/python3/dist-packages/mininet/node.py:1121: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. return ( StrictVersion( cls.OVSVersion ) <
test_e2e_40_sdntrace.py: 49 warnings /usr/lib/python3/dist-packages/mininet/node.py:1122: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. StrictVersion( '1.10' ) )
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ------------------------------- start/stop times ------------------------------- ================== 1 passed, 98 warnings in 123.82s (0:02:03) ==================
End-to-End Tests
N/A