Ejemplo n.º 1
0
    def setUp(self):
        super(TestLoadBalancerFlows, self).setUp()
        self.conf = self.useFixture(oslo_fixture.Config(cfg.CONF))

        self.conf.config(group="controller_worker")
        #    amphora_driver='a10')
        self.conf.config(group="nova", enable_anti_affinity=False)
        self.flows = a10_load_balancer_flows.LoadBalancerFlows()
Ejemplo n.º 2
0
 def __init__(self):
     self._lb_repo = repo.LoadBalancerRepository()
     self._listener_repo = repo.ListenerRepository()
     self._pool_repo = repo.PoolRepository()
     self._member_repo = a10repo.MemberRepository()
     self._health_mon_repo = repo.HealthMonitorRepository()
     self._l7policy_repo = repo.L7PolicyRepository()
     self._l7rule_repo = repo.L7RuleRepository()
     self._lb_flows = a10_load_balancer_flows.LoadBalancerFlows()
     self._listener_flows = a10_listener_flows.ListenerFlows()
     self._pool_flows = a10_pool_flows.PoolFlows()
     self._member_flows = a10_member_flows.MemberFlows()
     self._health_monitor_flows = a10_health_monitor_flows.HealthMonitorFlows()
     self._l7policy_flows = a10_l7policy_flows.L7PolicyFlows()
     self._l7rule_flows = a10_l7rule_flows.L7RuleFlows()
     self._vthunder_flows = vthunder_flows.VThunderFlows()
     self._vthunder_repo = a10repo.VThunderRepository()
     self._exclude_result_logging_tasks = ()
     super(A10ControllerWorker, self).__init__()