Navigation Menu

Skip to content

Commit

Permalink
Declare vpn client option in pipelib
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vishvananda committed Oct 22, 2012
1 parent 4011a76 commit ae6920f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nova/cloudpipe/pipelib.py
Expand Up @@ -52,6 +52,7 @@
help=_('Netmask to push into openvpn config')),
]

flags.DECLARE('cnt_vpn_clients', 'nova.network.manager')
FLAGS = flags.FLAGS
FLAGS.register_opts(cloudpipe_opts)

Expand Down

0 comments on commit ae6920f

Please sign in to comment.