Skip to content

Instantly share code, notes, and snippets.

View hoelsner's full-sized avatar

Henry Ölsner hoelsner

View GitHub Profile
@hoelsner
hoelsner / create_cml_example_network.py
Created January 16, 2022 15:22
Example script to create a lab with some routers on CML 2.2
#!python3.8
"""
==================================
Create CML Example Network via API
==================================
To use the script, simply create a .env file in the same directory as the script and add the following content (with the options required in your environment):
CML_SERVER=https://cml.codingnetworker.com/
CML_SSL_VERIFY=yes