diff --git a/doc/source/admin/emulator.conf b/doc/source/admin/emulator.conf index 167f748a..4dee4cf2 100644 --- a/doc/source/admin/emulator.conf +++ b/doc/source/admin/emulator.conf @@ -172,3 +172,15 @@ SUSHY_EMULATOR_VOLUMES = { ] } +# This list contains the identities of instances that the driver will filter by. +# It is useful in a tenant environment where only some instances represent +# virtual baremetal. +SUSHY_EMULATOR_ALLOWED_INSTANCES = [ + "437XR1138R2", + "1", + "529QB9450R6", + "529QB9451R6", + "529QB9452R6", + "529QB9453R6" +] + diff --git a/doc/source/user/dynamic-emulator.rst b/doc/source/user/dynamic-emulator.rst index 5e0c8849..9ff23be0 100644 --- a/doc/source/user/dynamic-emulator.rst +++ b/doc/source/user/dynamic-emulator.rst @@ -286,6 +286,28 @@ And flip its power state via the Redfish call: You can have as many OpenStack instances as you need. The instances can be concurrently managed over Redfish and functionally similar tools. +Filtering by allowed instances +++++++++++++++++++++++++++++++ + +It is not always desirable to manage every accessable virtual machine as a +Redfish System, such as when an OpenStack tenant has many instances which do not +represent virtual baremetal. In this case it is possible to specify a list of +UUIDs which are allowed. + +.. code-block:: bash + + $ cat sushy-tools/doc/source/admin/emulator.conf + ... + SUSHY_EMULATOR_ALLOWED_INSTANCES = [ + "437XR1138R2", + "1", + "529QB9450R6", + "529QB9451R6", + "529QB9452R6", + "529QB9453R6" + ] + ... + Managers resource -----------------