72a061f19b
this obscure option seems to have been a no-op since the initial commit. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
45 lines
1.9 KiB
Python
45 lines
1.9 KiB
Python
# Copyright (C) 2011 Nippon Telegraph and Telephone Corporation.
|
|
# Copyright (C) 2011 Isaku Yamahata <yamahata at valinux co jp>
|
|
#
|
|
# 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.
|
|
"""
|
|
global flags
|
|
"""
|
|
|
|
from oslo.config import cfg
|
|
|
|
CONF = cfg.CONF
|
|
|
|
CONF.register_cli_opts([
|
|
# app/quantum_adapter
|
|
cfg.StrOpt('quantum-url', default='http://localhost:9696',
|
|
help='URL for connecting to quantum'),
|
|
cfg.IntOpt('quantum-url-timeout', default=30,
|
|
help='timeout value for connecting to quantum in seconds'),
|
|
cfg.StrOpt('quantum-admin-username', default='quantum',
|
|
help='username for connecting to quantum in admin context'),
|
|
cfg.StrOpt('quantum-admin-password', default='service_password',
|
|
help='password for connecting to quantum in admin context'),
|
|
cfg.StrOpt('quantum-admin-tenant-name', default='service',
|
|
help='tenant name for connecting to quantum in admin context'),
|
|
cfg.StrOpt('quantum-admin-auth-url', default='http://localhost:5000/v2.0',
|
|
help='auth url for connecting to quantum in admin context'),
|
|
cfg.StrOpt('quantum-auth-strategy', default='keystone',
|
|
help='auth strategy for connecting to quantum in admin'
|
|
'context'),
|
|
cfg.StrOpt('quantum-controller-addr', default=None,
|
|
help='openflow method:address:port to set controller of'
|
|
'ovs bridge')
|
|
])
|