Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Starting 4.1, everything that provides an API in CloudStack is a PluggableService. This means all APIs exposed by plugins such as ACL, network, hypervisors and even ManagementServer is a PluggableService, and all PluggableService expose an interface "getCommands()" which returns a list of api cmd classes. This helps other components within CloudStack to discover each other, for example ApiServer and ApiDiscoveryService uses this interface to get commands provided by all the PluggableService implementations.

How to write an Apache CloudStack 4.1+ API:

...