""" l3vpn_bgp_vrf.py: Tested with two back-2-back IxNetwork ports. - Connect to the API server - Assign ports - Physical topology: Port1 ----- Port2 - Configure two Topology Groups: VRF1 ---- PE1 ---- P1----- P2 ---- PE2 ---- VRF2 - Between P1 and P2 when can set OSPF or ISIS to advertize PE's loopbacks - Configure Network Group for each topology for vpn route advertising - Start all protocols - Verify all protocols has up - Configure a Traffic Item from VRF1 to VRF2 - 1000 packets - Start traffic - Get/Show Traffic Item - Get/Show Flow Statistics stats - Verify traffic Item pass when TX == 1000 and RX traffic > 980,000 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