Francesco Romani has uploaded a new change for review. Change subject: schema: graphdev: document the new graphics device ......................................................................
schema: graphdev: document the new graphics device add the schema definition of the new graphics device. Change-Id: If7e770e87349d9dbab328809b38596947618515c Signed-off-by: Francesco Romani <[email protected]> --- M vdsm_api/vdsmapi-schema.json 1 file changed, 60 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/93/26893/1 diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json index 6571cb7..c25ba90 100644 --- a/vdsm_api/vdsmapi-schema.json +++ b/vdsm_api/vdsmapi-schema.json @@ -2008,11 +2008,14 @@ # # @rng: A rng device # +# @graphics: The graphics device +# (new in version 4.15.0) +# # Since: 4.10.0 ## {'enum': 'VmDeviceType', 'data': ['disk', 'interface', 'video', 'sound', 'controller', 'balloon', - 'channel', 'console', 'smartcard', 'rng']} + 'channel', 'console', 'smartcard', 'rng', 'graphics']} ## # @VmDiskDeviceType: @@ -2485,6 +2488,61 @@ 'data': {'deviceType': 'VmDeviceType', 'device': 'VmVideoDeviceType', 'address': 'VmDeviceAddress', 'alias': 'str', 'deviceId': 'UUID', 'specParams': 'VmVideoDeviceSpecParams'}} + +## +# @VmGraphicsDeviceType: +# +# An enumeration of VM graphics device types. +# +# @spice: SPICE graphics device +# +# @vnc: VNC graphics device +# +# Since: 4.15.0 +## +{'enum': 'VmGraphicsDeviceType', + 'data': ['spice', 'vnc']} + +## +# @VmGraphicsDeviceSpecParams: +# +# Additional parameters for VM graphics devices. +# +# @port: The port in use for unencrypted display data +# +# @tlsPort: #optional The port in use for encrypted display data +# +# @keyMap: #optional The keyboard layout string (eg. 'en-us') +# +# @disableTicketing: #optional disable security ticketing +# +# @displayNetwork: #optional Address of the display network +# +# @spiceSecureChannels: #optional Secure space channels, comma separated +# +# Since: 4.15.0 +## +{'type': 'VmGraphicsDeviceSpecParams', + 'data': {'port': 'uint', '*tlsPort': 'uint', '*keyMap': 'str', + '*disableTicketing': 'bool', '*displayNetwork': 'str', + '*spiceSecureChannels': 'str'}} + +## +# @VmGraphicsDevice: +# +# Properties of a VM graphics device. +# +# @deviceType: The device type (always @graphics) +# +# @device: The type of video device +# +# @specParams: Additional device parameters +# +# Since: 4.15.0 +## +{'type': 'VmGraphicsDevice', + 'data': {'deviceType': 'VmDeviceType', 'device': 'VmGraphicsDeviceType', + 'specParams': 'VmGraphicsDeviceSpecParams'}} ## # @VmSoundDeviceType: @@ -3000,7 +3058,7 @@ 'union': ['VmDiskDevice', 'VmInterfaceDevice', 'VmVideoDevice', 'VmSoundDevice', 'VmControllerDevice', 'VmBalloonDevice', 'VmChannelDevice', 'VmWatchdogDevice', 'VmConsoleDevice', - 'VmSmartcardDevice']} + 'VmSmartcardDevice', 'VmGraphicsDevice']} ## # @VmShortStatus: -- To view, visit http://gerrit.ovirt.org/26893 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If7e770e87349d9dbab328809b38596947618515c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
