""" ldppwvpls.py: Within toplogy both Provider Edge(PE) and Provider(P) Routers are created. created.P router is emulated in the front Device Group(DG), which consists of both OSPF as routing protocol as well as Basic LDP sessions for Transport Label Distribution Protocol. The chained DG act as PE Router, where LDP Extended Martini is configured for VPN Label distibution protocol.Bidirectional L2-L3 Traffic is configured in between two CE cloud is created. Script Flow: 1. Configuration of protocols. Configuration flow of the script is as follow: i. Adding of OSPF router. ii. Adding of Network Cloud. iii. Adding of chain DG. iv. Adding of LDP(basic session) on Front DG v. Adding of LDP Extended Martini(Targeted sess.) over chained DG. vi. Adding of LDP PW/VPLS Tunnel over LDP Extended Martini. 2. Start the ldp protocol. 3. Retrieve protocol statistics. 4. Retrieve protocol learned info. 5. Disbale/Enable the ldp FECs and change label & apply change on the fly 6. Retrieve protocol learned info again and notice the difference with previouly retrieved learned info. 7. Configure L2-L3 traffic. 8. Start the L2-L3 traffic. 9. Retrieve L2-L3 traffic stats. 10. Stop L2-L3 traffic. 11. Stop all protocols. Supports IxNetwork API servers: - Windows, Windows Connection Mgr and Linux Requirements: - IxNetwork 9.00 - 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