Oslo VMware library for OpenStack projects
Go to file
Vipin Balachandran 084f547583 Exception hierarchy refactoring
There are two roots for the current exception hierarchy: VimException
and VMwareDriverException, which is not a good design. This patch
refactors the exception hierarchy to fix this problem.

Summary of changes:
* Change parent of VimException to VMwareDriverException
* Change parent of exceptions corresponding to known VIM faults
  to VimException
* Change parent of VimSessionOverLoadException, VimConnectionException,
  VimAttributeException and ImageTransferException to
  VMwareDriverException.

The guidelines followed for this refactoring are:
* The changes in existing driver code should be NIL.

* The changes in other parts of the library should be minimal.

* Any exception raised by invocation of vim APIs should be a VimException
  and any exception raised by pbm APIs should be a PbmException. But this
  will result in lot of changes in the library as well as existing clients.
  Therefore, we  define a single root for these two types of exceptions which
  is labeled as VimException.

* Any exception raised by the library should be a child of
  VMwareDriverException. Therefore, VimException, VimSessionOverLoadException,
  VimConnectionException, VimAttributeException and ImageTransferException
  are children of VMwareDriverException. Ideally, VMwareDriverException
  should be renamed as ServiceException, but it will result in backward
  incompatibility.

Change-Id: Ide1bf891be78766e8670f8446792e3dc9c7ec88f
2015-06-19 17:29:47 +05:30
doc/source Correct usage to oslo_vmware 2015-01-26 13:54:36 -08:00
oslo_vmware Exception hierarchy refactoring 2015-06-19 17:29:47 +05:30
oslo.vmware/locale Imported Translations from Transifex 2015-06-02 06:04:34 +00:00
.coveragerc Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
.gitignore Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
.gitreview Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
.mailmap Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
.testr.conf Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
babel.cfg Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
bandit.yaml Fix bandit tox environment to properly run 2015-06-09 13:44:54 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
HACKING.rst Fix line wrapping 2015-01-26 09:25:29 -08:00
LICENSE Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
MANIFEST.in Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
openstack-common.conf Remove run_cross_tests.sh 2015-05-05 19:39:52 +00:00
pylintrc Add Pylint testenv environment 2014-08-04 15:29:14 +02:00
README.rst Cleanup README.rst and setup.cfg 2015-04-04 02:30:40 -04:00
requirements.txt Updated from global requirements 2015-06-16 19:22:37 +00:00
setup.cfg Remove oslo namespace package 2015-06-04 17:58:10 +00:00
setup.py Updated from global requirements 2015-06-16 19:22:37 +00:00
test-requirements.txt Fix bandit tox environment to properly run 2015-06-09 13:44:54 -07:00
tox.ini Fix bandit tox environment to properly run 2015-06-09 13:44:54 -07:00

oslo.vmware

The Oslo VMware library provides support for common VMware operations and APIs.