intent commands
Intent commands are used to create, delete, and obtain status for underlays (fabrics), workloads, and fully-qualified workloads.
The following intent CLI commands are available:
dsctl
— intent
— create
— underlay
— workload
— fully-qualified-workload
— delete
— underlay
— workload
— fully-qualified-workload
— list
— active-workloads
— underlay
— workload
— fully-qualified-workload
— status
— update
dsctl intent create
Synopsis |
|
|||||||||||||||||||||||||||||||
Description |
The dsctl intent create command is used to create a Digital Sandbox intent context and has the following operations:
|
|||||||||||||||||||||||||||||||
Options |
The following are dsctl intent create {fully-qualified-workload | workload | underlay} parameters:
|
|||||||||||||||||||||||||||||||
Examples |
To create a workload intent using the file/definition located at ‟/tmp/workload_help.yaml”, ‛associated with the deployment ID ‟star”, and name the workload ‟w_help”:
|
dsctl intent delete
Synopsis |
|
|||||||||||||||||||||||||
Description |
The dsctl intent delete command is used to delete a Digital Sandbox intent resource and has the following operations:
|
|||||||||||||||||||||||||
Options |
The following are dsctl intent delete {fully-qualified-workload | workload | underlay} parameters:
|
|||||||||||||||||||||||||
Examples |
To delete a workload intent named ‟workload-alpha” associated with ID ‟intentexample”:
|
dsctl intent list
Synopsis |
|
|||||||||||||||||||||||||||||||||||||
Description |
The dsctl intent list command is used to retrieve a list of intent resources and has the following operations:
|
|||||||||||||||||||||||||||||||||||||
Options |
The following are dsctl intent list {active-workload | fully-qualified-workload | workload | underlay} parameters:
|
|||||||||||||||||||||||||||||||||||||
Examples |
To retrieve a list of all intent deployments and their corresponding defined workloads/underlays:
To retrieve a list of all workload types and underlays associated with the deployment named ‟star”:
To retrieve a list of all underlays associated with the deployment named ‟star”:
To show the details of the underlay named ‟underlay1” associated with the deployment named ‟star”:
To show all the workloads associated with the deployment named ‟star” that are in the running datastore:
|
dsctl intent status
Synopsis |
|
|||||||||||||
Description |
The dsctl intent status command is used to obtain the status for intents. |
|||||||||||||
Options |
The following are dsctl intent status parameters:
|
|||||||||||||
Examples |
To show the status of all intent deployments and their corresponding defined workloads/underlays:
To show the status of all intent deployments and their corresponding defined workloads/underlays associated with the deployment named ‟star”:
|
dsctl intent update
Synopsis |
|
|||||||||||||||||||||||||||||||
Description |
The dsctl intent update command is used to update an existing Digital Sandbox intent context. During the update, the candidate versions are promoted to running, and links or nodes are added, removed, and updated as needed. This command has the following operations:
|
|||||||||||||||||||||||||||||||
Options |
The following are dsctl intent update {fully-qualified-workload | workload | underlay} parameters:
|
|||||||||||||||||||||||||||||||
Examples |
To update a workload intent named ‟w_help” using the file/definition located at ‟/tmp/workload_help.yaml”, and that is associated with the deployment ID ‟star”:
|