diff --git a/doc/source/contributor/bank_plugins_guide.rst b/doc/source/contributor/bank_plugins_guide.rst index 23e14296..16886bf8 100644 --- a/doc/source/contributor/bank_plugins_guide.rst +++ b/doc/source/contributor/bank_plugins_guide.rst @@ -100,5 +100,6 @@ Add the configuration of the bank plugin id = 6659007d-6f66-4a0f-9cb4-17d6aded0bb9 plugin=karbor-volume-protection-plugin bank=karbor-fs-bank-plugin + enabled=True diff --git a/doc/source/contributor/protection_plugins_guide.rst b/doc/source/contributor/protection_plugins_guide.rst index d2212e5d..fabfd708 100644 --- a/doc/source/contributor/protection_plugins_guide.rst +++ b/doc/source/contributor/protection_plugins_guide.rst @@ -59,6 +59,12 @@ Each plugin must implement the following interface: def get_restore_operation(self, resource): pass + def get_verify_operation(self, resource): + pass + + def get_copy_operation(self, resource): + pass + def get_delete_operation(self, resource): pass @@ -82,6 +88,10 @@ Each plugin must implement the following interface: def get_saved_info(cls, metadata_store, resource): pass + @classmethod + def get_verify_schema(cls, resource_type): + pass + #. **get_supported_resources_types**: this method should return a list of resource types this plugin handles. The plugin's methods will be called for each resource of these types. For example: `OS::Nova::Instance`, @@ -94,6 +104,8 @@ Each plugin must implement the following interface: in a checkpoint #. **get_restore_schema**: returns a schema of parameters available for restore operation. +#. **get_verify_schema**: returns a schema of parameters available for verify + operation. #. **get_protect_operation**, **get_restore_operation**, **get_delete_operation**: each returns an Operation instance to be used for the protect, restore, and delete operations respectively. This instance may