/usr/lib/python2.7/dist-packages/neutron_lbaas/opts.py is in python-neutron-lbaas 2:8.0.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | # 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 itertools
import neutron.agent.common.config
import neutron.agent.linux.interface
import neutron.services.provider_configuration
import neutron_lbaas.agent.agent
import neutron_lbaas.common.cert_manager
import neutron_lbaas.common.cert_manager.local_cert_manager
import neutron_lbaas.common.keystone
import neutron_lbaas.drivers.common.agent_driver_base
import neutron_lbaas.drivers.octavia.driver
import neutron_lbaas.drivers.radware.base_v2_driver
import neutron_lbaas.extensions.loadbalancerv2
import neutron_lbaas.services.loadbalancer.agent.agent_manager
import neutron_lbaas.services.loadbalancer.drivers.haproxy.jinja_cfg
import neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver
import neutron_lbaas.services.loadbalancer.drivers.netscaler.netscaler_driver
import neutron_lbaas.services.loadbalancer.drivers.radware.driver
def list_agent_opts():
return [
('DEFAULT',
itertools.chain(
neutron_lbaas.agent.agent.OPTS,
neutron_lbaas.services.loadbalancer.agent.agent_manager.OPTS,
neutron.agent.linux.interface.OPTS,
neutron.agent.common.config.INTERFACE_DRIVER_OPTS)
),
('haproxy',
neutron_lbaas.services.loadbalancer.drivers.haproxy.
namespace_driver.OPTS)
]
def list_opts():
return [
('DEFAULT',
neutron_lbaas.drivers.common.agent_driver_base.AGENT_SCHEDULER_OPTS),
('quotas',
neutron_lbaas.extensions.loadbalancerv2.lbaasv2_quota_opts),
('service_auth',
neutron_lbaas.common.keystone.OPTS),
('service_providers',
neutron.services.provider_configuration.serviceprovider_opts),
('certificates',
itertools.chain(
neutron_lbaas.common.cert_manager.cert_manager_opts,
neutron_lbaas.common.cert_manager.local_cert_manager.
local_cert_manager_opts)
)
]
def list_service_opts():
return [
('radware',
neutron_lbaas.services.loadbalancer.drivers.radware.driver.
driver_opts),
('radwarev2',
neutron_lbaas.drivers.radware.base_v2_driver.driver_opts),
('radwarev2_debug',
neutron_lbaas.drivers.radware.base_v2_driver.driver_debug_opts),
('netscaler_driver',
neutron_lbaas.services.loadbalancer.drivers.netscaler.
netscaler_driver.NETSCALER_CC_OPTS),
('haproxy',
itertools.chain(
neutron.agent.common.config.INTERFACE_DRIVER_OPTS,
neutron_lbaas.agent.agent.OPTS,
neutron_lbaas.services.loadbalancer.drivers.haproxy.
namespace_driver.OPTS,
neutron_lbaas.services.loadbalancer.drivers.haproxy.jinja_cfg.
jinja_opts)
),
('octavia',
neutron_lbaas.drivers.octavia.driver.OPTS)
]
|