summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/floatingip.py
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2013-07-11 22:40:24 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2013-07-12 11:07:33 -0500
commit1a0d5ccc68f65394292992b48afe20241e89e7b8 (patch)
treee28cadeb264d0b2701bc20ea5ef2d636ef991cec /openstackclient/compute/v2/floatingip.py
parentf0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff)
downloadpython-openstackclient-1a0d5ccc68f65394292992b48afe20241e89e7b8.tar.gz
Remove api = apiName calls from each method
As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
Diffstat (limited to 'openstackclient/compute/v2/floatingip.py')
-rw-r--r--openstackclient/compute/v2/floatingip.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/compute/v2/floatingip.py b/openstackclient/compute/v2/floatingip.py
index 5a4b5f9a..1b07beb3 100644
--- a/openstackclient/compute/v2/floatingip.py
+++ b/openstackclient/compute/v2/floatingip.py
@@ -27,7 +27,6 @@ from openstackclient.common import utils
class AddFloatingIP(command.Command):
"""Add floating-ip command"""
- api = "compute"
log = logging.getLogger(__name__ + ".AddFloatingIP")
def get_parser(self, prog_name):
@@ -58,7 +57,6 @@ class AddFloatingIP(command.Command):
class CreateFloatingIP(show.ShowOne):
"""Create floating-ip command"""
- api = 'compute'
log = logging.getLogger(__name__ + '.CreateFloatingIP')
def get_parser(self, prog_name):
@@ -83,7 +81,6 @@ class CreateFloatingIP(show.ShowOne):
class DeleteFloatingIP(command.Command):
"""Delete floating-ip command"""
- api = 'compute'
log = logging.getLogger(__name__ + '.DeleteFloatingIP')
def get_parser(self, prog_name):
@@ -111,7 +108,6 @@ class DeleteFloatingIP(command.Command):
class ListFloatingIP(lister.Lister):
"""List floating-ip command"""
- api = 'compute'
log = logging.getLogger(__name__ + '.ListFloatingIP')
def take_action(self, parsed_args):
@@ -132,7 +128,6 @@ class ListFloatingIP(lister.Lister):
class RemoveFloatingIP(command.Command):
"""Remove floating-ip command"""
- api = "compute"
log = logging.getLogger(__name__ + ".RemoveFloatingIP")
def get_parser(self, prog_name):