Clone a simulation
Cloning a simulation will create a new replica of the simulation which is completely independent of the original simulation.
An optional checkpoint value may be specified in the payload in order to copy a checkpoint from the original simulation onto the new simulation. If checkpoint is excluded from the payload, the most recent checkpoint of the simulation will be used; if the null value is provided, no checkpoint will be used and the simulation will perform an initial boot the first time it is started.
If you would like to attempt to start the new sim immediately after cloning, provide true for the attempt_start value in your payload; even if attempt_start is set to true, the sim may not start if Air or your organization does not have sufficient credit/resources. The attempt_start option does not apply for simulations being cloned to a demo.
An optional name value may be provided in the payload to set the name of the new simulation. If omitted, the new simulation will inherit the name of the original simulation.
Required scope: air:simulation_create (roles: air_org_admin, air_user)
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
A simulation to clone from; must be in the INACTIVE or CLONING state.
A COMPLETE checkpoint to clone from. If null, Air will not transfer a checkpoint.If not specified, Air will find the most recent COMPLETE if it exists. If no checkpoint exists, no checkpoint will be transferred.
If the simulation should request to start immediately after cloning. The request to start will always be honored, but the start request may be rejected depending on Air/organization credits/resources. Attempts to start do not apply for simulations being cloned to a demo.
Response
CLONING- CloningCREATING- CreatingIMPORTING- ImportingINVALID- InvalidINACTIVE- InactiveREQUESTING- RequestingPENDING- PendingPROVISIONING- ProvisioningPREPARE_BOOT- Prepare to bootBOOTING- BootingACTIVE- ActivePREPARE_SHUTDOWN- Prepare to shutdownSHUTTING_DOWN- Shutting downSAVING- SavingDELETING- DeletingPREPARE_PURGE- Prepare to purgePURGING- PurgingDEMO- DemoTRAINING- TrainingPREPARE_REBUILD- Prepare to rebuildREBUILDING- RebuildingADMIN_SUSPENDED- Admin suspended
If DHCP should be enabled on the oob-mgmt-server for simulations with automatic OOB enabled.
The raw markdown documentation associated with the simulation, if any. This is populated for simulations provisioned from a marketplace demo, sharing the same content as the demo. It cannot be edited directly on the simulation — edit the marketplace demo’s documentation instead.
The number of complete checkpoints in the simulation. When a sim has complete checkpoints, nodes/interfaces cannot be modified, created, or deleted.
When the simulation should be automatically put to sleep. For organizations on a free trial of DSX Air, this defaults to 24 hours after the simulation was started; if the simulation has not yet started this value will default to null and will be updated when the simulation starts. For all other organizations, this defaults to null. NVIDIA users using the internal deployment of DSX Air may set this value to null even when on a free trial. Users on a free trial of the public deployment of DSX Air may not set this value to null and may not set this value to exceed 72 hours in the future.
Free-text notes about the simulation recorded by the user.