Failover Load Balancing Algorithm REST Endpoints

Failover Load Balancing Algorithm
The Failover Load Balancing Algorithm is a fail-over load balancing algorithm. A fail-over load balancing algorithm sends all the requests of the same type to one route, the active route. The active route can be different for each type of operation, for instance route1 for ADD and route3 for BIND. Each load balancing route is assigned a priority per operation type. A priority is an integer value where 0 is the top priority. The algorithm chooses the route with the highest priority and sends all the requests of the same type to that route. When the route is down, the algorithm chooses another route with the highest priority and sends all the requests of the same type to that new route. When the first route is back on-line, the algorithm does not switch back to the first route, unless the flag "switch-back" has been set to true. In case two routes have the same priority, the algorithm chooses one and the election is not deterministic.
Add, Search, Compare or Delete Failover Load Balancing Algorithm
Method: post
Path: /rest/v1/admin
Delete a Failover Load Balancing Algorithm by DN
Method: delete
Path: /rest/v1/admin/{dn}
Find Failover Load Balancing Algorithm by DN
Method: get
Path: /rest/v1/admin/{dn}
Modify a Failover Load Balancing Algorithm by DN
Method: patch
Path: /rest/v1/admin/{dn}