""" rocev2.py: Four ports all-to-all full mesh - Connect to the API server - Assign ports: - If variable forceTakePortOwnership is True, take over the ports if they're owned by another user. - If variable forceTakePortOwnership if False, abort test. - Configure four Topology Groups: IPv4/RoCEv2 - Start all protocols - Verify all protocols - Start traffic - Get Traffic Item - Get RoCEv2 Flow Statistics stats Supports IxNetwork API servers: - Windows, Windows Connection Mgr and Linux Requirements: - Minimum IxNetwork 10.20.2403.2 - Python 2.7 and 3+ - pip install requests - pip install ixnetwork_restpy (minimum version 1.3.0) RestPy Doc: https://www.openixia.github.io/ixnetwork_restpy/#/ Usage: - Enter: python