From f92a8b1b9f979d0cbd28c61bc054be70fd7b5c11 Mon Sep 17 00:00:00 2001 From: richbrowne Date: Fri, 15 Apr 2016 10:39:55 -0600 Subject: [PATCH] Making Project the default environment. The initial checkin required that the F5LBaaSV2Driver be subclassed with a class that would explicitly set the environment. This makes 'Project' the default environment. --- neutron_lbaas/drivers/f5/driver_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_lbaas/drivers/f5/driver_v2.py b/neutron_lbaas/drivers/f5/driver_v2.py index 9594b7dcf..6d7fb9c3a 100644 --- a/neutron_lbaas/drivers/f5/driver_v2.py +++ b/neutron_lbaas/drivers/f5/driver_v2.py @@ -30,7 +30,7 @@ class UndefinedEnvironment(Exception): class F5LBaaSV2Driver(driver_base.LoadBalancerBaseDriver): - def __init__(self, plugin, env=None): + def __init__(self, plugin, env='Project'): super(F5LBaaSV2Driver, self).__init__(plugin) self.load_balancer = LoadBalancerManager(self)