Adam Litke has uploaded a new change for review. Change subject: schema: Fix schema for VM.updateDevice ......................................................................
schema: Fix schema for VM.updateDevice Another recent update broke the schema file. I'll take the blame for this one since I approved the change :) Some missing and/or malformed data in comments was causing the process-schema script to fail. Another reason for validating the schema during the build. Change-Id: If88596050ace9511bcc7be65ee46645359e30532 Signed-off-by: Adam Litke <a...@us.ibm.com> --- M vdsm_api/vdsmapi-schema.json 1 file changed, 5 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/10012/1 diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json index bd15cbb..cf02f31 100644 --- a/vdsm_api/vdsmapi-schema.json +++ b/vdsm_api/vdsmapi-schema.json @@ -4909,10 +4909,12 @@ ## # @vmUpdateDeviceParams: # +# A discriminated record of update parameters for a VM device. +# # @deviceType: The VM device type to update. For example 'interface' for # network devices or 'disk' for disk storage devices. # -# Since 4.10.3 +# Since: 4.10.3 ## {'type': 'vmUpdateDeviceParams', 'data': {'deviceType': 'VmDeviceType'}, @@ -4939,11 +4941,11 @@ # by alias. If omitted, it keeps the current mirroring # configuration. # -# Since 4.10.3 +# Since: 4.10.3 ## {'type': 'vmUpdateInterfaceDeviceParams', 'data': {'*network': 'str', '*linkActive': 'bool', - 'alias': 'str', '*portMirroring': '[str]'}} + 'alias': 'str', '*portMirroring': ['str']}} ## # @VM.updateDevice: @@ -4958,7 +4960,6 @@ # The VM definition, as updated # # Since: 4.10.3 -# ## {'command': {'class': 'VM', 'name': 'updateDevice'}, 'data': {'vmId': 'UUID', 'params': 'vmUpdateDeviceParams'}, -- To view, visit http://gerrit.ovirt.org/10012 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If88596050ace9511bcc7be65ee46645359e30532 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Adam Litke <a...@us.ibm.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches