Bug 1277495 - remove the pre-3.6 setupnetworks api
Summary: remove the pre-3.6 setupnetworks api
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Martin Mucha
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-03 13:19 UTC by Martin Mucha
Modified: 2016-07-05 08:03 UTC (History)
6 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 08:03:42 UTC
oVirt Team: Network
rule-engine: ovirt-4.0.0+
pstehlik: testing_plan_complete-
rule-engine: planning_ack+
danken: devel_ack+
myakove: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54076 0 master ABANDONED restapi: remove 3.0 API (attach,detach,update,bond manipulations) and 3.2 SetupNetworksCommand 2016-03-23 11:31:45 UTC
oVirt gerrit 54367 0 master MERGED Remove setupNetworks command 2016-03-08 18:06:22 UTC
oVirt gerrit 54409 0 master ABANDONED core: setupNetworkSupported—>hostSetupNetworkSupported 2016-03-16 14:02:58 UTC
oVirt gerrit 54410 0 master ABANDONED restapi: Remove SetupNetworksCommand 2016-03-10 14:03:17 UTC
oVirt gerrit 54411 0 master MERGED core: remove SetupNetworksCommand and friends. 2016-03-23 12:19:33 UTC
oVirt gerrit 54412 0 master MERGED core: remove legacy support from HostNetworkAttachmentsPersister 2016-03-23 12:24:08 UTC

Description Martin Mucha 2015-11-03 13:19:11 UTC
Description of problem:
Currently we support three ways to do certain tasks, for example detaching network, breaking bond etc. The oldest one is quite buggy and it's not worthy to have it in code base if it's not even maintained any more.

Comment 1 Martin Mucha 2015-11-03 13:36:55 UTC
*** Bug 1277496 has been marked as a duplicate of this bug. ***

Comment 2 Dan Kenigsberg 2015-11-05 14:26:36 UTC
Juan, would you guide us how to mark an existing API as deprecated?

Comment 3 Red Hat Bugzilla Rules Engine 2015-11-05 14:26:40 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Juan Hernández 2015-11-05 14:40:09 UTC
The old "setupnetworks" action is already marked as deprecated in 3.6:

  https://github.com/oVirt/ovirt-engine/commit/d269e5f0552f99c9b70b95456a9f481be8c795e9#diff-3205c1e6ccdb0cbdefc9e4392d9feb9cR2094

The next logical step is to remove it completely for the master branch. To do so remove it and update this file:

  https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/restapi/README.md

If possible include there instructions on how to to migrate from the old action to the new one. The more detailed the better.

Comment 5 Sandro Bonazzola 2016-07-05 08:03:42 UTC
oVirt 4.0.0 has been released, closing current release.


Note You need to log in before you can comment on or make changes to this bug.