diff options
author | Steve Baker <sbaker@redhat.com> | 2022-12-19 17:43:03 +1300 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2023-02-28 15:07:05 +1300 |
commit | b41d5d514585a1cc5c6d80553afdf2eb767d6917 (patch) | |
tree | 1b2737ca9611966fa9a4d90349ae2f6c45290efd | |
parent | 393b20204b3adab12e69e6e1d24a221e2751e6ec (diff) | |
download | ironic-b41d5d514585a1cc5c6d80553afdf2eb767d6917.tar.gz |
Document [fake] delay config values
This feature was added in the previous commit
Change-Id: I30100cd3b2702bf8bb614d45c0f64712656ec15e
-rw-r--r-- | doc/source/admin/drivers/fake.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/source/admin/drivers/fake.rst b/doc/source/admin/drivers/fake.rst index ea7d7ef4c..2e2cc355e 100644 --- a/doc/source/admin/drivers/fake.rst +++ b/doc/source/admin/drivers/fake.rst @@ -23,6 +23,30 @@ Development Developers can use ``fake-hardware`` hardware-type to mock out nodes for testing without those nodes needing to exist with physical or virtual hardware. +Scale testing +------------- +The ``fake`` drivers have a configurable delay in seconds which will result in +those operations taking that long to complete. Two comma-delimited values will +result in a delay with a triangular random distribution, weighted on the first +value. These delays are applied to operations which typically block in other +drivers. This allows more realistic scenarios to be arranged for performance and +functional testing of an Ironic service without requiring real bare metal or +faking at the BMC protocol level. + +.. code-block:: ini + + [fake] + power_delay = 5 + boot_delay = 10 + deploy_delay = 60,360 + vendor_delay = 1 + management_delay = 5 + inspect_delay = 360,480 + raid_delay = 10 + bios_delay = 5 + storage_delay = 10 + rescue_delay = 120 + Adoption -------- Some OpenStack deployers have used ``fake`` interfaces in Ironic to allow an |