Skip to content

Commit

Permalink
Adding new service provider for LBaaSv2 Project environment
Browse files Browse the repository at this point in the history
Issues:
Fixes #4

Problem:
We need to add an extra environment to the service provider driver.

Analysis:
Add a new wrapper class for the Project environment.
  • Loading branch information
richbrowne committed Apr 15, 2016
1 parent fe97e70 commit f65489e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions neutron_lbaas/drivers/f5/driver_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ def __init__(self, plugin, env='Test'):
"F5LBaaSV2DriverTest: initializing, version=%s, f5=%s, env=%s"
% (VERSION, f5lbaasdriver.__version__, env))

class F5LBaaSV2DriverProject(F5LBaaSV2Driver):

def __init__(self, plugin, env='Project'):
super(F5LBaaSV2DriverProject, self).__init__(plugin, env)

LOG.debug(
"F5LBaaSV2DriverProject: initializing, version=%s, f5=%s, env=%s"
% (VERSION, f5lbaasdriver.__version__, env))


class LoadBalancerManager(driver_base.BaseLoadBalancerManager):

Expand Down

0 comments on commit f65489e

Please sign in to comment.