Change in ovirt-engine[master]: restapi: Activate/Deactivate vnic should use edit

alkaplan at redhat.com alkaplan at redhat.com
Mon Dec 31 11:52:57 UTC 2012


Alona Kaplan has submitted this change and it was merged.

Change subject: restapi: Activate/Deactivate vnic should use edit
......................................................................


restapi: Activate/Deactivate vnic should use edit

As part of the Network Linking feature-
backend ActivateDeactivateVmNicCommand should become internal.
Plugging/Unplugging the nic will be done through the edit.

In order to keep backward compatibility in the rest, we keep the activate/
deactivate actions and deprecate them.
Their implementation is changed to use "edit" instead of
"ActivateDeactivateVmNicCommand"

Change-Id: Id6ac3ff0bf6c49aaea8dc589ca5da6495feb2d5b
Signed-off-by: Alona Kaplan <alkaplan at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/resource/VmNicResource.java
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata_v-3.1.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResource.java
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java
4 files changed, 54 insertions(+), 11 deletions(-)

Approvals:
  Alona Kaplan: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id6ac3ff0bf6c49aaea8dc589ca5da6495feb2d5b
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>



More information about the Engine-commits mailing list