Change in vdsm[master]: schema: add v2vJobs to HostStats

shavivi at redhat.com shavivi at redhat.com
Mon Aug 17 12:31:16 UTC 2015


Shahar Havivi has uploaded a new change for review.

Change subject: schema: add v2vJobs to HostStats
......................................................................

schema: add v2vJobs to HostStats

v2vJobs reports via HostStats and needs to be declared in schema

Change-Id: I20b5b44b2b74c0e1326251d6a3b84ef66dac46c7
Signed-off-by: Shahar Havivi <shaharh at redhat.com>
---
M vdsm/rpc/vdsmapi-schema.json
1 file changed, 23 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/19/44919/1

diff --git a/vdsm/rpc/vdsmapi-schema.json b/vdsm/rpc/vdsmapi-schema.json
index 4cac5ae..f21d174 100644
--- a/vdsm/rpc/vdsmapi-schema.json
+++ b/vdsm/rpc/vdsmapi-schema.json
@@ -1970,6 +1970,24 @@
           'score': 'uint'}}
 
 ##
+# @V2VJobs:
+#
+# Structure for current v2v jobs status
+#
+# @status:      Indicates jobs status (done, error, aborted, copying_disk,
+#               starting)
+#
+# @description: Description for the current status such as error or copying
+#               disk description.
+#
+# @progress:    Job progress between 0-100
+#
+# Since: 4.17.0
+##
+{'type': 'V2VJobs',
+ 'data': {'status': 'str', 'description': 'str', 'progress': 'uint'}}
+
+##
 # @HostStats:
 #
 # Statistics about this host.
@@ -2065,6 +2083,9 @@
 # @outgoingVmMigrations:   The number of VMs migrating away from this host
 #                          (new in version 4.17.0)
 #
+# @v2vJobs:                #optional Current v2v jobs that running/ended on
+#                          current host (new in version 4.17.0)
+#
 # Since: 4.10.0
 ##
 {'type': 'HostStats',
@@ -2086,7 +2107,8 @@
            'haStatus': 'HostedEngineStatus', '*bootTime': 'uint',
            'numaNodeMemFree': 'NumaNodeMemoryStatsMap',
            'cpuStatistics': 'CpuCoreStatsMap',
-           'incomingVmMigrations': 'uint', 'outgoingVmMigrations': 'uint'}}
+           'incomingVmMigrations': 'uint', 'outgoingVmMigrations': 'uint',
+           '*v2vJobs': 'V2VJobs'}}
 
 ##
 # @Host.getStats:


-- 
To view, visit https://gerrit.ovirt.org/44919
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20b5b44b2b74c0e1326251d6a3b84ef66dac46c7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shavivi at redhat.com>


More information about the vdsm-patches mailing list