~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/tests/fake_flags.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
FLAGS = flags.FLAGS
22
22
 
23
 
flags.DECLARE('auth_driver', 'nova.auth.manager')
24
23
flags.DECLARE('compute_scheduler_driver', 'nova.scheduler.multi')
25
24
flags.DECLARE('fake_network', 'nova.network.manager')
26
25
flags.DECLARE('iscsi_num_targets', 'nova.volume.driver')
32
31
 
33
32
def set_defaults(conf):
34
33
    conf.set_default('api_paste_config', '$state_path/etc/nova/api-paste.ini')
35
 
    conf.set_default('auth_driver', 'nova.auth.dbdriver.DbDriver')
36
34
    conf.set_default('compute_driver', 'nova.virt.fake.FakeDriver')
37
35
    conf.set_default('connection_type', 'fake')
38
36
    conf.set_default('fake_network', True)