![]() |
![]() |
![]() |
![]() |
Cloud providers need to create #CloudProvidersAccountExporter objects for every account they like to expose to the API and use the #CloudProvidersAccountExporter API to set the properties of the accounts. Also a #CloudProvidersProviderExporter needs to be created in order to hold all the #CloudProvidersAccountExporter objects that will be added to the provider when created. #CloudProvidersProviderExporter also export properties that define the provider that can be set using the #CloudProvidersProviderExporter API.
To register your cloud provider you also need to provide a file in DATADIR/cloud-providers.
Example 1. Example file to register a cloud provider
1 2 3 4 |
[Cloud Provider] BusName=org.mycloudprovider.CloudProviders.ServerExample ObjectPath=/org/mycloudprovider/CloudProviders/ServerExample Version=1 |