delete commands

Delete commands are used to delete a Digital Sandbox resource configuration.

The following delete CLI commands are available:

dsctl

    — delete

        — checkpoint

        — config

            — defaults

            — fssconnect

            — nokia-srlinux-license

        — deployment

        — phyconnector

dsctl delete checkpoint

Synopsis

dsctl delete checkpoint i <ID_string> [n <name_string>]

Description

The dsctl delete checkpoint command is used to delete a specific checkpoint.

Options

The following are dsctl delete checkpoint flags:

Parameter:

-h, --help

Description:

Obtains help for checkpoint

Parameter:

-i, <ID_string>

Description:

Specifies the deployment ID. Mandatory parameter.

Parameter:

-n, <name_string>

Description:

Specifies the checkpoint name.

The following are dsctl delete checkpoint global flags:

Parameter:

-c, --config string

Description:

Specifies the configuration file

Parameter:

-c, <log.level_string>

Description:

Specifies the logging level (the default is "info")

dsctl delete config

Synopsis

dsctl delete config defaults

dsctl delete config fssconnect

dsctl delete config nokia-srlinux-license -v <version>

Description

The dsctl delete config command is used to delete Digital Sandbox configuration details and has the following operations:

  • The defaults operation deletes the Digital Sandbox default configuration.

  • The fssconnect operation deletes the FSSconnect secret, or sensitive information such as passwords that are required to connect to the fabric manager (Fabric Services System).

  • The nokia-srlinux-license operation deletes a license key for a specified Nokia SR Linux version. You can use the dsctl list config nokia-srlinux-license command to list existing licenses.

Options

The following are dsctl delete config nokia-srlinux-license parameters:

Parameter:

-v <version>

Used with operation:

delete config nokia-srlinux-license

Description:

Specifies the version of the Nokia SR Linux key to delete. Mandatory field.

Examples

To delete the Digital Sandbox default configuration:

dsctl delete config defaults

To delete the FSSconnect secret:

dsctl delete config fssconnect

To delete the license key for version ‟srl_rel_0.0.0” of the Nokia SR Linux key:

dsctl delete config nokia-srlinux-license -v srl_rel_0.0.0

dsctl delete deployment

Synopsis

dsctl delete deployment -i <ID_string> [-f]

Description

The dsctl delete deployment command is used to delete a Digital Sandbox deployment.

Options

The following are dsctl delete deployment parameters:

Parameter:

-i <ID_string>

Used with operation:

delete deployment

Description:

Specifies the deployment ID to delete. Mandatory field.

Parameter:

-f

Used with operation:

delete deployment

Description:

Specifies that the deletion should be forced even if another operation is in progess.

Examples

To delete a deployment with an ID of ‟star” and force the operation:

dsctl delete deployment -i star -f

dsctl delete phyconnector

Synopsis

dsctl delete phyconnector -n <name_string>

Description

The dsctl delete phyconnector command is used to delete a phyconnector in the kubernetes cluster. A phyconnector is used to connect a physical interface, device, or network to the containerized network.

Options

The following are dsctl delete phyconnector parameters:

Parameter:

-n <name_string>

Used with operation:

delete phyconnector

Description:

Specifies the name of the phyconnector to delete. Mandatory field.

Examples

To delete a phyconnector named ‟phyconnectOnNode1” in the kubernetes node:

dsctl delete phyconnector -n phyconnectOnNode1