Hello
Is it possible to set weights for Weighted algorithm dynamically? I tried to set them from variables readed from KVM in curly brackets {}, also tried to use ‘ref’, but without any success..
How to set weights from variables?
<HTTPTargetConnection>
<LoadBalancer>
<Algorithm>Weighted</Algorithm>
<Server name="mockit">
<Weight>2</Weight>
<!--<Weight>{mockitWeight}</Weight>-->
<!--<Weight ref="mockitWeight"/>-->
</Server>
<Server name="amock">
<Weight>1</Weight>
<!--<Weight>{amockWeight}</Weight>-->
<!--<Weight ref="amockWeight"/>-->
</Server>
</LoadBalancer>
<Path>/api/1</Path>
</HTTPTargetConnection>