Revision 93a968aa test/py/ganeti.objects_unittest.py
b/test/py/ganeti.objects_unittest.py | ||
---|---|---|
356 | 356 |
|
357 | 357 |
def testNodesDrbdDisks(self): |
358 | 358 |
inst = objects.Instance(name="fakeinstdrbd.example.com", |
359 |
primary_node="node10.example.com",
|
|
359 |
primary_node="node20.example.com",
|
|
360 | 360 |
disks=[ |
361 | 361 |
objects.Disk(dev_type=constants.DT_DRBD8, size=786432, |
362 |
logical_id=("node10.example.com", "node15.example.com",
|
|
362 |
logical_id=("node20.example.com", "node15.example.com",
|
|
363 | 363 |
12300, 0, 0, "secret"), |
364 | 364 |
children=[ |
365 | 365 |
objects.Disk(dev_type=constants.DT_PLAIN, size=786432, |
Also available in: Unified diff