def lldp(interface=''):
 proxy_output = __proxy__['napalm.call']('get_lldp_neighbors_detail', **{})
 if (not proxy_output.get('result')):
  return proxy_output
 lldp_neighbors = proxy_output.get('out')
 if interface:
  lldp_neighbors = {interface: lldp_neighbors.get(interface)}
 proxy_output.update({'out': lldp_neighbors})
 return proxy_output

def lldp ( interface = '' ) : proxy_output = __proxy__ [ 'napalm.call' ] ( 'get_lldp_neighbors_detail' , ** { } ) if ( not proxy_output . get ( 'result' ) ) : return proxy_output lldp_neighbors = proxy_output . get ( 'out' ) if interface : lldp_neighbors = { interface : lldp_neighbors . get ( interface ) } proxy_output . update ( { 'out' : lldp_neighbors } ) return proxy_output
returns a detailed view of the lldp neighbors .