|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-api
[Xen-API] [PATCH 15 of 21] CP-1858: add new vmpp message types to	api-me 
|  ocaml/idl/api_messages.ml |  17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1282322886 -3600
# Node ID 53548b0dd1171f1ecdc2bc46c3c861c050aeaa47
# Parent  c1fbbbc4f64defb66c6e6bdfafd734daf295b8ee
CP-1858: add new vmpp message types to api-messages
Signed-off-by: Marcus Granado <marcus.granado@xxxxxxxxxxxxx>
diff -r c1fbbbc4f64d -r 53548b0dd117 ocaml/idl/api_messages.ml
--- a/ocaml/idl/api_messages.ml
+++ b/ocaml/idl/api_messages.ml
@@ -85,3 +85,20 @@
 let v6_grace_license = addMessage "GRACE_LICENSE"
 let v6_rejected = addMessage "LICENSE_NOT_AVAILABLE"
 let v6_comm_error = addMessage "LICENSE_SERVER_UNREACHABLE"
+
+(* VMPP message types *)
+let vmpp_backup_lock_failed = addMessage "VMPP_BACKUP_LOCK_FAILED" (*'The 
backup sub-policy is already executing for this protection policy. Please try 
again later'*)
+let vmpp_backup_succeeded = addMessage "VMPP_BACKUP_SUCCEEDED" (*'Successfully 
performed the snapshot phase of the protection policy'*)
+let vmpp_archive_lock_failed = addMessage "VMPP_ARCHIVE_LOCK_FAILED" (*'The 
archive sub-policy is already executing for this protection policy.Please try 
again later'*)
+let vmpp_archive_failed_0 = addMessage "VMPP_ARCHIVE_FAILED_0" (*'The archive 
phase failed for this protection policy'*)
+let vmpp_archive_suceeded = addMessage "VMPP_ARCHIVE_SUCCEEDED" 
(*'Successfully performed the archive phase of the protection policy'*)
+let vmpp_archive_target_mount_failed = addMessage 
"VMPP_ARCHIVE_TARGET_MOUNT_FAILED" (*'Failed to mount the archive target. 
Please check the archive target configuration settings'*)
+let vmpp_archive_target_unmount_failed = addMessage 
"VMPP_ARCHIVE_TARGET_UNMOUNT_FAILED" (*'Failed to unmount the archive target. 
Please make sure than the local directory was mounted successfully and has no 
open handles'*)
+let vmpp_license_error = addMessage "VMPP_LICENSE_ERROR" (*'This operation is 
not allowed under your license.  Please contact your support representative'*)
+let vmpp_xapi_logon_failure = addMessage "VMPP_XAPI_LOGON_FAILURE" (*'Could 
not login to API session.'*)
+let vmpp_backup_missed_event = addMessage "VMPP_BACKUP_MISSED_EVENT" (*'A 
scheduled snapshot event was missed due to another on-going scheduled snapshot 
run. This is unexpected behaviour, please re-configure your backup 
sub-policy',*)
+let vmpp_archive_missed_event = addMessage "VMPP_ARCHIVE_MISSED_EVENT" (*'A 
scheduled archive event was missed due to another on-going scheduled archive 
run. This is unexpected behaviour, please re-configure your archive 
sub-policy'*)
+let vmpp_backup_failed = addMessage "VMPP_BACKUP_FAILED" (*'The snapshot phase 
of the protection policy failed.'*)
+let vmpp_snapshot_archive_already_exists = addMessage 
"VMPP_SNAPSHOT_ARCHIVE_ALREADY_EXISTS" (*'Failed to archive the snapshot, it 
has already been archived on the specified target'*)
+
+
  xen-api.hg-15.patch Description: Text Data
 _______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
RE: [Xen-API] [PATCH 07 of 21] CP-1798: license updates for VMPR	(PR-1031), (continued)
[Xen-API] [PATCH 09 of 21] CP-1704: vmpp.archive-now, Marcus Granado
[Xen-API] [PATCH 01 of 21] CP-1739: create XAPI datamodel stubs for	PR-1031 (VM protection policy), Marcus Granado
[Xen-API] [PATCH 11 of 21] CP-1835: add optional task-uuid	parameter to cli vm-export, Marcus Granado
[Xen-API] [PATCH 21 of 21] CP-1880: cli autocompletion for vmpp	fields, Marcus Granado
[Xen-API] [PATCH 18 of 21] CP-1739: vmpp.{backup,	archive}-last-run-time should be for local-root only, Marcus Granado
[Xen-API] [PATCH 10 of 21] CP-1800: CLI support for PR-1031 (VM	protection policy), Marcus Granado
[Xen-API] [PATCH 17 of 21] CP-1860: add license checks, Marcus Granado
[Xen-API] [PATCH 19 of 21] CP-1739: vmpp retention value should be	between 1 and 10, Marcus Granado
[Xen-API] [PATCH 20 of 21] CP-1879: compress data contents in	vmpp.create_alert, Marcus Granado
[Xen-API] [PATCH 15 of 21] CP-1858: add new vmpp message types to	api-messages,
Marcus Granado <=
[Xen-API] [PATCH 13 of 21] CP-1841: add new api call vmpp.get_alerts, Marcus Granado
[Xen-API] [PATCH 16 of 21] CP-1807: do not allow assigning a VMPP	to a Dom0 VM, Marcus Granado
[Xen-API] [PATCH 14 of 21] CP-1846: add new api call	vmpp.create_alert, Marcus Granado
[Xen-API] [PATCH 12 of 21] CP-1807: validate key names and values	for vmpp map fields, Marcus Granado
 |  |  | 
  
    |  |  |