Revision 16abfbc2 test/ganeti.config_unittest.py
b/test/ganeti.config_unittest.py | ||
---|---|---|
55 | 55 |
|
56 | 56 |
def _init_cluster(self, cfg): |
57 | 57 |
"""Initializes the cfg object""" |
58 |
cfg.InitConfig(utils.HostInfo().name, '127.0.0.1', None, '', 'aa:00:00', |
|
59 |
'xenvg', constants.DEFAULT_BRIDGE) |
|
58 |
cfg.InitConfig(utils.HostInfo().name, constants.LOCALHOST_IP_ADDRESS, |
|
59 |
None, '', 'aa:00:00', 'xenvg', |
|
60 |
constants.DEFAULT_BRIDGE) |
|
60 | 61 |
|
61 | 62 |
def _create_instance(self): |
62 | 63 |
"""Create and return an instance object""" |
Also available in: Unified diff