Creates a new Netconf request based on the last received
        interface name and type when the hasMore flag is true

def get_interface_detail_request(last_interface_name,
                                     last_interface_type):
        """ Creates a new Netconf request based on the last received
        interface name and type when the hasMore flag is true
        """

        request_interface = ET.Element(
            'get-interface-detail',
            xmlns="urn:brocade.com:mgmt:brocade-interface-ext"
        )
        if last_interface_name != '':
            last_received_int = ET.SubElement(request_interface,
                                              "last-rcvd-interface")
            last_int_type_el = ET.SubElement(last_received_int,
                                             "interface-type")
            last_int_type_el.text = last_interface_type
            last_int_name_el = ET.SubElement(last_received_int,
                                             "interface-name")
            last_int_name_el.text = last_interface_name
        return request_interface