|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 00 of 21] PR-1031: VM Protection and Recovery
PR-1031: VM Protection and Recovery
- VM Protection: scheduled VM backups and archiving
- VM Recovery: from VM backups and archives
The following sequence of patches modify Xapi to support PR-1031:
- A new VMPP object (VM Protection Policy) is added to the Xapi database
- A new VMPP_ref field is added to the VM object
- a new is-snapshot-from-vmpp flag for snapshot objects
- a new VMPP class option for the message object
- VMPP email alerts will understand recipient information in VMPP objects
Xapi is mostly working as a database storage for the VMPP-VM relation. The
storage backend is responsible for implementing the timing logic and executing
the actual VM backup and archive using the information in this database.
ocaml/idl/datamodel.ml | 136 +++++++++-
ocaml/xapi/OMakefile | 1 +
ocaml/xapi/api_server.ml | 1 +
ocaml/xapi/cli_operations.ml | 2 +-
ocaml/xapi/create_misc.ml | 4 +-
ocaml/xapi/create_templates.ml | 2 +
ocaml/xapi/import_xva.ml | 1 +
ocaml/xapi/message_forwarding.ml | 11 +-
ocaml/xapi/xapi_host.ml | 14 +
ocaml/xapi/xapi_host.mli | 1 +
ocaml/xapi/xapi_pool.ml | 2 +
ocaml/xapi/xapi_pool.mli | 2 +
ocaml/xapi/xapi_vm.ml | 4 +
ocaml/xapi/xapi_vm.mli | 5 +-
ocaml/xapi/xapi_vm_clone.ml | 5 +-
ocaml/xapi/xapi_vm_helpers.ml | 8 +-
ocaml/xapi/xapi_vmpp.ml | 69 ++++
ocaml/client_records/records.ml | 2 +-
ocaml/idl/datamodel.ml | 4 +-
ocaml/xapi/xapi_message.ml | 8 +-
scripts/mail-alarm | 48 ++-
ocaml/xapi/xapi_session.ml | 8 +-
ocaml/xapi/export.ml | 1 +
ocaml/xapi/import.ml | 1 +
ocaml/database/db_names.ml | 1 +
ocaml/xapi/xapi_vm_snapshot.ml | 1 +
ocaml/xapi/xapi_vm_clone.ml | 17 +-
ocaml/license/edition.ml | 2 +-
ocaml/license/features.ml | 3 +-
ocaml/license/features.mli | 1 +
ocaml/idl/datamodel.ml | 3 +
ocaml/xapi/xapi_pool.ml | 9 +-
ocaml/xapi/xapi_pool.mli | 2 +-
ocaml/xapi/xapi_vmpp.ml | 28 +-
ocaml/idl/datamodel.ml | 6 +
ocaml/xapi/xapi_vmpp.ml | 15 +-
ocaml/client_records/record_util.ml | 6 +
ocaml/client_records/records.ml | 109 +++++++-
ocaml/idl/ocaml_backend/event_helper.ml | 3 +-
ocaml/xapi/cli_frontend.ml | 16 +
ocaml/xapi/cli_operations.ml | 48 +++-
ocaml/xapi/cli_operations.ml | 16 +-
ocaml/idl/api_errors.ml | 3 +
ocaml/idl/datamodel.ml | 209 +++++++++++++-
ocaml/xapi/xapi_vmpp.ml | 477 +++++++++++++++++++++++++++++--
ocaml/idl/datamodel.ml | 12 +
ocaml/idl/ocaml_backend/rbac_audit.ml | 26 +-
ocaml/xapi/audit_log.ml | 22 +-
ocaml/xapi/xapi_vm_clone.ml | 2 +-
ocaml/xapi/xapi_vmpp.ml | 64 ++++
scripts/mail-alarm | 28 +-
ocaml/idl/datamodel.ml | 16 +-
ocaml/idl/ocaml_backend/rbac_audit.ml | 1 +
ocaml/xapi/xapi_vmpp.ml | 73 +++-
ocaml/idl/api_messages.ml | 17 +
ocaml/idl/datamodel.ml | 14 +-
ocaml/xapi/message_forwarding.ml | 5 +
ocaml/xapi/xapi_vm.ml | 8 +
ocaml/xapi/xapi_vm.mli | 1 +
ocaml/xapi/xapi_vm.ml | 2 +
ocaml/xapi/xapi_vmpp.ml | 28 +
ocaml/idl/datamodel.ml | 26 +-
ocaml/xapi/cli_operations.ml | 6 +-
ocaml/xapi/xapi_vmpp.ml | 32 +-
ocaml/idl/datamodel.ml | 13 +-
ocaml/xapi/xapi_vmpp.ml | 14 +
ocaml/idl/datamodel.ml | 3 +-
ocaml/idl/ocaml_backend/rbac_audit.ml | 66 +++-
ocaml/xapi/xapi_vmpp.ml | 58 ++-
scripts/mail-alarm | 6 +-
ocaml/xe-cli/bash-completion | 52 +++
71 files changed, 1706 insertions(+), 204 deletions(-)
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-API] [PATCH 00 of 21] PR-1031: VM Protection and Recovery,
Marcus Granado <=
|
|
|
|
|