mirror of
https://github.com/OpenNebula/one.git
synced 2025-09-10 01:44:15 +03:00
F #6063: Backup Jobs for OpenNebula
Includes the following changes: - xml-schema for Backup Job and Scheduled Actions - GO, Java api - Deprecate onevm update-chart, delete-chart * The commands are replaced by sched-update and sched-delete * Refactor method deprecate_command, it's still possible to run the command * Delete 'shutdown' and 'delete' commands deprecated years ago * Fix --verbose option for sched-update and sched-delete - Re-implementation of scheduled actions, now are managed and executed by oned - Backup Job objects, API, and CLI commands
This commit is contained in:
@@ -67,7 +67,9 @@ public:
|
||||
MARKETPLACEAPP = 0x0010000000000000LL,
|
||||
VMGROUP = 0x0020000000000000LL,
|
||||
VNTEMPLATE = 0x0040000000000000LL,
|
||||
HOOK = 0x0080000000000000LL
|
||||
HOOK = 0x0080000000000000LL,
|
||||
BACKUPJOB = 0x0100000000000000LL,
|
||||
SCHEDULEDACTION= 0x0200000000000000LL
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -107,6 +109,7 @@ public:
|
||||
case VMGROUP: return "VMGROUP"; break;
|
||||
case VNTEMPLATE: return "VNTEMPLATE"; break;
|
||||
case HOOK: return "HOOK"; break;
|
||||
case BACKUPJOB: return "BACKUPJOB"; break;
|
||||
default: return "";
|
||||
}
|
||||
};
|
||||
@@ -133,6 +136,7 @@ public:
|
||||
else if ( type == "VMGROUP" ) return VMGROUP;
|
||||
else if ( type == "VNTEMPLATE" ) return VNTEMPLATE;
|
||||
else if ( type == "HOOK" ) return HOOK;
|
||||
else if ( type == "BACKUPJOB" ) return BACKUPJOB;
|
||||
else return NONE;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user