Revision 8a5d326f lib/objects.py
b/lib/objects.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
1596 | 1596 |
"enabled_disk_templates", |
1597 | 1597 |
"candidate_certs", |
1598 | 1598 |
"max_running_jobs", |
1599 |
"instance_communication_network", |
|
1599 | 1600 |
] + _TIMESTAMPS + _UUID |
1600 | 1601 |
|
1601 | 1602 |
def UpgradeConfig(self): |
... | ... | |
1730 | 1731 |
if self.max_running_jobs is None: |
1731 | 1732 |
self.max_running_jobs = constants.LUXID_MAXIMAL_RUNNING_JOBS_DEFAULT |
1732 | 1733 |
|
1734 |
if self.instance_communication_network is None: |
|
1735 |
self.instance_communication_network = "" |
|
1736 |
|
|
1733 | 1737 |
@property |
1734 | 1738 |
def primary_hypervisor(self): |
1735 | 1739 |
"""The first hypervisor is the primary. |
Also available in: Unified diff