diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-10-22 10:11:08 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-10-22 10:11:08 -0700 |
| commit | ae6920fb6b367b5aa75e02c72275e3149d02cd70 (patch) | |
| tree | b265e55429d968ddde1eba2845e74d554b209a34 /nova/cloudpipe | |
| parent | 4011a767c0ba45b244e004fb9a15ad921985ead9 (diff) | |
| download | nova-ae6920fb6b367b5aa75e02c72275e3149d02cd70.tar.gz nova-ae6920fb6b367b5aa75e02c72275e3149d02cd70.tar.xz nova-ae6920fb6b367b5aa75e02c72275e3149d02cd70.zip | |
Declare vpn client option in pipelib
Due to some import refactoring, nova.network.manager isn't always
imported when running pipelib commands, so using the cnt_vpn_clients
option fails. A failing test could not be added because our testing
code imports nova.network.manager so the code config option always
exists in testing.
Fixes bug 1069573
Change-Id: I92b702556bfef2610b86a952dd6f9207fbab102a
Diffstat (limited to 'nova/cloudpipe')
| -rw-r--r-- | nova/cloudpipe/pipelib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/cloudpipe/pipelib.py b/nova/cloudpipe/pipelib.py index 4e498e2c9..206ce1835 100644 --- a/nova/cloudpipe/pipelib.py +++ b/nova/cloudpipe/pipelib.py @@ -52,6 +52,7 @@ cloudpipe_opts = [ help=_('Netmask to push into openvpn config')), ] +flags.DECLARE('cnt_vpn_clients', 'nova.network.manager') FLAGS = flags.FLAGS FLAGS.register_opts(cloudpipe_opts) |
