CiscoDevNet / virl2-client

Client library for the Cisco VIRL 2 Network Simulation Platform
Apache License 2.0
56 stars 18 forks source link

virl2_client.exceptions.InitializationError: Controller version 2.2.2+build52 is marked incompatible! List of versions marked explicitly as incompatible: [2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.1, 2.2.2, 2.2.3]. #31

Closed ceaffo closed 1 year ago

ceaffo commented 1 year ago

I'm a new virlutils user. New cmlutils installation form pip. Trying to use with Cisco Modeling Labs (CML) v2.2.2 Sandbox on devnet. Getting error message:

virl2_client.exceptions.InitializationError: Controller version 2.2.2+build52 is marked incompatible! List of versions marked explicitly as incompatible: [2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.1, 2.2.2, 2.2.3].

What am I doing wrong?

tmikuska commented 1 year ago

@ceaffo I believe that you're using virlutils/cmlutils and virl2_client modules that are not compatible with CML 2.2.2+build52.

If you want to use latest modules, you need to migrate your CML instance to 2.5. This is probably not possible in Sandbox on devnet and you should deploy a new CML 2.5 instance instead.

If you still want to use CML 2.2, you need to use older virtutils and virl2_client modules, specifically:

pip install virlutils==1.3.5 virl2_client==2.2.1-post2