Able to change lb algorithm on pool updating
Change-Id: I0470a02657f594b21826a34e2a24e7dbcdd87bcd Story: 1713863 Task: 5370
This commit is contained in:
parent
d49b14ac01
commit
3eaa6d5c2f
@ -334,6 +334,7 @@ def update_pool(request, **kwargs):
|
|||||||
conn = _get_sdk_connection(request)
|
conn = _get_sdk_connection(request)
|
||||||
pool = conn.load_balancer.update_pool(
|
pool = conn.load_balancer.update_pool(
|
||||||
pool=pool_id,
|
pool=pool_id,
|
||||||
|
lb_algorithm=data['pool']['method'],
|
||||||
name=data['pool'].get('name'),
|
name=data['pool'].get('name'),
|
||||||
description=data['pool'].get('description'))
|
description=data['pool'].get('description'))
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<select class="form-control" name="method" id="method"
|
<select class="form-control" name="method" id="method"
|
||||||
ng-options="method for method in model.methods"
|
ng-options="method for method in model.methods"
|
||||||
ng-model="model.spec.pool.method"
|
ng-model="model.spec.pool.method"
|
||||||
ng-disabled="model.context.id" ng-required="true">
|
ng-required="true">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user