Get information on image from remote host.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
im_facts = duthost.image_facts()
This method take no arguments.
A dictionary is returned with information on the remote host's laoded image. The dictionary hierarchy is described below, with each indentation describing a sub-dictionary:
ansible_factsansible_image_facts- Dictionary containing image factsavailable- List of available imagescurrent- Currently loaded imagenext- latest available image