Lines Matching refs:bearer_path
529 def ActivateBearer(self, bearer_path): argument
540 logging.info('ActivateBearer: %s', bearer_path)
541 bearer = self.bearers.get(bearer_path, None)
543 message = 'Could not find bearer with path "%s"' % bearer_path
555 message = 'Bearer with path "%s" already active.', bearer_path
560 self.active_bearers[bearer_path] = bearer
564 def DeactivateBearer(self, bearer_path): argument
574 logging.info('DeactivateBearer: %s', bearer_path)
575 bearer = self.bearers.get(bearer_path, None)
579 'Could not find bearer with path "%s".' % bearer_path)
581 assert bearer_path not in self.active_bearers
584 'Bearer with path "%s" is not active.' % bearer_path)
585 assert bearer_path in self.active_bearers
587 self.active_bearers.pop(bearer_path)