def enable_lldp(self, port_name, is_ncb=True, is_nb=False):
    """Function to enable LLDP on the interface. """

    if is_ncb:
        self.run_lldptool(["-L", "-i", port_name, "-g", "ncb",
                           "adminStatus=rxtx"])
    if is_nb:
        self.run_lldptool(["-L", "-i", port_name, "-g", "nb",
                           "adminStatus=rxtx"])
Function to enable LLDP on the interface.