ADC CLI Commands

wasm-module

The following operations can be performed on “wasm-module”:

add set unset rm show

add wasm module

Loads the specified WASM module to the Citrix ADC, assigns it the specified name, and stores it in the list of WASM module objects.

Synopsis

add wasm module -moduleFile -signatureFile [-settingFile ] [-comment ]

Arguments

name The name of the WASM module file.

moduleFile File name of the WASM module.

signatureFile The SHA256 file contains the hash value used to validate the WASM module..

settingFile The WASM module filename contains module-specific configuration settings.

comment Any type of information about this WASM module

Example

add wasm module wasmModv1 -moduleFile nsWasmMod.wasm -signatureFile nsWasmMod.sig

set wasm module

Modifies the specified parameters of a WASM module.

Synopsis

set wasm module [-settingFile ] [-comment ]

Arguments

name The name of the WASM module file.

settingFile The WASM module filename contains module-specific configuration settings.

comment Any type of information about this WASM module

Example

add wasm module wasmModv1 -settingFile mod_new_setting.json

unset wasm module

Use this command to remove wasm module settings.Refer to the set wasm module command for meanings of the arguments.

Synopsis

unset wasm module [-settingFile] [-comment]

rm wasm module

Removes the specified WASM module.

Synopsis

rm wasm module

Arguments

name Name of the WASM module to remove.

Example

rm ns wasmmodule wasm_module

show wasm module

Displays information about all configured WASM modules, or about the specified module.

Synopsis

show wasm module []

Arguments

name Name of the module about which to display information.

Output

name The name of the WASM module file.

moduleFile File name of the WASM module.

signatureFile The SHA256 file contains the hash value used to validate the WASM module..

settingFile The WASM module filename contains module-specific configuration settings.

comment Any type of information about this WASM module

referenceCount The number of references to the wasm_module.

devno count stateflag _nextgenAPIResource

Example

show wasm module mod1

wasm-module