code: def get_lldp_neighbors_request(last_ifindex, rbridge_id):
          
  
          request_lldp = ET.Element(
              'get-lldp-neighbor-detail',
              xmlns="urn:brocade.com:mgmt:brocade-lldp-ext"
          )
          if rbridge_id is not None:
              rbridge_el = ET.SubElement(request_lldp, "rbridge-id")
              rbridge_el.text = rbridge_id
          elif last_ifindex != '':
              last_received_int = ET.SubElement(request_lldp,
                                                "last-rcvd-ifindex")
              last_received_int.text = last_ifindex
  
          return request_lldp
docs: Creates a new Netconf request based on the last received or if
          rbridge_id is specifed
          ifindex when the hasMore flag is true