Deprecate support for Neutron FWaaS
... because the Neutron FWaaS project was already retired. Change-Id: I678fa793ed1c325e7f1f4df25cd6ad9fd384f2a9
This commit is contained in:
parent
4d2ad5bc7a
commit
dc5dd89152
@ -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 ceilometer.i18n import _
|
from ceilometer.i18n import _
|
||||||
@ -32,6 +34,13 @@ class FirewallPollster(base.BaseServicesPollster):
|
|||||||
'firewall_policy_id',
|
'firewall_policy_id',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def __init__(self, conf):
|
||||||
|
super(FirewallPollster, self).__init__(conf)
|
||||||
|
|
||||||
|
warnings.warn('Support for Neutron FWaaS has been deprecated '
|
||||||
|
'and will be removed in a future release.',
|
||||||
|
category=DeprecationWarning, stacklevel=3)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def default_discovery(self):
|
def default_discovery(self):
|
||||||
return 'fw_services'
|
return 'fw_services'
|
||||||
@ -72,6 +81,13 @@ class FirewallPolicyPollster(base.BaseServicesPollster):
|
|||||||
'audited',
|
'audited',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def __init__(self, conf):
|
||||||
|
super(FirewallPolicyPollster, self).__init__(conf)
|
||||||
|
|
||||||
|
warnings.warn('Support for Neutron FWaaS has been deprecated '
|
||||||
|
'and will be removed in a future release.',
|
||||||
|
category=DeprecationWarning, stacklevel=3)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def default_discovery(self):
|
def default_discovery(self):
|
||||||
return 'fw_policy'
|
return 'fw_policy'
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Support for Neutron FWaaS has been officially deprecated. The feature has
|
||||||
|
been useless since the Neutron FWaaS project was retired.
|
Loading…
Reference in New Issue
Block a user