""" igmpHostAndQuerier.py: Tested with two back-2-back Ixia ports - Connect to the API server - Configure license server IP - 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 a topology for IGMP Host - Configure a topology for IGMP Querier - Configure a Traffic Item - Start all protocols - Verify all protocols - Start traffic - Get Traffic Item - Get Flow Statistics stats Supports IxNetwork API servers: - Windows, Windows Connection Mgr and Linux Requirements: - Minimum IxNetwork 8.50 - Python 2.7 and 3+ - pip install requests - pip install ixnetwork_restpy RestPy Doc: https://www.openixia.github.io/ixnetwork_restpy Usage: - Enter: python