Update contributor doc
Change-Id: I54497c76c3fc7f6624d4b8ac48601b46569a0d9d Story: 2006807 Task: 37357
This commit is contained in:
parent
08cef4fae6
commit
14c723aa8d
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue