Closed gretelliz closed 1 year ago
Related to a PR in flow_manager
Add a test to check that /flow_manager/v2/stored_flows returns flows that are sorted in descending order by priority.
/flow_manager/v2/stored_flows
priority
tests/test_e2e_20_flow_manager.py . [100%]
=============================== warnings summary =============================== test_e2e_20_flow_manager.py: 17 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_20_flow_manager.py: 17 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, 34 warnings in 143.86s (0:02:23) ==================
N/A
Fine @viniarck . Note that I have installed three flows with cookies in the range 1 to 3. see
Related to a PR in flow_manager
Summary
Add a test to check that
/flow_manager/v2/stored_flows
returns flows that are sorted in descending order bypriority
.Local Tests
tests/test_e2e_20_flow_manager.py . [100%]
=============================== warnings summary =============================== test_e2e_20_flow_manager.py: 17 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_20_flow_manager.py: 17 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, 34 warnings in 143.86s (0:02:23) ==================
End-to-End Tests
N/A