Gets information on CRM resources from host
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
crm_resc = duthost.crm_resources()
This method takes no arguments
Dictionary with information on CRM resources.The dictionary hierarchy is described below, with each indentation describing a sub-dictionary:
main_resources- Information on main resourcesipv6_nexthopavailableused
ipv6_neighboravailableused
ipv4_neighboravailableused
impc_entryavailableused
ipv4_routeavailableused
snat_entryavailableused
dnat_entryavailableused
fdb_entryavailableused
ipv6_routeavailableused
ipv4_nexthopavailableused
nexthop_groupavailableused
table_resourcesacl_resources- List of dictionaries, each corresponding to a different resourcebind_pointresource_nameused_countavailable_countstage-INGRESSorEGRESS