def cfg_intf(self, protocol_interface, phy_interface=None):
        """Called by application to add an interface to the list. """
        self.intf_list.append(protocol_interface)
        self.cfg_lldp_interface(protocol_interface, phy_interface)