RETIRED, further work has moved to Debian project infrastructure
Go to file
Gary Kotton 4eadacdb75 VMware: raise more specific exceptions
In certain cases the exception handling for backend errors
would be handled too broadly. This patch elevates the backend exception
to the application so that it can treat specific errors.

In the application we can now handle the following specific exceptions:
- FileAlreadyExists - for example when moving a directory to a directory
that already exists
- InvalidProperty - for example when using neutron and opaque networks
are not supported
- AlreadyExists - for example a port group already exists
- NotAuthenticated - for example the operation is denied as because a
session is not established
- CannotDeleteFile - the file cannot be deleted
- FileFault - a file access exception
- FileLocked - an attempt is made to lock a file that is
already in use
- FileNotFound - the specific file does not exist

Change-Id: I789165f3879ec5df73f72c2737377e0fcfc99656
2014-02-21 15:59:47 -05:00
doc/source Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
oslo VMware: raise more specific exceptions 2014-02-21 15:59:47 -05:00
tests VMware: raise more specific exceptions 2014-02-21 15:59:47 -05: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
CONTRIBUTING.rst Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
HACKING.rst Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05: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 Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
README.rst Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
requirements.txt Move utility methods in VMware drivers to OSLO 2014-02-20 07:39:08 -05:00
setup.cfg Initial checkin for Oslo VMware Library generated using oslo-cookiecutter 2014-02-03 09:48:20 -05:00
setup.py Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
test-requirements.txt Import necessary files from openstack.common 2014-02-20 06:50:26 -05:00
tox.ini Move utility methods in VMware drivers to OSLO 2014-02-20 07:39:08 -05:00

oslo.vmware

Oslo VMware library for OpenStack projects

Features

  • TODO