def run_lldptool(self, args):
        """Function for invoking the lldptool utility. """
        full_args = ['lldptool'] + args
        try:
            return utils.execute(full_args, root_helper=self.root_helper)
        except Exception as exc:
            LOG.error("Unable to execute %(cmd)s. "
                      "Exception: %(exception)s",
                      {'cmd': full_args, 'exception': str(exc)})
def run_lldptool ( self , args ) : full_args = [ 'lldptool' ] + args try : return utils . execute ( full_args , root_helper = self . root_helper ) except Exception as exc : LOG . error ( "Unable to execute %(cmd)s. " "Exception: %(exception)s" , { 'cmd' : full_args , 'exception' : str ( exc ) } )
Function for invoking the lldptool utility.