def __init__(self, exit_event): super(A10HealthManager, self).__init__(exit_event) self.cw = cw.A10ControllerWorker() self.threads = CONF.a10_health_manager.failover_threads self.executor = futures.ThreadPoolExecutor(max_workers=self.threads) self.vthunder_repo = a10repo.VThunderRepository() self.amphora_repo = repo.AmphoraRepository() self.loadbalancer_repo = a10repo.LoadBalancerRepository() self.dead = exit_event
def __init__(self, **kwargs): self.repos = repo.Repositories() self.vthunder_repo = a10_repo.VThunderRepository() self.vrid_repo = a10_repo.VRIDRepository() self.amphora_repo = repo.AmphoraRepository() self.member_repo = a10_repo.MemberRepository() self.loadbalancer_repo = a10_repo.LoadBalancerRepository() self.vip_repo = repo.VipRepository() self.listener_repo = repo.ListenerRepository() super(BaseDatabaseTask, self).__init__(**kwargs)
def __init__(self, **kwargs): self.repos = repo.Repositories() self.vthunder_repo = a10_repo.VThunderRepository() self.vrid_repo = a10_repo.VRIDRepository() self.amphora_repo = repo.AmphoraRepository() self.member_repo = a10_repo.MemberRepository() self.loadbalancer_repo = a10_repo.LoadBalancerRepository() self.vip_repo = repo.VipRepository() self.listener_repo = repo.ListenerRepository() self.flavor_repo = repo.FlavorRepository() self.flavor_profile_repo = repo.FlavorProfileRepository() self.nat_pool_repo = a10_repo.NatPoolRepository() self.vrrp_set_repo = a10_repo.VrrpSetRepository() super(BaseDatabaseTask, self).__init__(**kwargs)
def __init__(self): self.vthunder_repo = a10repo.VThunderRepository() self.lb_repo = a10repo.LoadBalancerRepository()
def __init__(self, **kwargs): super(VThunderBaseTask, self).__init__(**kwargs) self._network_driver = None self.vthunder_repo = a10_repo.VThunderRepository() self.loadbalancer_repo = a10_repo.LoadBalancerRepository()