Oslo VMware library for OpenStack projects
084f547583
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 |
||
---|---|---|
doc/source | ||
oslo_vmware | ||
oslo.vmware/locale | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
bandit.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
oslo.vmware
The Oslo VMware library provides support for common VMware operations and APIs.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/oslo.vmware
- Source: http://git.openstack.org/cgit/openstack/oslo.vmware
- Bugs: http://bugs.launchpad.net/oslo.vmware