Juan Hernandez has uploaded a new change for review. Change subject: restapi: Support link to multiple VMs from devices ......................................................................
restapi: Support link to multiple VMs from devices This patch adds a new "vms" element to the base type used for devices. It is intended to gradually replace the existing "vm" element, as this supports only one virtual machine, but devices like disks can be in use by multiple VMs. Change-Id: Ia08f6bc5f6c3998e77017f164b5bba237a3319da Related-To: https://bugzilla.redhat.com/1132502 Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd 1 file changed, 8 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/95/34695/1 diff --git a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd index 10b7170..148c7a0f 100644 --- a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd +++ b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd @@ -3396,8 +3396,15 @@ <xs:complexContent> <xs:extension base="BaseResource"> <xs:sequence> - <xs:element ref="vm" minOccurs="0" maxOccurs="1"/> <xs:element ref="template" minOccurs="0" maxOccurs="1"/> + <!-- Rerefences to the virtual machines that are using this + device (a device may be used by several virtual machines, + for example a shared disk my be used by two or more + virtual machines simultaneously): --> + <xs:element ref="vms" minOccurs="0" maxOccurs="1"/> + + <!-- Don't use this element, use "vms" instead: --> + <xs:element ref="vm" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:extension> </xs:complexContent> -- To view, visit http://gerrit.ovirt.org/34695 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia08f6bc5f6c3998e77017f164b5bba237a3319da Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches