Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The GET-CONFIGS directive An optional \[MODE\] can be specified to the right of the ":" to indicate whether synchronous or asynchronous behavior is desired. Valid values for \[MODE\] are "synchronous" and "asynchronous". If not specified, \[MODE\] defaults to "synchronous". Synchronous behavior implies that the script will block until the GC operation has completed (i.e. the operation terminates with an OK status) or abort if an error is encountered (i.e. the operation terminates with an Error status). Asynchronous behavior implies that the script will continue processing after the GC request is initiated. An example follows:

Example

# Ensure that NetMRI has the most up-to-date configurations
# on file. The script will block until the Get Configs operation hasĀ 
# completed since the default synchronous mode is used.

...