call_provider
(provider, driver_method, *args, **kwargs)[source]¶Wrap calls to the provider driver to handle driver errors.
This allows Octavia to return user friendly errors when a provider driver has an issue.
driver_method – Method in the driver to call.
ProviderDriverError – Catch all driver error.
ProviderNotImplementedError – The driver doesn’t support this action.
ProviderUnsupportedOptionError – The driver doesn’t support a provided option.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.