Change in ovirt-engine[master]: restapi: Fix the command params for SRIOV related commands

masayag at redhat.com masayag at redhat.com
Sun Jan 3 22:50:29 UTC 2016


Moti Asayag has submitted this change and it was merged.

Change subject: restapi: Fix the command params for SRIOV related commands
......................................................................


restapi: Fix the command params for SRIOV related commands

* Send proper parameters from REST API code to AddVfsConfigLabel
and AddVfsConfigLabel commands.
* AddVfsConfigLabelCommand returns the label it has created,
so it could be loaded by REST code back.

Change-Id: Icad91b6b1d6e8ec3c7834776fd677fd4785c77a3
Bug-Url: https://bugzilla.redhat.com/1295198
Signed-off-by: Yevgeny Zaspitsky <yzaspits at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/AddVfsConfigLabelCommand.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVirtualFunctionAllowedLabelsResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVirtualFunctionAllowedNetworkResource.java
3 files changed, 6 insertions(+), 4 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Moti Asayag: Looks good to me, approved
  Yevgeny Zaspitsky: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icad91b6b1d6e8ec3c7834776fd677fd4785c77a3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list