def get_public_ip(setup_info, interface_type):
    """
    return public IP based on test case interface_type
    :param setup_info: setup info fixture
    :param interface_type: type of interface
    :return: public IP
    """
    return setup_info[interface_type]['public_ip']