neutron-lbaas/neutron_lbaas/drivers/haproxy/plugin_driver.py
Phillip Toohill ce05376126 Haproxy Namespace Driver
This adds the haproxy namespace driver based on the lbaas
v2 object model.  It has been retrofitted to work with the
new object model and new device driver interface.  Everything
else has been shamelessly copied from the v1 haproxy namespace
driver.

Change-Id: Icf34a215e094d27270a5f64df2d1cb995f505370
Partially-implements: blueprint lbaas-refactor-haproxy-namespace-driver-to-new-driver-interface
Co-Authored-By: Brandon Logan <brandon.logan@rackspace.com>
2015-03-03 23:00:44 +00:00

23 lines
910 B
Python

# Copyright (c) 2013 OpenStack Foundation.
# Copyright (c) 2015 Rackspace.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from neutron_lbaas.drivers.common import agent_driver_base
from neutron_lbaas.drivers.haproxy import namespace_driver
class HaproxyOnHostPluginDriver(agent_driver_base.AgentDriverBase):
device_driver = namespace_driver.DRIVER_NAME