Deprecate OpenDaylight support
The networking-odl project[1] has been retired because of inactivity, and we no longer expect that any user may use OpenDaylight as network backend of their OpenStack cluster. [1] https://opendev.org/openstack/networking-odl Change-Id: Ie70ffbc20d936a3f4cc2eb37bf7e3dce865a3191
This commit is contained in:
parent
ad2c9900bd
commit
a92d77b182
@ -13,6 +13,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from urllib import parse as urlparse
|
from urllib import parse as urlparse
|
||||||
|
|
||||||
@ -77,6 +79,11 @@ class OpenDayLightDriver(driver.Driver):
|
|||||||
http://127.0.0.1:8080/controller/nb/v2/statistics/default/flow
|
http://127.0.0.1:8080/controller/nb/v2/statistics/default/flow
|
||||||
http://127.0.0.1:8080/controller/nb/v2/statistics/egg/flow
|
http://127.0.0.1:8080/controller/nb/v2/statistics/egg/flow
|
||||||
"""
|
"""
|
||||||
|
def __init__(self, conf):
|
||||||
|
warnings.warn('Support for OpenDaylight is deprecated.',
|
||||||
|
category=DeprecationWarning, stacklevel=3)
|
||||||
|
super(OpenDayLightDriver, self).__init__(conf)
|
||||||
|
|
||||||
def _prepare_cache(self, endpoint, params, cache):
|
def _prepare_cache(self, endpoint, params, cache):
|
||||||
|
|
||||||
if 'network.statistics.opendaylight' in cache:
|
if 'network.statistics.opendaylight' in cache:
|
||||||
|
5
releasenotes/notes/deprecate-odl-07e3f59165612566.yaml
Normal file
5
releasenotes/notes/deprecate-odl-07e3f59165612566.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Support for OpenDaylight has been deprecated and will be removed in
|
||||||
|
a future release.
|
Loading…
Reference in New Issue
Block a user