summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2/floating_ip_pool.py
diff options
context:
space:
mode:
authorDongcan Ye <hellochosen@gmail.com>2018-02-22 09:25:32 +0000
committerDongcan Ye <hellochosen@gmail.com>2018-04-08 11:37:42 +0000
commitea89065dabf92c2684e55c4b37c7be9b667cfa1e (patch)
tree443a3c6d4431b4b3e49b46f65f8948db2c3f937b /openstackclient/network/v2/floating_ip_pool.py
parent7505831e813bf2dc90361930f2837e77e376768f (diff)
downloadpython-openstackclient-ea89065dabf92c2684e55c4b37c7be9b667cfa1e.tar.gz
Remove deprecated ip floating commands
We had already implemented floating ip(pool) commands more than two cycles, we can remove those deprecated commands. Change-Id: Ib98a7403a63bb0c48c03de4c79795737de2aa84c
Diffstat (limited to 'openstackclient/network/v2/floating_ip_pool.py')
-rw-r--r--openstackclient/network/v2/floating_ip_pool.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/openstackclient/network/v2/floating_ip_pool.py b/openstackclient/network/v2/floating_ip_pool.py
index ebb15da8..32852004 100644
--- a/openstackclient/network/v2/floating_ip_pool.py
+++ b/openstackclient/network/v2/floating_ip_pool.py
@@ -13,7 +13,6 @@
"""Floating IP Pool action implementations"""
-import logging
from osc_lib import exceptions
from osc_lib import utils
@@ -40,27 +39,3 @@ class ListFloatingIPPool(common.NetworkAndComputeLister):
(utils.get_dict_properties(
s, columns,
) for s in data))
-
-
-class ListIPFloatingPool(ListFloatingIPPool):
- _description = _("List pools of floating IP addresses")
-
- # TODO(tangchen): Remove this class and ``ip floating pool list`` command
- # two cycles after Mitaka.
-
- # This notifies cliff to not display the help for this command
- deprecated = True
-
- log = logging.getLogger('deprecated')
-
- def take_action_network(self, client, parsed_args):
- self.log.warning(_('This command has been deprecated. '
- 'Please use "floating ip pool list" instead.'))
- return super(ListIPFloatingPool, self).take_action_network(
- client, parsed_args)
-
- def take_action_compute(self, client, parsed_args):
- self.log.warning(_('This command has been deprecated. '
- 'Please use "floating ip pool list" instead.'))
- return super(ListIPFloatingPool, self).take_action_compute(
- client, parsed_args)