openstack-manuals/doc/config-reference/source/tables/nova-testing.rst
KATO Tomoyuki 55167764ae [config-ref] fix incorrect table format
re-run the tool with latest version.

Closes-Bug: #1638004

Change-Id: I13a4e53c403e189839d04a0376bc0db1cf0ef049
2016-11-12 20:43:46 +09:00

1.5 KiB

Description of testing configuration options
Configuration option = Default value Description
[DEFAULT]
fake_network = False (Boolean) This option is used mainly in testing to avoid calls to the underlying network utilities.

monkey_patch = False

(Boolean) Determine if monkey patching should be applied.

Related options:

  • monkey_patch_modules: This must have values set for this option to have any effect

monkey_patch_modules = nova.compute.api:nova.notifications.notify_decorator

(List) List of modules/decorators to monkey patch.

This option allows you to patch a decorator for all functions in specified modules.

Possible values:

  • nova.compute.api:nova.notifications.notify_decorator
  • nova.api.ec2.cloud:nova.notifications.notify_decorator
  • [...]

Related options:

  • monkey_patch: This must be set to True for this option to have any effect