import requests


def lldp_local(url, cookie):
    """
    Retrieve LLDP Local Information
    :param url: base url
    :param cookie: Cookie Value
    :return: LLDP per local port information
    :Example:

    result = lldp_local(base_url, sessionid)
    """
    header = {'cookie': cookie}
    get_lldp_local = requests.get(url + "lldp/local-port", headers=header, verify=False, timeout=2)
    return get_lldp_local.json()