NSX|P: Use realtime LB statistics

Change-Id: I2165e5f6fe0bd1c34ec7830573cad22c89da897d
This commit is contained in:
asarfaty 2020-11-03 10:58:03 +02:00 committed by Adit Sarfaty
parent a7091df66d
commit 0eff0e0e7f
1 changed files with 1 additions and 1 deletions

View File

@ -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: