Martin Polednik has uploaded a new change for review.

Change subject: storage: add 'str' to DriveSpec
......................................................................

storage: add 'str' to DriveSpec

Engine sends DriveSpec as a string at least one case: changeCD. Since
we have to be api compliant with older engines, we have to add this
case to the API.

Change-Id: Ieee7df14b0b49ea844f17711b6621e025d9df4bf
Signed-off-by: Martin Polednik <[email protected]>
---
M lib/api/vdsm-api.yml
M lib/api/vdsmapi-schema.json
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/57339/1

diff --git a/lib/api/vdsm-api.yml b/lib/api/vdsm-api.yml
index 81d86b3..5ec83c4 100644
--- a/lib/api/vdsm-api.yml
+++ b/lib/api/vdsm-api.yml
@@ -749,6 +749,7 @@
         - *DriveSpecGUID
         - *DriveSpecPayload
         - *DriveSpecPath
+        - string
 
     ErrorInfo: &ErrorInfo
         added: '4.0'
diff --git a/lib/api/vdsmapi-schema.json b/lib/api/vdsmapi-schema.json
index c2da818..5326a93 100644
--- a/lib/api/vdsmapi-schema.json
+++ b/lib/api/vdsmapi-schema.json
@@ -6482,7 +6482,7 @@
 {'type': 'DriveSpec',
  'data': {},
  'union': ['DriveSpecVolume', 'DriveSpecGUID', 'DriveSpecPayload',
-           'DriveSpecPath']}
+           'DriveSpecPath', 'str']}
 
 ##
 # @VM.changeCD:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieee7df14b0b49ea844f17711b6621e025d9df4bf
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to