Merge "conf: Address nits in I92a03cb"
This commit is contained in:
@@ -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.
|
||||||
@@ -78,8 +75,7 @@ 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.
|
||||||
@@ -94,9 +90,7 @@ Related options:
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user