""" bgpNgpf.py: Tested with two back-2-back Ixia ports... - 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 two Topology Groups: IPv4/BGP - Configure Network Group for each topology for route advertising - 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 (minimum version 1.0.51) RestPy Doc: https://www.openixia.github.io/ixnetwork_restpy/#/ Usage: - Enter: python