Openstack handlers
The handlers are containerized microservices used by Ranger to interact with the chosen hypervisor, in this case Openstack openstack. The handlers are split into four separate services and a supporting service, each with their own gRPC endpoints that fulfill different roles:
- Templater - Handles the creation and deletion of virtual machine templates from
Template
type Deputy packages. - Machiner - Handles creation and deletion of virtual machines in the openstack environment from already deployed templates by the Templater.
- Executor - Allows for VM modification and state checking after creation through the use of
Feature
,Inject
andCondition
type Deputy packages. - Switcher - Handles creation and deletion of Layer-2 virtual switches (a.k.a. networks, subnets, and ports etc.) in the openstack environment.
- General - Aides Ranger with preparation of certain Deputy package types such as
Event
and allows Ranger to query the Deputy package repository.
The communication between Ranger and the handlers is done through gRPC. Request and response messages can be found under each handler. For even more information, visit the gRPC repository.