Add option to fetch kuryr uri from env
Closes-Bug: #1621307 Change-Id: I594dce6d702c21397a728af99a5eb1ce118b5457
This commit is contained in:
parent
92353e6641
commit
e41bad8e24
|
@ -30,7 +30,8 @@ core_opts = [
|
|||
'../')),
|
||||
help=_('Directory where Kuryr python module is installed.')),
|
||||
cfg.StrOpt('kuryr_uri',
|
||||
default='http://127.0.0.1:23750',
|
||||
default=os.environ.get('OS_KURYR_URI',
|
||||
'http://127.0.0.1:23750'),
|
||||
help=_('Kuryr URL for accessing Kuryr through json rpc.')),
|
||||
cfg.StrOpt('capability_scope',
|
||||
default=os.environ.get('CAPABILITY_SCOPE', 'local'),
|
||||
|
|
Loading…
Reference in New Issue