Merge "Deprecate OpenContrail support"
This commit is contained in:
commit
f7184475b0
@ -13,6 +13,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
import warnings
|
||||||
|
|
||||||
from urllib import parse as urlparse
|
from urllib import parse as urlparse
|
||||||
|
|
||||||
@ -57,6 +58,11 @@ class OpencontrailDriver(driver.Driver):
|
|||||||
opencontrail://localhost:8081/?resource=fip_stats_list&
|
opencontrail://localhost:8081/?resource=fip_stats_list&
|
||||||
virtual_network=default-domain:openstack:public
|
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):
|
def _prepare_cache(self, endpoint, params, cache):
|
||||||
|
|
||||||
if 'network.statistics.opencontrail' in cache:
|
if 'network.statistics.opencontrail' in cache:
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user