Skip to content

[vendor_data] Refactor ASIC checks to use dut facts#1531

Merged
lguohan merged 4 commits intosonic-net:masterfrom
daall:get_asic_type
Apr 3, 2020
Merged

[vendor_data] Refactor ASIC checks to use dut facts#1531
lguohan merged 4 commits intosonic-net:masterfrom
daall:get_asic_type

Conversation

@daall
Copy link
Copy Markdown
Contributor

@daall daall commented Apr 2, 2020

Signed-off-by: Danny Allen [email protected]

Description of PR

Summary: Adds a helper method to duthost for getting the ASIC type of the DUT
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

How did you do it?

I used the show version command to get the ASIC type rather than relying on hard-coded lists.

How did you verify/test it?

Verified that swap_syncd and advanced reboot still work as expected after the refactor.

Comment thread tests/common/broadcom_data.py
Comment thread tests/common/system_utils/docker.py Outdated
@daall daall changed the title [duthost] Add helper for getting ASIC type [vendor_data] Refactor ASIC checks to use dut facts Apr 3, 2020
@lguohan lguohan merged commit c4929c6 into sonic-net:master Apr 3, 2020
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…tilites submodules (sonic-net#7209)

sonic-swss
-[SFlowMgr] Sflow Crash on 200G ports handled (sonic-net#1683)
-Stablize the test case (sonic-net#1679)
-Remove PGs from an administratively down port. (sonic-net#1677)

sonic-swss-common
- fix getting hash from redis db (sonic-net#465)
- [dbconnector] Initialize redisContext (sonic-net#464)

sonic-utilities
- route_check: Fix hanging & logging level (sonic-net#1520)
- Add self timeout and crash if exceeded. (sonic-net#1502)
- [reboot] User-friendly reboot cause message for kernel panic (sonic-net#1486)
- [acl-loader]: do not add default deny rule for egress acl (sonic-net#1531)

Signed-off-by: Danny Allen <[email protected]>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
* fc80eeb 2021-03-28 | [acl-loader]: do not add default deny rule for egress acl (sonic-net#1531) (HEAD, origin/201911) [lguohan]

Signed-off-by: Guohan Lu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants