def METHOD_NAME(self, duthosts, rand_one_dut_hostname):
    """
        Configures and Restores DUT configuration after test completes
        Args:
            duthost (AnsibleHost): Device Under Test (DUT)
        Returns:
            None
    """
    duthost = duthosts[rand_one_dut_hostname]
    logger.info("Configure the DUT interface, start interface, add IP address")
    self.__startInterface(duthost)
    self.__configureInterfaceIp(duthost, action="add")
    yield
    logger.info("Restore the DUT interface config, remove IP address")
    self.__configureInterfaceIp(duthost, action="remove")
    self.__shutdownInterface(duthost)