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

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@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@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkaplan@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpastern@redhat.com>
participants (1)
-
alkaplan@redhat.com