Skip to main content

Files and versions

File is in the experiment toolbar. On a new experiment the menu only contains Save, with a note that the other actions wait until the experiment is stored. After the first save, the rest of the menu is available.

File menu on a saved experiment

ItemWhat you get
SaveWrites the topology, scenario, constraints, bindings, and node settings to DEW.
UploadLoads a .dew file from your computer into this experiment.
Export DEW JSONDownloads <experiment-name>.dew, a JSON snapshot of the experiment.
Download NS FileDownloads nsFile.ns, the topology in NS format.
Download MergeTB FileDownloads sphere-model.py, the MergeTB model DEW would submit to SPHERE.
Version HistoryLists earlier saves. Revert loads that save into the editor. Choose Save if you want to keep it.
DeleteDeletes the experiment from DEW after you confirm. This cannot be undone in DEW, and it does not delete a realization that is already running on SPHERE.

The Save button in Node details is the same save as File → Save. Use it after changing a node's image or hardware so those values are stored without opening the File menu.

The .dew file​

A .dew file is the portable copy of an experiment: the name, the actors, the scenario, the constraints, the bindings, and the node settings. Use it to:

  • Keep a copy outside DEW.
  • Send the experiment to someone else.
  • Load it back with File → Upload.

Download MergeTB File is the copy you can edit by hand or pass to mrg. Export DEW JSON is the copy that round-trips through the DEW editor.

Sharing​

Each DEW experiment is stored for the SPHERE account that created it. To let someone else start from your design:

  1. Open the experiment.
  2. Choose File → Export DEW JSON or File → Download MergeTB File.
  3. Send that file.

They can upload the .dew file into their own DEW experiment, or use sphere-model.py with the MergeTB tools. Duplicate on the dashboard copies an experiment inside your own account. It does not give the copy to another user.

Deploying to a SPHERE project makes the experiment visible to members of that project in Launch. That is the SPHERE experiment, not a shared DEW document.

What is stored where​

  • DEW stores the editor document and a version for each save in the DEW database. That copy uses the name you typed.
  • SPHERE stores a separate experiment after you deploy. Its name starts with dew and contains only lowercase letters and numbers. It also stores the reservation, the materialization, and the XDC.
  • A .dew file or sphere-model.py on your computer is a third copy, the one you control.

Deleting the experiment in DEW does not delete the SPHERE experiment and does not release its resources. Reverting in Version History does not change a deployment that already succeeded. Deploy again if the running SPHERE experiment should match the restored DEW version.