Merge "Deprecate OpenContrail support"

This commit is contained in:
Zuul 2023-12-20 11:13:06 +00:00 committed by Gerrit Code Review
commit f7184475b0
2 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,7 @@
# under the License.
import re
import warnings
from urllib import parse as urlparse
@ -57,6 +58,11 @@ class OpencontrailDriver(driver.Driver):
opencontrail://localhost:8081/?resource=fip_stats_list&
virtual_network=default-domain:openstack:public
"""
def __init__(self, conf):
warnings.warn('Support for OpenContrail is deprecated.',
category=DeprecationWarning, stacklevel=3)
super(OpencontrailDriver, self).__init__(conf)
def _prepare_cache(self, endpoint, params, cache):
if 'network.statistics.opencontrail' in cache:

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
Support for OpenContrail, which is currently known as Tungsten Fabric, has
been deprecated and will be removed in a future release.