The official Cisco VIRL2 / Cisco Modeling Labs (CML) client library for Python. Provides programmatic access to CML 2.x instances, supporting lab lifecycle management, node configuration, and system administration. Current version 2.9.1 (released 2025-01-06). Release cadence follows CML versions approximately twice a year.
pip install virl2-clientVerified import paths — ran on the pinned version, not inferred.
Connects to a CML controller and prints server version and number of labs.
Use only controller-managed labs. If you need offline functionality, consider exporting/importing lab files manually.
client = CMLClient(url, username, password, ssl_verify=False)
No dependency data recorded yet.