Revision cf048aea lib/objects.py
b/lib/objects.py | ||
---|---|---|
1577 | 1577 |
"disk_state_static", |
1578 | 1578 |
"enabled_disk_templates", |
1579 | 1579 |
"candidate_certs", |
1580 |
"max_running_jobs", |
|
1580 | 1581 |
] + _TIMESTAMPS + _UUID |
1581 | 1582 |
|
1582 | 1583 |
def UpgradeConfig(self): |
... | ... | |
1702 | 1703 |
if self.candidate_certs is None: |
1703 | 1704 |
self.candidate_certs = {} |
1704 | 1705 |
|
1706 |
if self.max_running_jobs is None: |
|
1707 |
self.max_running_jobs = constants.LUXID_MAXIMAL_RUNNING_JOBS_DEFAULT |
|
1708 |
|
|
1705 | 1709 |
@property |
1706 | 1710 |
def primary_hypervisor(self): |
1707 | 1711 |
"""The first hypervisor is the primary. |
Also available in: Unified diff