Skip to content

Commit

Permalink
Extended list of unsupported types in get_by_type()
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kokhan <[email protected]>
  • Loading branch information
andriy-kokhan committed Sep 30, 2023
1 parent 5fbaedb commit 664c910
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/sai.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ def get_by_type(self, obj, attr, attr_type, do_assert=False):
unsupported_types = [
"sai_port_eye_values_list_t", "sai_prbs_rx_state_t",
"sai_port_err_status_list_t", "sai_fabric_port_reachability_t",
"sai_port_lane_latch_status_list_t", "sai_latch_status_t"
"sai_port_lane_latch_status_list_t", "sai_latch_status_t",
"sai_port_frequency_offset_ppm_list_t", "sai_port_snr_list_t",
"sai_acl_chain_list_t"
]
if attr_type == "sai_object_list_t":
status, data = self.get(obj, [attr, "1:oid:0x0"], do_assert)
Expand Down

0 comments on commit 664c910

Please sign in to comment.