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
This commit is contained in:
parent
f0d3bf85d8
commit
1a0d5ccc68
@ -1,29 +0,0 @@
|
|||||||
# Copyright 2012-2013 OpenStack, LLC.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
||||||
# not use this file except in compliance with the License. You may obtain
|
|
||||||
# a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
# License for the specific language governing permissions and limitations
|
|
||||||
# under the License.
|
|
||||||
#
|
|
||||||
|
|
||||||
"""OpenStack base command"""
|
|
||||||
|
|
||||||
from cliff import command
|
|
||||||
|
|
||||||
|
|
||||||
class OpenStackCommand(command.Command):
|
|
||||||
"""Base class for OpenStack commands."""
|
|
||||||
api = None
|
|
||||||
|
|
||||||
def run(self, parsed_args):
|
|
||||||
if not self.api:
|
|
||||||
return
|
|
||||||
else:
|
|
||||||
return super(OpenStackCommand, self).run(parsed_args)
|
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class CreateAgent(show.ShowOne):
|
class CreateAgent(show.ShowOne):
|
||||||
"""Create agent command"""
|
"""Create agent command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".CreateAgent")
|
log = logging.getLogger(__name__ + ".CreateAgent")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -77,7 +76,6 @@ class CreateAgent(show.ShowOne):
|
|||||||
class DeleteAgent(command.Command):
|
class DeleteAgent(command.Command):
|
||||||
"""Delete agent command"""
|
"""Delete agent command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".DeleteAgent")
|
log = logging.getLogger(__name__ + ".DeleteAgent")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -98,7 +96,6 @@ class DeleteAgent(command.Command):
|
|||||||
class ListAgent(lister.Lister):
|
class ListAgent(lister.Lister):
|
||||||
"""List agent command"""
|
"""List agent command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListAgent")
|
log = logging.getLogger(__name__ + ".ListAgent")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -131,7 +128,6 @@ class ListAgent(lister.Lister):
|
|||||||
class SetAgent(show.ShowOne):
|
class SetAgent(show.ShowOne):
|
||||||
"""Set agent command"""
|
"""Set agent command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".SetAgent")
|
log = logging.getLogger(__name__ + ".SetAgent")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class ShowConsoleLog(command.Command):
|
class ShowConsoleLog(command.Command):
|
||||||
"""Show console-log command"""
|
"""Show console-log command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowConsoleLog')
|
log = logging.getLogger(__name__ + '.ShowConsoleLog')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -65,7 +64,6 @@ class ShowConsoleLog(command.Command):
|
|||||||
class ShowConsoleURL(show.ShowOne):
|
class ShowConsoleURL(show.ShowOne):
|
||||||
"""Show console-url command"""
|
"""Show console-url command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowConsoleURL')
|
log = logging.getLogger(__name__ + '.ShowConsoleURL')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -25,7 +25,6 @@ from openstackclient.common import utils
|
|||||||
class AddFixedIP(command.Command):
|
class AddFixedIP(command.Command):
|
||||||
"""Add fixed-ip command"""
|
"""Add fixed-ip command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".AddFixedIP")
|
log = logging.getLogger(__name__ + ".AddFixedIP")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -59,7 +58,6 @@ class AddFixedIP(command.Command):
|
|||||||
class RemoveFixedIP(command.Command):
|
class RemoveFixedIP(command.Command):
|
||||||
"""Remove fixed-ip command"""
|
"""Remove fixed-ip command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".RemoveFixedIP")
|
log = logging.getLogger(__name__ + ".RemoveFixedIP")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class CreateFlavor(show.ShowOne):
|
class CreateFlavor(show.ShowOne):
|
||||||
"""Create flavor command"""
|
"""Create flavor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".CreateFlavor")
|
log = logging.getLogger(__name__ + ".CreateFlavor")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -117,7 +116,6 @@ class CreateFlavor(show.ShowOne):
|
|||||||
class DeleteFlavor(command.Command):
|
class DeleteFlavor(command.Command):
|
||||||
"""Delete flavor command"""
|
"""Delete flavor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".DeleteFlavor")
|
log = logging.getLogger(__name__ + ".DeleteFlavor")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -140,7 +138,6 @@ class DeleteFlavor(command.Command):
|
|||||||
class ListFlavor(lister.Lister):
|
class ListFlavor(lister.Lister):
|
||||||
"""List flavor command"""
|
"""List flavor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListFlavor")
|
log = logging.getLogger(__name__ + ".ListFlavor")
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -168,7 +165,6 @@ class ListFlavor(lister.Lister):
|
|||||||
class ShowFlavor(show.ShowOne):
|
class ShowFlavor(show.ShowOne):
|
||||||
"""Show flavor command"""
|
"""Show flavor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ShowFlavor")
|
log = logging.getLogger(__name__ + ".ShowFlavor")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class AddFloatingIP(command.Command):
|
class AddFloatingIP(command.Command):
|
||||||
"""Add floating-ip command"""
|
"""Add floating-ip command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".AddFloatingIP")
|
log = logging.getLogger(__name__ + ".AddFloatingIP")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -58,7 +57,6 @@ class AddFloatingIP(command.Command):
|
|||||||
class CreateFloatingIP(show.ShowOne):
|
class CreateFloatingIP(show.ShowOne):
|
||||||
"""Create floating-ip command"""
|
"""Create floating-ip command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateFloatingIP')
|
log = logging.getLogger(__name__ + '.CreateFloatingIP')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -83,7 +81,6 @@ class CreateFloatingIP(show.ShowOne):
|
|||||||
class DeleteFloatingIP(command.Command):
|
class DeleteFloatingIP(command.Command):
|
||||||
"""Delete floating-ip command"""
|
"""Delete floating-ip command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteFloatingIP')
|
log = logging.getLogger(__name__ + '.DeleteFloatingIP')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -111,7 +108,6 @@ class DeleteFloatingIP(command.Command):
|
|||||||
class ListFloatingIP(lister.Lister):
|
class ListFloatingIP(lister.Lister):
|
||||||
"""List floating-ip command"""
|
"""List floating-ip command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ListFloatingIP')
|
log = logging.getLogger(__name__ + '.ListFloatingIP')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -132,7 +128,6 @@ class ListFloatingIP(lister.Lister):
|
|||||||
class RemoveFloatingIP(command.Command):
|
class RemoveFloatingIP(command.Command):
|
||||||
"""Remove floating-ip command"""
|
"""Remove floating-ip command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".RemoveFloatingIP")
|
log = logging.getLogger(__name__ + ".RemoveFloatingIP")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -25,7 +25,6 @@ from openstackclient.common import utils
|
|||||||
class ListFloatingIPPool(lister.Lister):
|
class ListFloatingIPPool(lister.Lister):
|
||||||
"""List floating-ip-pool command"""
|
"""List floating-ip-pool command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ListFloatingIPPool')
|
log = logging.getLogger(__name__ + '.ListFloatingIPPool')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
|
@ -25,7 +25,6 @@ from openstackclient.common import utils
|
|||||||
class ListHost(lister.Lister):
|
class ListHost(lister.Lister):
|
||||||
"""List host command"""
|
"""List host command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListHost")
|
log = logging.getLogger(__name__ + ".ListHost")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -54,7 +53,6 @@ class ListHost(lister.Lister):
|
|||||||
class ShowHost(lister.Lister):
|
class ShowHost(lister.Lister):
|
||||||
"""Show host command"""
|
"""Show host command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ShowHost")
|
log = logging.getLogger(__name__ + ".ShowHost")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -26,7 +26,6 @@ from openstackclient.common import utils
|
|||||||
class ListHypervisor(lister.Lister):
|
class ListHypervisor(lister.Lister):
|
||||||
"""List hypervisor command"""
|
"""List hypervisor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListHypervisor")
|
log = logging.getLogger(__name__ + ".ListHypervisor")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -60,7 +59,6 @@ class ListHypervisor(lister.Lister):
|
|||||||
class ShowHypervisor(show.ShowOne):
|
class ShowHypervisor(show.ShowOne):
|
||||||
"""Show hypervisor command"""
|
"""Show hypervisor command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ShowHypervisor")
|
log = logging.getLogger(__name__ + ".ShowHypervisor")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -30,7 +30,6 @@ from openstackclient.common import utils
|
|||||||
class CreateKeypair(show.ShowOne):
|
class CreateKeypair(show.ShowOne):
|
||||||
"""Create keypair command"""
|
"""Create keypair command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + '.CreateKeypair')
|
log = logging.getLogger(__name__ + '.CreateKeypair')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -81,7 +80,6 @@ class CreateKeypair(show.ShowOne):
|
|||||||
class DeleteKeypair(command.Command):
|
class DeleteKeypair(command.Command):
|
||||||
"""Delete keypair command"""
|
"""Delete keypair command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteKeypair')
|
log = logging.getLogger(__name__ + '.DeleteKeypair')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -103,7 +101,6 @@ class DeleteKeypair(command.Command):
|
|||||||
class ListKeypair(lister.Lister):
|
class ListKeypair(lister.Lister):
|
||||||
"""List keypair command"""
|
"""List keypair command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListKeypair")
|
log = logging.getLogger(__name__ + ".ListKeypair")
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -124,7 +121,6 @@ class ListKeypair(lister.Lister):
|
|||||||
class ShowKeypair(show.ShowOne):
|
class ShowKeypair(show.ShowOne):
|
||||||
"""Show keypair command"""
|
"""Show keypair command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowKeypair')
|
log = logging.getLogger(__name__ + '.ShowKeypair')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -118,7 +118,6 @@ def _wait_for_status(poll_fn, obj_id, final_ok_states, poll_period=5,
|
|||||||
class CreateServer(show.ShowOne):
|
class CreateServer(show.ShowOne):
|
||||||
"""Create server command"""
|
"""Create server command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + '.CreateServer')
|
log = logging.getLogger(__name__ + '.CreateServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -318,7 +317,6 @@ class CreateServer(show.ShowOne):
|
|||||||
class DeleteServer(command.Command):
|
class DeleteServer(command.Command):
|
||||||
"""Delete server command"""
|
"""Delete server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteServer')
|
log = logging.getLogger(__name__ + '.DeleteServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -341,7 +339,6 @@ class DeleteServer(command.Command):
|
|||||||
class ListServer(lister.Lister):
|
class ListServer(lister.Lister):
|
||||||
"""List server command"""
|
"""List server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ListServer')
|
log = logging.getLogger(__name__ + '.ListServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -419,7 +416,6 @@ class ListServer(lister.Lister):
|
|||||||
class PauseServer(command.Command):
|
class PauseServer(command.Command):
|
||||||
"""Pause server command"""
|
"""Pause server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.PauseServer')
|
log = logging.getLogger(__name__ + '.PauseServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -442,7 +438,6 @@ class PauseServer(command.Command):
|
|||||||
class RebootServer(command.Command):
|
class RebootServer(command.Command):
|
||||||
"""Reboot server command"""
|
"""Reboot server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.RebootServer')
|
log = logging.getLogger(__name__ + '.RebootServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -490,7 +485,6 @@ class RebootServer(command.Command):
|
|||||||
class RebuildServer(show.ShowOne):
|
class RebuildServer(show.ShowOne):
|
||||||
"""Rebuild server command"""
|
"""Rebuild server command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + '.RebuildServer')
|
log = logging.getLogger(__name__ + '.RebuildServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -545,7 +539,6 @@ class RebuildServer(show.ShowOne):
|
|||||||
class ResumeServer(command.Command):
|
class ResumeServer(command.Command):
|
||||||
"""Resume server command"""
|
"""Resume server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.ResumeServer')
|
log = logging.getLogger(__name__ + '.ResumeServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -592,7 +585,6 @@ class ShowServer(show.ShowOne):
|
|||||||
class SuspendServer(command.Command):
|
class SuspendServer(command.Command):
|
||||||
"""Suspend server command"""
|
"""Suspend server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.SuspendServer')
|
log = logging.getLogger(__name__ + '.SuspendServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -615,7 +607,6 @@ class SuspendServer(command.Command):
|
|||||||
class UnpauseServer(command.Command):
|
class UnpauseServer(command.Command):
|
||||||
"""Unpause server command"""
|
"""Unpause server command"""
|
||||||
|
|
||||||
api = 'compute'
|
|
||||||
log = logging.getLogger(__name__ + '.UnpauseServer')
|
log = logging.getLogger(__name__ + '.UnpauseServer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -25,7 +25,6 @@ from openstackclient.common import utils
|
|||||||
class ListService(lister.Lister):
|
class ListService(lister.Lister):
|
||||||
"""List service command"""
|
"""List service command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".ListService")
|
log = logging.getLogger(__name__ + ".ListService")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -62,7 +61,6 @@ class ListService(lister.Lister):
|
|||||||
class SetService(lister.Lister):
|
class SetService(lister.Lister):
|
||||||
"""Set service command"""
|
"""Set service command"""
|
||||||
|
|
||||||
api = "compute"
|
|
||||||
log = logging.getLogger(__name__ + ".SetService")
|
log = logging.getLogger(__name__ + ".SetService")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class CreateEC2Creds(show.ShowOne):
|
class CreateEC2Creds(show.ShowOne):
|
||||||
"""Create EC2 credentials"""
|
"""Create EC2 credentials"""
|
||||||
|
|
||||||
api = "identity"
|
|
||||||
log = logging.getLogger(__name__ + ".CreateEC2Creds")
|
log = logging.getLogger(__name__ + ".CreateEC2Creds")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -75,7 +74,6 @@ class CreateEC2Creds(show.ShowOne):
|
|||||||
class DeleteEC2Creds(command.Command):
|
class DeleteEC2Creds(command.Command):
|
||||||
"""Delete EC2 credentials"""
|
"""Delete EC2 credentials"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteEC2Creds')
|
log = logging.getLogger(__name__ + '.DeleteEC2Creds')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -111,7 +109,6 @@ class DeleteEC2Creds(command.Command):
|
|||||||
class ListEC2Creds(lister.Lister):
|
class ListEC2Creds(lister.Lister):
|
||||||
"""List EC2 credentials"""
|
"""List EC2 credentials"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListEC2Creds')
|
log = logging.getLogger(__name__ + '.ListEC2Creds')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -148,7 +145,6 @@ class ListEC2Creds(lister.Lister):
|
|||||||
class ShowEC2Creds(show.ShowOne):
|
class ShowEC2Creds(show.ShowOne):
|
||||||
"""Show EC2 credentials"""
|
"""Show EC2 credentials"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowEC2Creds')
|
log = logging.getLogger(__name__ + '.ShowEC2Creds')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -29,7 +29,6 @@ from openstackclient.common import utils
|
|||||||
class CreateEndpoint(show.ShowOne):
|
class CreateEndpoint(show.ShowOne):
|
||||||
"""Create endpoint command"""
|
"""Create endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateEndpoint')
|
log = logging.getLogger(__name__ + '.CreateEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -78,7 +77,6 @@ class CreateEndpoint(show.ShowOne):
|
|||||||
class DeleteEndpoint(command.Command):
|
class DeleteEndpoint(command.Command):
|
||||||
"""Delete endpoint command"""
|
"""Delete endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteEndpoint')
|
log = logging.getLogger(__name__ + '.DeleteEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -99,7 +97,6 @@ class DeleteEndpoint(command.Command):
|
|||||||
class ListEndpoint(lister.Lister):
|
class ListEndpoint(lister.Lister):
|
||||||
"""List endpoint command"""
|
"""List endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListEndpoint')
|
log = logging.getLogger(__name__ + '.ListEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -136,7 +133,6 @@ class ListEndpoint(lister.Lister):
|
|||||||
class ShowEndpoint(show.ShowOne):
|
class ShowEndpoint(show.ShowOne):
|
||||||
"""Show endpoint command"""
|
"""Show endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowEndpoint')
|
log = logging.getLogger(__name__ + '.ShowEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class AddRole(show.ShowOne):
|
class AddRole(show.ShowOne):
|
||||||
"""Add role to tenant:user"""
|
"""Add role to tenant:user"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.AddRole')
|
log = logging.getLogger(__name__ + '.AddRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -68,7 +67,6 @@ class AddRole(show.ShowOne):
|
|||||||
class CreateRole(show.ShowOne):
|
class CreateRole(show.ShowOne):
|
||||||
"""Create new role"""
|
"""Create new role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateRole')
|
log = logging.getLogger(__name__ + '.CreateRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -92,7 +90,6 @@ class CreateRole(show.ShowOne):
|
|||||||
class DeleteRole(command.Command):
|
class DeleteRole(command.Command):
|
||||||
"""Delete existing role"""
|
"""Delete existing role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteRole')
|
log = logging.getLogger(__name__ + '.DeleteRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -114,7 +111,6 @@ class DeleteRole(command.Command):
|
|||||||
class ListRole(lister.Lister):
|
class ListRole(lister.Lister):
|
||||||
"""List roles"""
|
"""List roles"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListRole')
|
log = logging.getLogger(__name__ + '.ListRole')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -131,7 +127,6 @@ class ListRole(lister.Lister):
|
|||||||
class ListUserRole(lister.Lister):
|
class ListUserRole(lister.Lister):
|
||||||
"""List user-role assignments"""
|
"""List user-role assignments"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListUserRole')
|
log = logging.getLogger(__name__ + '.ListUserRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -181,7 +176,6 @@ class ListUserRole(lister.Lister):
|
|||||||
class RemoveRole(command.Command):
|
class RemoveRole(command.Command):
|
||||||
"""Remove role from tenant:user"""
|
"""Remove role from tenant:user"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.RemoveRole')
|
log = logging.getLogger(__name__ + '.RemoveRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -218,7 +212,6 @@ class RemoveRole(command.Command):
|
|||||||
class ShowRole(show.ShowOne):
|
class ShowRole(show.ShowOne):
|
||||||
"""Show single role"""
|
"""Show single role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowRole')
|
log = logging.getLogger(__name__ + '.ShowRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -29,7 +29,6 @@ from openstackclient.common import utils
|
|||||||
class CreateService(show.ShowOne):
|
class CreateService(show.ShowOne):
|
||||||
"""Create service command"""
|
"""Create service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateService')
|
log = logging.getLogger(__name__ + '.CreateService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -65,7 +64,6 @@ class CreateService(show.ShowOne):
|
|||||||
class DeleteService(command.Command):
|
class DeleteService(command.Command):
|
||||||
"""Delete service command"""
|
"""Delete service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteService')
|
log = logging.getLogger(__name__ + '.DeleteService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -86,7 +84,6 @@ class DeleteService(command.Command):
|
|||||||
class ListService(lister.Lister):
|
class ListService(lister.Lister):
|
||||||
"""List service command"""
|
"""List service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListService')
|
log = logging.getLogger(__name__ + '.ListService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -115,7 +112,6 @@ class ListService(lister.Lister):
|
|||||||
class ShowService(show.ShowOne):
|
class ShowService(show.ShowOne):
|
||||||
"""Show service command"""
|
"""Show service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowService')
|
log = logging.getLogger(__name__ + '.ShowService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateTenant(show.ShowOne):
|
class CreateTenant(show.ShowOne):
|
||||||
"""Create tenant command"""
|
"""Create tenant command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateTenant')
|
log = logging.getLogger(__name__ + '.CreateTenant')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -71,7 +70,6 @@ class CreateTenant(show.ShowOne):
|
|||||||
class DeleteTenant(command.Command):
|
class DeleteTenant(command.Command):
|
||||||
"""Delete tenant command"""
|
"""Delete tenant command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteTenant')
|
log = logging.getLogger(__name__ + '.DeleteTenant')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -94,7 +92,6 @@ class DeleteTenant(command.Command):
|
|||||||
class ListTenant(lister.Lister):
|
class ListTenant(lister.Lister):
|
||||||
"""List tenant command"""
|
"""List tenant command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListTenant')
|
log = logging.getLogger(__name__ + '.ListTenant')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -123,7 +120,6 @@ class ListTenant(lister.Lister):
|
|||||||
class SetTenant(command.Command):
|
class SetTenant(command.Command):
|
||||||
"""Set tenant command"""
|
"""Set tenant command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetTenant')
|
log = logging.getLogger(__name__ + '.SetTenant')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -177,7 +173,6 @@ class SetTenant(command.Command):
|
|||||||
class ShowTenant(show.ShowOne):
|
class ShowTenant(show.ShowOne):
|
||||||
"""Show tenant command"""
|
"""Show tenant command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowTenant')
|
log = logging.getLogger(__name__ + '.ShowTenant')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateUser(show.ShowOne):
|
class CreateUser(show.ShowOne):
|
||||||
"""Create user command"""
|
"""Create user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateUser')
|
log = logging.getLogger(__name__ + '.CreateUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -86,7 +85,6 @@ class CreateUser(show.ShowOne):
|
|||||||
class DeleteUser(command.Command):
|
class DeleteUser(command.Command):
|
||||||
"""Delete user command"""
|
"""Delete user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteUser')
|
log = logging.getLogger(__name__ + '.DeleteUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -108,7 +106,6 @@ class DeleteUser(command.Command):
|
|||||||
class ListUser(lister.Lister):
|
class ListUser(lister.Lister):
|
||||||
"""List user command"""
|
"""List user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListUser')
|
log = logging.getLogger(__name__ + '.ListUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -141,7 +138,6 @@ class ListUser(lister.Lister):
|
|||||||
class SetUser(command.Command):
|
class SetUser(command.Command):
|
||||||
"""Set user command"""
|
"""Set user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetUser')
|
log = logging.getLogger(__name__ + '.SetUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -206,7 +202,6 @@ class SetUser(command.Command):
|
|||||||
class ShowUser(show.ShowOne):
|
class ShowUser(show.ShowOne):
|
||||||
"""Show user command"""
|
"""Show user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowUser')
|
log = logging.getLogger(__name__ + '.ShowUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateCredential(show.ShowOne):
|
class CreateCredential(show.ShowOne):
|
||||||
"""Create credential command"""
|
"""Create credential command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateCredential')
|
log = logging.getLogger(__name__ + '.CreateCredential')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -79,7 +78,6 @@ class CreateCredential(show.ShowOne):
|
|||||||
class DeleteCredential(command.Command):
|
class DeleteCredential(command.Command):
|
||||||
"""Delete credential command"""
|
"""Delete credential command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteCredential')
|
log = logging.getLogger(__name__ + '.DeleteCredential')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -101,7 +99,6 @@ class DeleteCredential(command.Command):
|
|||||||
class ListCredential(lister.Lister):
|
class ListCredential(lister.Lister):
|
||||||
"""List credential command"""
|
"""List credential command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListCredential')
|
log = logging.getLogger(__name__ + '.ListCredential')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -118,7 +115,6 @@ class ListCredential(lister.Lister):
|
|||||||
class SetCredential(command.Command):
|
class SetCredential(command.Command):
|
||||||
"""Set credential command"""
|
"""Set credential command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetCredential')
|
log = logging.getLogger(__name__ + '.SetCredential')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -178,7 +174,6 @@ class SetCredential(command.Command):
|
|||||||
class ShowCredential(show.ShowOne):
|
class ShowCredential(show.ShowOne):
|
||||||
"""Show credential command"""
|
"""Show credential command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowCredential')
|
log = logging.getLogger(__name__ + '.ShowCredential')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateDomain(show.ShowOne):
|
class CreateDomain(show.ShowOne):
|
||||||
"""Create domain command"""
|
"""Create domain command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateDomain')
|
log = logging.getLogger(__name__ + '.CreateDomain')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -72,7 +71,6 @@ class CreateDomain(show.ShowOne):
|
|||||||
class DeleteDomain(command.Command):
|
class DeleteDomain(command.Command):
|
||||||
"""Delete domain command"""
|
"""Delete domain command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteDomain')
|
log = logging.getLogger(__name__ + '.DeleteDomain')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -96,7 +94,6 @@ class DeleteDomain(command.Command):
|
|||||||
class ListDomain(lister.Lister):
|
class ListDomain(lister.Lister):
|
||||||
"""List domain command"""
|
"""List domain command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListDomain')
|
log = logging.getLogger(__name__ + '.ListDomain')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -113,7 +110,6 @@ class ListDomain(lister.Lister):
|
|||||||
class SetDomain(command.Command):
|
class SetDomain(command.Command):
|
||||||
"""Set domain command"""
|
"""Set domain command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetDomain')
|
log = logging.getLogger(__name__ + '.SetDomain')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -172,7 +168,6 @@ class SetDomain(command.Command):
|
|||||||
class ShowDomain(show.ShowOne):
|
class ShowDomain(show.ShowOne):
|
||||||
"""Show domain command"""
|
"""Show domain command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowDomain')
|
log = logging.getLogger(__name__ + '.ShowDomain')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateEndpoint(show.ShowOne):
|
class CreateEndpoint(show.ShowOne):
|
||||||
"""Create endpoint command"""
|
"""Create endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateEndpoint')
|
log = logging.getLogger(__name__ + '.CreateEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -90,7 +89,6 @@ class CreateEndpoint(show.ShowOne):
|
|||||||
class DeleteEndpoint(command.Command):
|
class DeleteEndpoint(command.Command):
|
||||||
"""Delete endpoint command"""
|
"""Delete endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteEndpoint')
|
log = logging.getLogger(__name__ + '.DeleteEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -113,7 +111,6 @@ class DeleteEndpoint(command.Command):
|
|||||||
class ListEndpoint(lister.Lister):
|
class ListEndpoint(lister.Lister):
|
||||||
"""List endpoint command"""
|
"""List endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListEndpoint')
|
log = logging.getLogger(__name__ + '.ListEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -150,7 +147,6 @@ class ListEndpoint(lister.Lister):
|
|||||||
class SetEndpoint(command.Command):
|
class SetEndpoint(command.Command):
|
||||||
"""Set endpoint command"""
|
"""Set endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetEndpoint')
|
log = logging.getLogger(__name__ + '.SetEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -220,7 +216,6 @@ class SetEndpoint(command.Command):
|
|||||||
class ShowEndpoint(show.ShowOne):
|
class ShowEndpoint(show.ShowOne):
|
||||||
"""Show endpoint command"""
|
"""Show endpoint command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowEndpoint')
|
log = logging.getLogger(__name__ + '.ShowEndpoint')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class AddUserToGroup(command.Command):
|
class AddUserToGroup(command.Command):
|
||||||
"""Add user to group"""
|
"""Add user to group"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.AddUserToGroup')
|
log = logging.getLogger(__name__ + '.AddUserToGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -67,7 +66,6 @@ class AddUserToGroup(command.Command):
|
|||||||
class CheckUserInGroup(command.Command):
|
class CheckUserInGroup(command.Command):
|
||||||
"""Checks that user is in a specific group"""
|
"""Checks that user is in a specific group"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CheckUserInGroup')
|
log = logging.getLogger(__name__ + '.CheckUserInGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -106,7 +104,6 @@ class CheckUserInGroup(command.Command):
|
|||||||
class CreateGroup(show.ShowOne):
|
class CreateGroup(show.ShowOne):
|
||||||
"""Create group command"""
|
"""Create group command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateGroup')
|
log = logging.getLogger(__name__ + '.CreateGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -147,7 +144,6 @@ class CreateGroup(show.ShowOne):
|
|||||||
class DeleteGroup(command.Command):
|
class DeleteGroup(command.Command):
|
||||||
"""Delete group command"""
|
"""Delete group command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteGroup')
|
log = logging.getLogger(__name__ + '.DeleteGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -169,7 +165,6 @@ class DeleteGroup(command.Command):
|
|||||||
class ListGroup(lister.Lister):
|
class ListGroup(lister.Lister):
|
||||||
"""List groups and optionally roles assigned to groups"""
|
"""List groups and optionally roles assigned to groups"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListGroup')
|
log = logging.getLogger(__name__ + '.ListGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -279,7 +274,6 @@ class ListGroup(lister.Lister):
|
|||||||
class RemoveUserFromGroup(command.Command):
|
class RemoveUserFromGroup(command.Command):
|
||||||
"""Remove user to group"""
|
"""Remove user to group"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.RemoveUserFromGroup')
|
log = logging.getLogger(__name__ + '.RemoveUserFromGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -318,7 +312,6 @@ class RemoveUserFromGroup(command.Command):
|
|||||||
class SetGroup(command.Command):
|
class SetGroup(command.Command):
|
||||||
"""Set group command"""
|
"""Set group command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetGroup')
|
log = logging.getLogger(__name__ + '.SetGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -365,7 +358,6 @@ class SetGroup(command.Command):
|
|||||||
class ShowGroup(show.ShowOne):
|
class ShowGroup(show.ShowOne):
|
||||||
"""Show group command"""
|
"""Show group command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowGroup')
|
log = logging.getLogger(__name__ + '.ShowGroup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class AuthorizeRequestToken(show.ShowOne):
|
class AuthorizeRequestToken(show.ShowOne):
|
||||||
"""Authorize request token command"""
|
"""Authorize request token command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.AuthorizeRequestToken')
|
log = logging.getLogger(__name__ + '.AuthorizeRequestToken')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -68,7 +67,6 @@ class AuthorizeRequestToken(show.ShowOne):
|
|||||||
class CreateAccessToken(show.ShowOne):
|
class CreateAccessToken(show.ShowOne):
|
||||||
"""Create access token command"""
|
"""Create access token command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateAccessToken')
|
log = logging.getLogger(__name__ + '.CreateAccessToken')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -107,7 +105,6 @@ class CreateAccessToken(show.ShowOne):
|
|||||||
class CreateConsumer(show.ShowOne):
|
class CreateConsumer(show.ShowOne):
|
||||||
"""Create consumer command"""
|
"""Create consumer command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateConsumer')
|
log = logging.getLogger(__name__ + '.CreateConsumer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -133,7 +130,6 @@ class CreateConsumer(show.ShowOne):
|
|||||||
class CreateRequestToken(show.ShowOne):
|
class CreateRequestToken(show.ShowOne):
|
||||||
"""Create request token command"""
|
"""Create request token command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateRequestToken')
|
log = logging.getLogger(__name__ + '.CreateRequestToken')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -164,7 +160,6 @@ class CreateRequestToken(show.ShowOne):
|
|||||||
class DeleteConsumer(command.Command):
|
class DeleteConsumer(command.Command):
|
||||||
"""Delete consumer command"""
|
"""Delete consumer command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteConsumer')
|
log = logging.getLogger(__name__ + '.DeleteConsumer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -188,7 +183,6 @@ class DeleteConsumer(command.Command):
|
|||||||
class ListConsumer(lister.Lister):
|
class ListConsumer(lister.Lister):
|
||||||
"""List consumer command"""
|
"""List consumer command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListConsumer')
|
log = logging.getLogger(__name__ + '.ListConsumer')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -205,7 +199,6 @@ class ListConsumer(lister.Lister):
|
|||||||
class SetConsumer(command.Command):
|
class SetConsumer(command.Command):
|
||||||
"""Set consumer command"""
|
"""Set consumer command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetConsumer')
|
log = logging.getLogger(__name__ + '.SetConsumer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -241,7 +234,6 @@ class SetConsumer(command.Command):
|
|||||||
class ShowConsumer(show.ShowOne):
|
class ShowConsumer(show.ShowOne):
|
||||||
"""Show consumer command"""
|
"""Show consumer command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowConsumer')
|
log = logging.getLogger(__name__ + '.ShowConsumer')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreatePolicy(show.ShowOne):
|
class CreatePolicy(show.ShowOne):
|
||||||
"""Create policy command"""
|
"""Create policy command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreatePolicy')
|
log = logging.getLogger(__name__ + '.CreatePolicy')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -61,7 +60,6 @@ class CreatePolicy(show.ShowOne):
|
|||||||
class DeletePolicy(command.Command):
|
class DeletePolicy(command.Command):
|
||||||
"""Delete policy command"""
|
"""Delete policy command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeletePolicy')
|
log = logging.getLogger(__name__ + '.DeletePolicy')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -83,7 +81,6 @@ class DeletePolicy(command.Command):
|
|||||||
class ListPolicy(lister.Lister):
|
class ListPolicy(lister.Lister):
|
||||||
"""List policy command"""
|
"""List policy command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListPolicy')
|
log = logging.getLogger(__name__ + '.ListPolicy')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -113,7 +110,6 @@ class ListPolicy(lister.Lister):
|
|||||||
class SetPolicy(command.Command):
|
class SetPolicy(command.Command):
|
||||||
"""Set policy command"""
|
"""Set policy command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetPolicy')
|
log = logging.getLogger(__name__ + '.SetPolicy')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -159,7 +155,6 @@ class SetPolicy(command.Command):
|
|||||||
class ShowPolicy(show.ShowOne):
|
class ShowPolicy(show.ShowOne):
|
||||||
"""Show policy command"""
|
"""Show policy command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowPolicy')
|
log = logging.getLogger(__name__ + '.ShowPolicy')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateProject(show.ShowOne):
|
class CreateProject(show.ShowOne):
|
||||||
"""Create project command"""
|
"""Create project command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateProject')
|
log = logging.getLogger(__name__ + '.CreateProject')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -85,7 +84,6 @@ class CreateProject(show.ShowOne):
|
|||||||
class DeleteProject(command.Command):
|
class DeleteProject(command.Command):
|
||||||
"""Delete project command"""
|
"""Delete project command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteProject')
|
log = logging.getLogger(__name__ + '.DeleteProject')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -108,7 +106,6 @@ class DeleteProject(command.Command):
|
|||||||
class ListProject(lister.Lister):
|
class ListProject(lister.Lister):
|
||||||
"""List project command"""
|
"""List project command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListProject')
|
log = logging.getLogger(__name__ + '.ListProject')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -137,7 +134,6 @@ class ListProject(lister.Lister):
|
|||||||
class SetProject(command.Command):
|
class SetProject(command.Command):
|
||||||
"""Set project command"""
|
"""Set project command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetProject')
|
log = logging.getLogger(__name__ + '.SetProject')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -199,7 +195,6 @@ class SetProject(command.Command):
|
|||||||
class ShowProject(show.ShowOne):
|
class ShowProject(show.ShowOne):
|
||||||
"""Show project command"""
|
"""Show project command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowProject')
|
log = logging.getLogger(__name__ + '.ShowProject')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class AddRole(command.Command):
|
class AddRole(command.Command):
|
||||||
"""Adds a role to a user or group on a domain or project"""
|
"""Adds a role to a user or group on a domain or project"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.AddRole')
|
log = logging.getLogger(__name__ + '.AddRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -108,7 +107,6 @@ class AddRole(command.Command):
|
|||||||
class CreateRole(show.ShowOne):
|
class CreateRole(show.ShowOne):
|
||||||
"""Create new role"""
|
"""Create new role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateRole')
|
log = logging.getLogger(__name__ + '.CreateRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -131,7 +129,6 @@ class CreateRole(show.ShowOne):
|
|||||||
class DeleteRole(command.Command):
|
class DeleteRole(command.Command):
|
||||||
"""Delete existing role"""
|
"""Delete existing role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteRole')
|
log = logging.getLogger(__name__ + '.DeleteRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -155,7 +152,6 @@ class DeleteRole(command.Command):
|
|||||||
class ListRole(lister.Lister):
|
class ListRole(lister.Lister):
|
||||||
"""List roles"""
|
"""List roles"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListRole')
|
log = logging.getLogger(__name__ + '.ListRole')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -172,7 +168,6 @@ class ListRole(lister.Lister):
|
|||||||
class RemoveRole(command.Command):
|
class RemoveRole(command.Command):
|
||||||
"""Remove role command"""
|
"""Remove role command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.RemoveRole')
|
log = logging.getLogger(__name__ + '.RemoveRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -251,7 +246,6 @@ class RemoveRole(command.Command):
|
|||||||
class SetRole(command.Command):
|
class SetRole(command.Command):
|
||||||
"""Set role command"""
|
"""Set role command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetRole')
|
log = logging.getLogger(__name__ + '.SetRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -285,7 +279,6 @@ class SetRole(command.Command):
|
|||||||
class ShowRole(show.ShowOne):
|
class ShowRole(show.ShowOne):
|
||||||
"""Show single role"""
|
"""Show single role"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowRole')
|
log = logging.getLogger(__name__ + '.ShowRole')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateService(show.ShowOne):
|
class CreateService(show.ShowOne):
|
||||||
"""Create service command"""
|
"""Create service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateService')
|
log = logging.getLogger(__name__ + '.CreateService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -69,7 +68,6 @@ class CreateService(show.ShowOne):
|
|||||||
class DeleteService(command.Command):
|
class DeleteService(command.Command):
|
||||||
"""Delete service command"""
|
"""Delete service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteService')
|
log = logging.getLogger(__name__ + '.DeleteService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -94,7 +92,6 @@ class DeleteService(command.Command):
|
|||||||
class ListService(lister.Lister):
|
class ListService(lister.Lister):
|
||||||
"""List service command"""
|
"""List service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListService')
|
log = logging.getLogger(__name__ + '.ListService')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -111,7 +108,6 @@ class ListService(lister.Lister):
|
|||||||
class SetService(show.ShowOne):
|
class SetService(show.ShowOne):
|
||||||
"""Set service command"""
|
"""Set service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetService')
|
log = logging.getLogger(__name__ + '.SetService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -165,7 +161,6 @@ class SetService(show.ShowOne):
|
|||||||
class ShowService(show.ShowOne):
|
class ShowService(show.ShowOne):
|
||||||
"""Show service command"""
|
"""Show service command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowService')
|
log = logging.getLogger(__name__ + '.ShowService')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateUser(show.ShowOne):
|
class CreateUser(show.ShowOne):
|
||||||
"""Create user command"""
|
"""Create user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateUser')
|
log = logging.getLogger(__name__ + '.CreateUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -113,7 +112,6 @@ class CreateUser(show.ShowOne):
|
|||||||
class DeleteUser(command.Command):
|
class DeleteUser(command.Command):
|
||||||
"""Delete user command"""
|
"""Delete user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteUser')
|
log = logging.getLogger(__name__ + '.DeleteUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -137,7 +135,6 @@ class DeleteUser(command.Command):
|
|||||||
class ListUser(lister.Lister):
|
class ListUser(lister.Lister):
|
||||||
"""List users and optionally roles assigned to users"""
|
"""List users and optionally roles assigned to users"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ListUser')
|
log = logging.getLogger(__name__ + '.ListUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -249,7 +246,6 @@ class ListUser(lister.Lister):
|
|||||||
class SetUser(command.Command):
|
class SetUser(command.Command):
|
||||||
"""Set user command"""
|
"""Set user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.SetUser')
|
log = logging.getLogger(__name__ + '.SetUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -338,7 +334,6 @@ class SetUser(command.Command):
|
|||||||
class ShowUser(show.ShowOne):
|
class ShowUser(show.ShowOne):
|
||||||
"""Show user command"""
|
"""Show user command"""
|
||||||
|
|
||||||
api = 'identity'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowUser')
|
log = logging.getLogger(__name__ + '.ShowUser')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -30,7 +30,6 @@ from cliff import show
|
|||||||
class CreateImage(show.ShowOne):
|
class CreateImage(show.ShowOne):
|
||||||
"""Create image command"""
|
"""Create image command"""
|
||||||
|
|
||||||
api = "image"
|
|
||||||
log = logging.getLogger(__name__ + ".CreateImage")
|
log = logging.getLogger(__name__ + ".CreateImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class DeleteImage(command.Command):
|
class DeleteImage(command.Command):
|
||||||
"""Delete image command"""
|
"""Delete image command"""
|
||||||
|
|
||||||
api = "image"
|
|
||||||
log = logging.getLogger(__name__ + ".DeleteImage")
|
log = logging.getLogger(__name__ + ".DeleteImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -49,7 +48,6 @@ class DeleteImage(command.Command):
|
|||||||
class ListImage(lister.Lister):
|
class ListImage(lister.Lister):
|
||||||
"""List image command"""
|
"""List image command"""
|
||||||
|
|
||||||
api = "image"
|
|
||||||
log = logging.getLogger(__name__ + ".ListImage")
|
log = logging.getLogger(__name__ + ".ListImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -78,7 +76,6 @@ class ListImage(lister.Lister):
|
|||||||
class SaveImage(command.Command):
|
class SaveImage(command.Command):
|
||||||
"""Save image command"""
|
"""Save image command"""
|
||||||
|
|
||||||
api = "image"
|
|
||||||
log = logging.getLogger(__name__ + ".SaveImage")
|
log = logging.getLogger(__name__ + ".SaveImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -107,7 +104,6 @@ class SaveImage(command.Command):
|
|||||||
class ShowImage(show.ShowOne):
|
class ShowImage(show.ShowOne):
|
||||||
"""Show image command"""
|
"""Show image command"""
|
||||||
|
|
||||||
api = "image"
|
|
||||||
log = logging.getLogger(__name__ + ".ShowImage")
|
log = logging.getLogger(__name__ + ".ShowImage")
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -27,7 +27,6 @@ from openstackclient.common import utils
|
|||||||
class CreateBackup(show.ShowOne):
|
class CreateBackup(show.ShowOne):
|
||||||
"""Create backup command"""
|
"""Create backup command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateBackup')
|
log = logging.getLogger(__name__ + '.CreateBackup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -75,7 +74,6 @@ class CreateBackup(show.ShowOne):
|
|||||||
class DeleteBackup(command.Command):
|
class DeleteBackup(command.Command):
|
||||||
"""Delete backup command"""
|
"""Delete backup command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteBackup')
|
log = logging.getLogger(__name__ + '.DeleteBackup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -99,7 +97,6 @@ class DeleteBackup(command.Command):
|
|||||||
class ListBackup(lister.Lister):
|
class ListBackup(lister.Lister):
|
||||||
"""List backup command"""
|
"""List backup command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ListBackup')
|
log = logging.getLogger(__name__ + '.ListBackup')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -122,7 +119,6 @@ class ListBackup(lister.Lister):
|
|||||||
class RestoreBackup(command.Command):
|
class RestoreBackup(command.Command):
|
||||||
"""Restore backup command"""
|
"""Restore backup command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.RestoreBackup')
|
log = logging.getLogger(__name__ + '.RestoreBackup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -151,7 +147,6 @@ class RestoreBackup(command.Command):
|
|||||||
class ShowBackup(show.ShowOne):
|
class ShowBackup(show.ShowOne):
|
||||||
"""Show backup command"""
|
"""Show backup command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowBackup')
|
log = logging.getLogger(__name__ + '.ShowBackup')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateSnapshot(show.ShowOne):
|
class CreateSnapshot(show.ShowOne):
|
||||||
"""Create snapshot command"""
|
"""Create snapshot command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateSnapshot')
|
log = logging.getLogger(__name__ + '.CreateSnapshot')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -76,7 +75,6 @@ class CreateSnapshot(show.ShowOne):
|
|||||||
class DeleteSnapshot(command.Command):
|
class DeleteSnapshot(command.Command):
|
||||||
"""Delete snapshot command"""
|
"""Delete snapshot command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteSnapshot')
|
log = logging.getLogger(__name__ + '.DeleteSnapshot')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -100,7 +98,6 @@ class DeleteSnapshot(command.Command):
|
|||||||
class ListSnapshot(lister.Lister):
|
class ListSnapshot(lister.Lister):
|
||||||
"""List snapshot command"""
|
"""List snapshot command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ListSnapshot')
|
log = logging.getLogger(__name__ + '.ListSnapshot')
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
@ -123,7 +120,6 @@ class ListSnapshot(lister.Lister):
|
|||||||
class SetSnapshot(command.Command):
|
class SetSnapshot(command.Command):
|
||||||
"""Set snapshot command"""
|
"""Set snapshot command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.SetSnapshot')
|
log = logging.getLogger(__name__ + '.SetSnapshot')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -163,7 +159,6 @@ class SetSnapshot(command.Command):
|
|||||||
class ShowSnapshot(show.ShowOne):
|
class ShowSnapshot(show.ShowOne):
|
||||||
"""Show snapshot command"""
|
"""Show snapshot command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowSnapshot')
|
log = logging.getLogger(__name__ + '.ShowSnapshot')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateVolumeType(show.ShowOne):
|
class CreateVolumeType(show.ShowOne):
|
||||||
"""Create volume type command"""
|
"""Create volume type command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateVolumeType')
|
log = logging.getLogger(__name__ + '.CreateVolumeType')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -55,7 +54,6 @@ class CreateVolumeType(show.ShowOne):
|
|||||||
class DeleteVolumeType(command.Command):
|
class DeleteVolumeType(command.Command):
|
||||||
"""Delete volume type command"""
|
"""Delete volume type command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteVolumeType')
|
log = logging.getLogger(__name__ + '.DeleteVolumeType')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -79,7 +77,6 @@ class DeleteVolumeType(command.Command):
|
|||||||
class ListVolumeType(lister.Lister):
|
class ListVolumeType(lister.Lister):
|
||||||
"""List volume type command"""
|
"""List volume type command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ListVolumeType')
|
log = logging.getLogger(__name__ + '.ListVolumeType')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -108,7 +105,6 @@ class ListVolumeType(lister.Lister):
|
|||||||
class SetVolumeType(command.Command):
|
class SetVolumeType(command.Command):
|
||||||
"""Set volume type command"""
|
"""Set volume type command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.SetVolumeType')
|
log = logging.getLogger(__name__ + '.SetVolumeType')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -142,7 +138,6 @@ class SetVolumeType(command.Command):
|
|||||||
class UnsetVolumeType(command.Command):
|
class UnsetVolumeType(command.Command):
|
||||||
"""Unset volume type command"""
|
"""Unset volume type command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.UnsetVolumeType')
|
log = logging.getLogger(__name__ + '.UnsetVolumeType')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
@ -28,7 +28,6 @@ from openstackclient.common import utils
|
|||||||
class CreateVolume(show.ShowOne):
|
class CreateVolume(show.ShowOne):
|
||||||
"""Create volume command"""
|
"""Create volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.CreateVolume')
|
log = logging.getLogger(__name__ + '.CreateVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -127,7 +126,6 @@ class CreateVolume(show.ShowOne):
|
|||||||
class DeleteVolume(command.Command):
|
class DeleteVolume(command.Command):
|
||||||
"""Delete volume command"""
|
"""Delete volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.DeleteVolume')
|
log = logging.getLogger(__name__ + '.DeleteVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -161,7 +159,6 @@ class DeleteVolume(command.Command):
|
|||||||
class ListVolume(lister.Lister):
|
class ListVolume(lister.Lister):
|
||||||
"""List volume command"""
|
"""List volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ListVolume')
|
log = logging.getLogger(__name__ + '.ListVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -218,7 +215,6 @@ class ListVolume(lister.Lister):
|
|||||||
class SetVolume(command.Command):
|
class SetVolume(command.Command):
|
||||||
"""Set volume command"""
|
"""Set volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.SetVolume')
|
log = logging.getLogger(__name__ + '.SetVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -274,7 +270,6 @@ class SetVolume(command.Command):
|
|||||||
class ShowVolume(show.ShowOne):
|
class ShowVolume(show.ShowOne):
|
||||||
"""Show volume command"""
|
"""Show volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.ShowVolume')
|
log = logging.getLogger(__name__ + '.ShowVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
@ -297,7 +292,6 @@ class ShowVolume(show.ShowOne):
|
|||||||
class UnsetVolume(command.Command):
|
class UnsetVolume(command.Command):
|
||||||
"""Unset volume command"""
|
"""Unset volume command"""
|
||||||
|
|
||||||
api = 'volume'
|
|
||||||
log = logging.getLogger(__name__ + '.UnsetVolume')
|
log = logging.getLogger(__name__ + '.UnsetVolume')
|
||||||
|
|
||||||
def get_parser(self, prog_name):
|
def get_parser(self, prog_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user