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:
Takashi Kajinami 2023-12-15 11:11:25 +09:00
parent ad2c9900bd
commit a92d77b182
2 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
import warnings
from oslo_log import log
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/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):
if 'network.statistics.opendaylight' in cache:

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Support for OpenDaylight has been deprecated and will be removed in
a future release.