Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Fix optional parameters of add template
......................................................................

restapi: Fix optional parameters of add template

The operation to add a template accepts the cluster name and id as
optional parameters, but they aren't documented in the metadata, thus
they aren't available in the CLI.

Change-Id: I612da88a8de940f635cf11efd7bafb0a5ea9f17f
Bug-Url: https://bugzilla.redhat.com/1109548
Signed-off-by: Juan Hernandez <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/33/29933/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
index a2408c1..cf00372 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
@@ -3721,6 +3721,8 @@
           template.serial_number.policy: xs:string
           template.serial_number.value: xs:string
           template.bios.boot_menu.enabled: xs:boolean
+          template.cluster.id: xs:string
+          template.cluster.name: xs:string
         description: add a new template to the system
     urlparams: {}
     headers:


-- 
To view, visit http://gerrit.ovirt.org/29933
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I612da88a8de940f635cf11efd7bafb0a5ea9f17f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to