Revision ffa339ca
b/lib/objects.py | ||
---|---|---|
892 | 892 |
|
893 | 893 |
|
894 | 894 |
class InstancePolicy(ConfigObject): |
895 |
"""Config object representing instance policy limits dictionary.""" |
|
896 |
__slots__ = ["min", "max", "std", "disk_templates"] |
|
895 |
"""Config object representing instance policy limits dictionary. |
|
897 | 896 |
|
897 |
|
|
898 |
Note that this object is not actually used in the config, it's just |
|
899 |
used as a placeholder for a few functions. |
|
900 |
|
|
901 |
""" |
|
898 | 902 |
@classmethod |
899 | 903 |
def CheckParameterSyntax(cls, ipolicy): |
900 | 904 |
""" Check the instance policy for validity. |
Also available in: Unified diff