Update docs

* Add 'extra_info' for checkpoint
* Add s3 bank plugin
* Add pod protectable plugin
* Add database/pod/network/share protection plugins

Change-Id: I911fa40001d47ba1e93d89e8c5e5223c114fc7e9
This commit is contained in:
ericxiett 2018-09-01 17:49:22 +08:00
parent c75a968cba
commit edc14d08ce
4 changed files with 63 additions and 1 deletions

View File

@ -356,6 +356,7 @@ Execute a protect operation manually with a plan
| Property | Value |
+-----------------+------------------------------------------------------+
| created_at | None |
| extra_info | {"created_by": "manual"} |
| id | 80f6154f-cc43-441f-8841-35ae23e17f4f |
| project_id | 31478a6f980d4e73a3bdac3ad04a3605 |
| protection_plan | { |
@ -390,6 +391,7 @@ Execute a protect operation manually with a plan
| Property | Value |
+-----------------+-----------------------------------------------------------+
| created_at | 2017-02-13 |
| extra_info | {"created_by": "manual"} |
| id | 80f6154f-cc43-441f-8841-35ae23e17f4f |
| project_id | 31478a6f980d4e73a3bdac3ad04a3605 |
| protection_plan | { |

View File

@ -17,3 +17,12 @@ Local Filesystem
:noindex:
:members:
:show-inheritance:
S3
""
.. autoclass:: karbor.services.protection.bank_plugins.s3_bank_plugin.S3BankPlugin
:noindex:
:members:
:show-inheritance:

View File

@ -55,4 +55,12 @@ Database
.. autoclass:: karbor.services.protection.protectable_plugins.database.DatabaseInstanceProtectablePlugin()
:noindex:
:members:
:show-inheritance:
:show-inheritance:
Pod
^^^
.. autoclass:: karbor.services.protection.protectable_plugins.pod.K8sPodProtectablePlugin()
:noindex:
:members:
:show-inheritance:

View File

@ -38,4 +38,47 @@ Image to Bank
:members:
:show-inheritance:
Database
^^^^^^^^
Database Backup
"""""""""""""""
.. autoclass:: karbor.services.protection.protection_plugins.database.database_backup_plugin.DatabaseBackupProtectionPlugin()
:noindex:
:members:
:show-inheritance:
Network
^^^^^^^
Network to Bank
"""""""""""""""
.. autoclass:: karbor.services.protection.protection_plugins.network.neutron_protection_plugin.NeutronProtectionPlugin()
:noindex:
:members:
:show-inheritance:
Pod
^^^
Pod to Bank
"""""""""""
.. autoclass:: karbor.services.protection.protection_plugins.pod.pod_protection_plugin.PodProtectionPlugin()
:noindex:
:members:
:show-inheritance:
Share
^^^^^
Share to Bank
"""""""""""""
.. autoclass:: karbor.services.protection.protection_plugins.share.share_snapshot_plugin.ManilaSnapshotProtectionPlugin()
:noindex:
:members:
:show-inheritance: