Change in vdsm[master]: schema: Missing schema information for 'syncType'

agl at us.ibm.com agl at us.ibm.com
Wed Dec 12 20:20:12 UTC 2012


Adam Litke has uploaded a new change for review.

Change subject: schema: Missing schema information for 'syncType'
......................................................................

schema: Missing schema information for 'syncType'

Commit <> added a new API Image.syncData but did not fully spec the arguments.
The referenced enum type 'syncData' has no definition.  Adding the missing bit
based on my examination of the code.

This is why we need something like http://gerrit.ovirt.org/#/c/9433/ to validate
the schema at build time.

Change-Id: Ib2c5df5d39e9bb184958b32449d671f74c3af494
Signed-off-by: Adam Litke <agl at us.ibm.com>
---
M vdsm_api/vdsmapi-schema.json
1 file changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/11/10011/1

diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index 9772e18..bd15cbb 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -3065,6 +3065,21 @@
  'returns': 'UUID'}
 
 ##
+# @syncType:
+#
+# An enumeration of possible Image synchronization types.
+#
+# @ALL:       Sync all volumes
+#
+# @INTERNAL:  Sync internal volumes only
+#
+# @LEAF:      Sync leaf volumes only
+#
+# Since: 4.11.0
+##
+{'enum': 'syncType', 'data': ['ALL', 'INTERNAL', 'LEAF']}
+
+##
 # @Image.syncData:
 #
 # Synchronize image data between storage domains within same Storage Pool.


--
To view, visit http://gerrit.ovirt.org/10011
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2c5df5d39e9bb184958b32449d671f74c3af494
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl at us.ibm.com>


More information about the vdsm-patches mailing list