/usr/lib/python2.6/site-packages/neutronclient/common
NameSizeModeActions
clientmanager.py39510644editdlrm
clientmanager.pyc34770644editdlrm
command.py10590644editdlrm
command.pyc11760644editdlrm
constants.py14470644editdlrm
constants.pyc12230644editdlrm
exceptions.py58410644editdlrm
exceptions.pyc106240644editdlrm
extension.py33850644editdlrm
extension.pyc43980644editdlrm
serializer.py149480644editdlrm
serializer.pyc164340644editdlrm
utils.py57170644editdlrm
utils.pyc67470644editdlrm
validators.py25920644editdlrm
validators.pyc20110644editdlrm
__init__.py00644editdlrm
__init__.pyc1620644editdlrm
Edit: /usr/lib/python2.6/site-packages/neutronclient/common/command.py (1059B)
# Copyright 2012 OpenStack Foundation. # All Rights Reserved # # 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. # 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) def get_data(self, parsed_args): pass def take_action(self, parsed_args): return self.get_data(parsed_args)