~salvatore-orlando/neutron/quantum-api

« back to all changes in this revision

Viewing changes to quantum/manager.py

  • Committer: Salvatore Orlando
  • Date: 2011-06-07 17:25:16 UTC
  • Revision ID: salvatore.orlando@eu.citrix.com-20110607172516-230v5aj1lhejdcxb
Fixing pep8 errors
removing excess debug lines

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
 
20
20
"""
21
 
Quantum's Manager class is responsible for parsing a config file and instantiating the correct
22
 
plugin that concretely implement quantum_plugin_base class
 
21
Quantum's Manager class is responsible for parsing a config file
 
22
and instantiating the correct plugin that concretely implement
 
23
quantum_plugin_base class
23
24
 
24
25
The caller should make sure that QuantumManager is a singleton.
25
26
"""
34
35
 
35
36
class QuantumManager(object):
36
37
 
37
 
    def __init__(self,config=CONFIG_FILE):
 
38
    def __init__(self, config=CONFIG_FILE):
38
39
        self.configuration_file = CONFIG_FILE
39
40
        plugin_location = utils.getPluginFromConfig(CONFIG_FILE)
40
41
        print "PLUGIN LOCATION:%s" % plugin_location