Move vpn_key_suffix into pipelib

Apart from one use in the EC2 API, vpn_key_suffix is only used in
pipelib.

blueprint: scope-config-opts
Change-Id: If90b9e77905161ea8d9263e8bae2c47ac5f79e91
This commit is contained in:
Mark McLoughlin
2013-01-08 08:48:02 +00:00
parent 664ea40ebb
commit 780ee74232
4 changed files with 4 additions and 6 deletions

View File

@@ -54,11 +54,13 @@ cloudpipe_opts = [
cfg.StrOpt('dmz_mask',
default='255.255.255.0',
help=_('Netmask to push into openvpn config')),
cfg.StrOpt('vpn_key_suffix',
default='-vpn',
help='Suffix to add to project name for vpn key and secgroups'),
]
CONF = cfg.CONF
CONF.register_opts(cloudpipe_opts)
CONF.import_opt('vpn_key_suffix', 'nova.config')
LOG = logging.getLogger(__name__)