
implements blueprint multi-vendor-support-for-lbaas-step1 This patch implements the following changes: * merge lbaas_plugin.py and plugin.py into 'plugin.py' After that the default 'reference' implementation is available again. * move all code related to reference implementation from plugin.py to drivers/haproxy/plugin_driver.py * Inherit HaproxyOnHostPluginDriver from abstract driver and implement its interface. * modify tests accordingly Change-Id: Ib4bfe286826acdedeadbeeff4713448c073378d2
27 lines
854 B
Python
Executable File
27 lines
854 B
Python
Executable File
#!/usr/bin/env python
|
|
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
|
|
|
# Copyright (c) 2013 OpenStack Foundation.
|
|
# 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.
|
|
|
|
import os
|
|
import sys
|
|
sys.path.insert(0, os.getcwd())
|
|
|
|
from quantum.plugins.services.agent_loadbalancer.drivers.haproxy.agent import main
|
|
|
|
|
|
main()
|