Registering a third party driver

    To register a third party driver you should use function from the corresponding component.

    Keep in mind that the provider_name needs to be unique and this functionneeds to be called before using a third party driver.

    1. from libcloud.compute.providers import get_driver
    2. from libcloud.compute.providers import set_driver
    3.  
    4. set_driver('stratuslab',
    5. 'stratuslab.libcloud.stratuslab_driver',
    6. 'StratusLabNodeDriver')
    7. # Your code which uses the driver.
    8. # For example:
    9. driver = get_driver('stratuslab')

    An example of an existing third party driver can be found at