def get_lldp_tlv(self, port_name, is_ncb=True, is_nb=False):
reply = None<EOL>if is_ncb:<EOL><INDENT>reply = self.run_lldptool(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", port_name,<EOL>"<STR_LIT>", "<STR_LIT>"])<EOL><DEDENT>elif is_nb:<EOL><INDENT>reply = self.run_lldptool(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", port_name,<EOL>"<STR_LIT>", "<STR_LIT>"])<EOL><DEDENT>else:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>return reply<EOL>
Function to Query LLDP TLV on the interface.