Change in vdsm[master]: schema: remove unused types

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Mon Feb 15 12:10:22 UTC 2016


Piotr Kliczewski has uploaded a new change for review.

Change subject: schema: remove unused types
......................................................................

schema: remove unused types


Change-Id: I1e5ad34cce60feb18f0e8a481b3105b4ff9825cb
Signed-off-by: pkliczewski <piotr.kliczewski at gmail.com>
---
M lib/api/vdsmapi-schema.json
1 file changed, 0 insertions(+), 162 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/21/53521/1

diff --git a/lib/api/vdsmapi-schema.json b/lib/api/vdsmapi-schema.json
index 69a6802..7368715 100644
--- a/lib/api/vdsmapi-schema.json
+++ b/lib/api/vdsmapi-schema.json
@@ -44,37 +44,6 @@
 {'alias': 'UUID', 'data': 'str'}
 
 ##
-# @NetworkOptions:
-#
-# Detailed network configuration options.
-#
-# @ipaddr:          #optional Assign this static IP address to the interface
-#
-# @netmask:         #optional The netmask of this subnet
-#
-# @gateway:         #optional IP address of the network gateway
-#
-# @bootproto:       #optional Interface autoconfiguration protocol (typically
-#                   'dhcp' or 'none')
-#
-# @blockingdhcp:    #optional whether ifaces that have 'dhcp' as bootproto
-#                   should wait to get an address before returning creation
-#                   success. If not set, the default is False.
-#
-# @bondingOptions:  #optional A string of space-separated <option>=<value>
-#                   pairs
-#
-# @hostQos:         #optional Host networking QoS params.
-#
-# Since: 4.10.0
-##
-{'type': 'NetworkOptions',
- 'data': {'*ipaddr': 'str', '*netmask': 'str', '*gateway': 'str',
-          '*bootproto': 'str', '*bondingOptions', 'str',
-          '*blockingdhcp': 'bool',
-          '*hostQos': 'HostQoSParams'}}
-
-##
 # @SetupNetworkNetAttributes:
 #
 # Configuration attributes for a single host network.
@@ -3344,74 +3313,6 @@
           'address': 'VmDeviceAddress', 'alias': 'str', 'deviceId': 'UUID'}}
 
 ##
-# @VmTpmDeviceMode:
-#
-# An enumeration of VM tpm device types.
-#
-# @passthrough:     use hosts TPM
-#
-# Since: 4.15.0
-##
-{'enum': 'VmTpmDeviceMode', 'data': ['passthrough']}
-
-##
-# @VmTpmDeviceModel:
-#
-# An enumeration of VM tpm device modes.
-#
-# @tpm-tis: TPM Interface Standard
-#
-# Since: 4.15.0
-##
-{'enum': 'VmTpmDeviceModel', 'data': ['tpm-tis']}
-
-##
-# @VmTpmDeviceType:
-#
-# An enumeration of VM tpm device types.
-#
-# @tpm: A tpm
-#
-# Since: 4.15.0
-##
-{'enum': 'VmTpmDeviceType', 'data': ['tpm']}
-
-##
-# @VmTpmDeviceSpecParams:
-#
-# Additional VM tpm device parameters.
-#
-# @mode:      Protocol used by tpmdevice
-#
-# @model:     Model of TPM device
-#
-# @path:      Path to hosts device TPM
-#
-# Since: 4.15.0
-##
-{'type': 'VmTpmDeviceSpecParams',
- 'data': {'model': 'VmTpmDeviceModel',
-          'path': 'str',
-          'mode': 'VmTpmDeviceMode'}}
-
-##
-# @VmTpmDevice:
-#
-# Properties of a VM tpm device.
-#
-# @deviceType:  The device type (always @tpm)
-#
-# @device:      The type of tpm device
-#
-# @specParams:  Additional device parameters
-#
-# Since: 4.15.0
-##
-{'type': 'VmTpmDevice',
- 'data': {'deviceType': 'VmDeviceType', 'device': 'VmTpmDeviceType',
-          'specParams': 'VmTpmDeviceSpecParams'}}
-
-##
 # @VmSmartcardDeviceProtocol:
 #
 # An enumeration of VM smartcard device protocols.
@@ -3485,30 +3386,6 @@
           'specParams': 'VmSmartcardDeviceSpecParams'}}
 
 ##
-# @VmRngDeviceType:
-#
-# An enumeration of VM rng device types
-#
-# @virtio:  supported by qemu and virtio-rng kernel module
-#
-# Since: 4.17.0
-##
-{'enum': 'VmRngDeviceType',
- 'data': ['virtio']}
-
-##
-# @VmRngDeviceModel:
-#
-# An enumeration of VM rng device models
-#
-# @virtio:  supported by qemu and virtio-rng kernel module
-#
-# Since: 4.14.0
-##
-{'enum': 'VmRngDeviceModel',
- 'data': ['virtio']}
-
-##
 # @VmRngDeviceSource:
 #
 # An enumeration of VM rng device models
@@ -3521,45 +3398,6 @@
 ##
 {'enum': 'VmRngDeviceSource',
  'data': ['random', 'hwrng']}
-
-##
-# @VmRngDeviceSpecParams:
-#
-# An enumeration of VM rng device models
-#
-# @bytes:           #optional Maximum number of bytes consumed per
-#                   period
-#
-# @period:          #optional Required if @bytes are set
-#                   Limits the rate of entropy consumption
-#                   from source
-#
-# @source:          Entropy source
-#
-# Since: 4.14.0
-##
-{'type': 'VmRngDeviceSpecParams',
- 'data': {'*bytes': 'int', '*period': 'int', 'source': 'VmRngDeviceSource'}}
-
-##
-# @VmRngDevice:
-#
-# Properties of a VM rng device.
-#
-# @deviceType:  The device type (always @rng)
-#
-# @device:      The type of rng device
-#
-# @model:       The model of rng device
-#
-# @specParams:  Additional device parameters
-#
-# Since: 4.14.0
-##
-{'type': 'VmRngDevice',
- 'data': {'deviceType': 'VmDeviceType', 'device': 'VmRngDeviceType',
-          'model': 'VmRngDeviceModel', 'specParams': 'VmRngDeviceSpecParams'}}
-
 
 ##
 # @VmConsoleDeviceType:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e5ad34cce60feb18f0e8a481b3105b4ff9825cb
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>


More information about the vdsm-patches mailing list