diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-02-23 11:20:52 -0800 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-02-23 11:20:52 -0800 |
commit | 3c09d486f862de7069b848e8124787cfbf4247f8 (patch) | |
tree | 104b578d57a5be15f81c52fa22802253eb0d78ad /bin/nova-dhcpbridge | |
parent | 489f325b8161a70f0f7288135ad04c331bcbbe90 (diff) | |
download | nova-3c09d486f862de7069b848e8124787cfbf4247f8.tar.gz |
use flags for sqlite db names and fix flags in dhcpbridge
Diffstat (limited to 'bin/nova-dhcpbridge')
-rwxr-xr-x | bin/nova-dhcpbridge | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bin/nova-dhcpbridge b/bin/nova-dhcpbridge index 04a1771f05..3dd9de3673 100755 --- a/bin/nova-dhcpbridge +++ b/bin/nova-dhcpbridge @@ -105,18 +105,7 @@ def main(): logging.setup() interface = os.environ.get('DNSMASQ_INTERFACE', 'br0') if int(os.environ.get('TESTING', '0')): - FLAGS.fake_rabbit = True - FLAGS.network_size = 16 - FLAGS.connection_type = 'fake' - FLAGS.fake_network = True - FLAGS.auth_driver = 'nova.auth.dbdriver.DbDriver' - FLAGS.num_networks = 5 - path = os.path.abspath(os.path.join(os.path.dirname(__file__), - '..', - 'nova', - 'tests', - 'tests.sqlite')) - FLAGS.sql_connection = 'sqlite:///%s' % path + from nova.tests import fake_flags action = argv[1] if action in ['add', 'del', 'old']: mac = argv[2] |