Libra worker should support node weights
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libra |
Fix Released
|
Medium
|
David Shrewsbury |
Bug Description
Need to handle node weighting. We would map the value from the API server request to the HAProxy equivalent config value.
See the 'weight' option to the 'server' config value in HAProxy docs:
http://
From the Atlas-LB API docs:
---
The caller can assign the relevant weights to nodes using the weight attribute of the node element.
The weight of a node determines the portion of requests or connections it services compared to the other nodes of the load balancer. For example, if node A has a weight of 2 and node B has a weight of 1, then the loadbalancer will forward twice as many requests to node A than to node B. If the weight attribute is not specified, then the node's weight is implicitly set to "1".
---
Example:
{
"nodes": [
{
},
{
},
{
}
]
}
description: | updated |
Changed in libra: | |
importance: | Undecided → Medium |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/21330
Review: https:/