openstackclient.compute package

Submodules

openstackclient.compute.client module

openstackclient.compute.client.build_option_parser(parser)

Hook to add global options

openstackclient.compute.client.check_api_version(check_version)

Validate version supplied by user

Returns:

  • True if version is OK
  • False if the version has not been checked and the previous plugin check should be performed
  • throws an exception if the version is no good

TODO(dtroyer): make the exception thrown a version-related one

openstackclient.compute.client.make_client(instance)

Returns a compute service client.

Module contents