property
Returns platform information facts about the sonic device.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
platform_facts = duthost.facts
Takes no arguments.
Provides dictionary with platform info:
platform
- name of platform
hwksu
- Hardware switch being used
asic_type
- Type of asic
num_asic
- Number of asics
router_mac
- router's mac address