GatewayScript policy commands

GatewayScript policy mode provides the commands to specify a GatewayScript policy.

This policy is not supported in IBM® Cloud. Any assembly that includes this policy fails.

To enter the mode, use the global assembly-gatewayscript command. To delete a GatewayScript policy, use the global no assembly-gatewayscript command.

While in this mode, use the commands in the following table to define the GatewayScript policy.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. Configuration commands for a GatewayScript policy
Command Purpose
admin-state This command sets the administrative state for the configuration.
correlation-path This command specifies the part of the API definition that correlates with the policy.
gatewayscript-location This command specifies the name and the location of a GatewayScript file that the GatewayScript policy calls.
parse-settings-reference This command specifies the parse settings configuration for the GatewayScript policy.
summary This command specifies the brief, descriptive summary for the object instance.
title This command specifies the title for the configuration.
Table 2. Action commands for a GatewayScript policy
Command Purpose
debug This command controls whether to enable the GatewayScript debugger to troubleshoot the GatewayScript file that is run in the GatewayScript policy.