From 60ed9aaa8aa72ecff420d303765d29f24a78bbc2 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 26 Apr 2012 17:18:37 -0500 Subject: Begin to add Keystone auth --- openstackclient/compute/v2/server.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'openstackclient/compute') diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index 33aef0a1..b1b11007 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -21,8 +21,7 @@ Server action implementations import logging -from cliff.command import Command - +from openstackclient.common import command from openstackclient.common import utils @@ -57,9 +56,10 @@ def _print_server(cs, server): utils.print_dict(info) -class List_Server(Command): +class List_Server(command.OpenStackCommand): "List server command." + api = 'compute' log = logging.getLogger(__name__) def get_parser(self, prog_name): @@ -74,9 +74,10 @@ class List_Server(Command): def run(self, parsed_args): self.log.info('v2.List_Server.run(%s)' % parsed_args) -class Show_Server(Command): +class Show_Server(command.OpenStackCommand): "Show server command." + api = 'compute' log = logging.getLogger(__name__) def get_parser(self, prog_name): -- cgit v1.2.1