Planning for the procedure
Background knowledge
This procedure assumes that:
-
You are installing into an existing VMware vSphere deployment which has pre-configured networks and VLANs; this procedure does not cover setting up a VMware vSphere deployment from scratch.
-
You have deployed a SIMPL VM, unpacked the CSAR, and prepared an SDF.
Method of procedure
Step 1 - Upload your CSAR to the SIMPL VM
If not already done, transfer the CSAR onto the SIMPL VM and run
csar unpack <path to CSAR>
, where <path to CSAR>
is the full path to the transferred CSAR.
This will unpack the CSAR to ~/.local/share/csar/
.
Step 2 - Upload your SDF to the SIMPL VM
If the SDF was not created on the SIMPL VM, transfer the previously written SDF onto the SIMPL VM.
Step 3 - Generate the Terraform template
Run csar generate --vnf [image name] --sdf <path to SDF> --orchestrator terraform
.
This will validate the SDF, and generate the Terraform template.
If any errors occur, check the documentation on preparing the SDF and fix the SDF.
Next steps
Once all custom VMs have been created using the procedure above, configure them by uploading configuration to CDS. How to do this can be found on the Initial configuration page.
Backout procedure
If you want to delete the deployed VMs, run
csar deploy --vnf [image name] --delete --orchestrator terraform
.