def __init__(self, cb, root_helper, intf_list=None, all_intf=True):
self.pub_lldp = pub_lldp.LldpApi(root_helper)<EOL>self._init_cfg_interfaces(cb, intf_list, all_intf)<EOL>per_task = utils.PeriodicTask(constants.PERIODIC_TASK_INTERVAL,<EOL>self.periodic_discovery_task)<EOL>per_task.run()<EOL>
Initialization routine, to configure interface.

        Also create the periodic task.
        cb => Callback in case any of the interface TLV changes.
        intf_list => List of interfaces to be LLDP enabled and monitored.
        all_intf => Boolean that signifies if all physical interfaces are to
        be monitored. intf_list will be None, if this variable is True.