cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
357
Views
0
Helpful
1
Replies

virl-utils launching a simulation from a .virl file?

Hey everyone,

 

Is it possible to launch a simulation with virl-utils based on a configured .virl file? I have python scripts that generate a *.virl file and would like to launch it with either the API or the virl_utils python package, however I cant find the command that can launch a simulation using my created *.virl file. In the docs it states that you can use virl up <REPO> to launch a sim, but I cant find where to configure the repository either. This is on CML 1.5.0.

 

Thanks!

1 Reply 1

In case anyone else has this question...

 

virl-utils documentation, based on the version, may not specify the needed flag to perform a 'virl up' action with just a *.virl file. You'll need to perform this command:

- virl up -f <filename>.virl

 And that will start up a simulation based on your virl file. Also, I noticed that your environment is defaulted to "default", so you can add a -e flag with an environment name (ex. -e test ) to have the environment name changed.