Merge "NSX|P: Use realtime LB statistics"
This commit is contained in:
commit
7545a29719
@ -351,7 +351,7 @@ def stats_getter(context, core_plugin, ignore_list=None):
|
|||||||
try:
|
try:
|
||||||
# get the NSX statistics for this LB service
|
# get the NSX statistics for this LB service
|
||||||
stats_results = lb_service_client.get_statistics(
|
stats_results = lb_service_client.get_statistics(
|
||||||
lb_service_id, silent=True).get('results', [])
|
lb_service_id, realtime=True, silent=True).get('results', [])
|
||||||
if stats_results:
|
if stats_results:
|
||||||
rsp = stats_results[0]
|
rsp = stats_results[0]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user