conf: Address nits in I92a03cb
Change-Id: I09d3c945ac5da3d70675096f814792995e31ae84 Implements: bp centralize-config-options-newton
This commit is contained in:
parent
b292bf3441
commit
8224be1736
@ -17,8 +17,7 @@ from oslo_config import cfg
|
|||||||
from nova.conf import paths
|
from nova.conf import paths
|
||||||
|
|
||||||
cloudpipe_opts = [
|
cloudpipe_opts = [
|
||||||
cfg.StrOpt(
|
cfg.StrOpt('vpn_image_id',
|
||||||
'vpn_image_id',
|
|
||||||
default='0',
|
default='0',
|
||||||
help="""
|
help="""
|
||||||
Image ID used when starting up a cloudpipe VPN client.
|
Image ID used when starting up a cloudpipe VPN client.
|
||||||
@ -32,8 +31,7 @@ Possible values:
|
|||||||
|
|
||||||
* Any valid ID of a VPN image
|
* Any valid ID of a VPN image
|
||||||
"""),
|
"""),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt('vpn_flavor',
|
||||||
'vpn_flavor',
|
|
||||||
default='m1.tiny',
|
default='m1.tiny',
|
||||||
help="""
|
help="""
|
||||||
Flavor for VPN instances.
|
Flavor for VPN instances.
|
||||||
@ -42,8 +40,7 @@ Possible values:
|
|||||||
|
|
||||||
* Any valid flavor name
|
* Any valid flavor name
|
||||||
"""),
|
"""),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt('boot_script_template',
|
||||||
'boot_script_template',
|
|
||||||
default=paths.basedir_def('nova/cloudpipe/bootscript.template'),
|
default=paths.basedir_def('nova/cloudpipe/bootscript.template'),
|
||||||
help="""
|
help="""
|
||||||
Template for cloudpipe instance boot script.
|
Template for cloudpipe instance boot script.
|
||||||
@ -54,14 +51,14 @@ Possible values:
|
|||||||
|
|
||||||
Related options:
|
Related options:
|
||||||
|
|
||||||
Following options are required to configure cloudpipe-managed
|
The following options are required to configure cloudpipe-managed
|
||||||
OpenVPN server.
|
OpenVPN server.
|
||||||
|
|
||||||
* dmz_net
|
* dmz_net
|
||||||
* dmz_mask
|
* dmz_mask
|
||||||
* cnt_vpn_clients
|
* cnt_vpn_clients
|
||||||
"""),
|
"""),
|
||||||
cfg.IPOpt(
|
cfg.IPOpt('dmz_net',
|
||||||
'dmz_net',
|
|
||||||
default='10.0.0.0',
|
default='10.0.0.0',
|
||||||
help="""
|
help="""
|
||||||
Network to push into OpenVPN config.
|
Network to push into OpenVPN config.
|
||||||
@ -76,10 +73,9 @@ Possible values:
|
|||||||
Related options:
|
Related options:
|
||||||
|
|
||||||
* boot_script_template - dmz_net is pushed into bootscript.template
|
* boot_script_template - dmz_net is pushed into bootscript.template
|
||||||
to configure cloudpipe-managed OpenVPN server
|
to configure cloudpipe-managed OpenVPN server
|
||||||
"""),
|
"""),
|
||||||
cfg.IPOpt(
|
cfg.IPOpt('dmz_mask',
|
||||||
'dmz_mask',
|
|
||||||
default='255.255.255.0',
|
default='255.255.255.0',
|
||||||
help="""
|
help="""
|
||||||
Netmask to push into OpenVPN config.
|
Netmask to push into OpenVPN config.
|
||||||
@ -91,12 +87,10 @@ Possible values:
|
|||||||
Related options:
|
Related options:
|
||||||
|
|
||||||
* dmz_net - dmz_net and dmz_mask is pushed into bootscript.template
|
* dmz_net - dmz_net and dmz_mask is pushed into bootscript.template
|
||||||
to configure cloudpipe-managed OpenVPN server
|
to configure cloudpipe-managed OpenVPN server
|
||||||
* boot_script_template
|
* boot_script_template
|
||||||
"""),
|
"""),
|
||||||
|
cfg.StrOpt('vpn_key_suffix',
|
||||||
cfg.StrOpt(
|
|
||||||
'vpn_key_suffix',
|
|
||||||
default='-vpn',
|
default='-vpn',
|
||||||
help="""
|
help="""
|
||||||
Suffix to add to project name for VPN key and secgroups
|
Suffix to add to project name for VPN key and secgroups
|
||||||
|
Loading…
Reference in New Issue
Block a user