Skip to content

Empty items returned by flasharray_client.get_pods_performance_replication_by_array if any start_time is passed #19

@b1-luettje

Description

@b1-luettje
In [12]: fa_client.get_rest_version()
Out[12]: '2.7'

In [13]: list(fa_client.get_pods_performance_replication_by_array().items)
Out[13]:
[{'array': {'id': 'cc44cb2c-43bd-401d-82ff-e96f036a7ea2', 'name': 'pure-fa-m20'},
  'continuous_bytes_per_sec': {'from_remote_bytes_per_sec': 0,
                               'to_remote_bytes_per_sec': 0,
                               'total_bytes_per_sec': 0},
  'periodic_bytes_per_sec': {'from_remote_bytes_per_sec': 0,
                             'to_remote_bytes_per_sec': 0,
                             'total_bytes_per_sec': 0},
  'pod': {'id': '22d2155c-6496-4e8d-f885-3d5b0c5d22c3', 'name': 'pod0'},
  'resync_bytes_per_sec': {'from_remote_bytes_per_sec': 0,
                           'to_remote_bytes_per_sec': 0,
                           'total_bytes_per_sec': 0},
  'sync_bytes_per_sec': {'from_remote_bytes_per_sec': 0,
                         'to_remote_bytes_per_sec': 0,
                         'total_bytes_per_sec': 0},
  'time': 1629443018039,
  'total_bytes_per_sec': 0}]

In [14]: list(fa_client.get_pods_performance_replication_by_array(start_time=1629443018039).items)
Out[14]: []

The same happens for other values for start_time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions