Skip to content
Snippets Groups Projects
Commit ffa339ca authored by Iustin Pop's avatar Iustin Pop
Browse files

Clarification on what objects.InstancePolicy is


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 12378fe3
No related branches found
No related tags found
No related merge requests found
......@@ -892,9 +892,13 @@ class Disk(ConfigObject):
class InstancePolicy(ConfigObject):
"""Config object representing instance policy limits dictionary."""
__slots__ = ["min", "max", "std", "disk_templates"]
"""Config object representing instance policy limits dictionary.
Note that this object is not actually used in the config, it's just
used as a placeholder for a few functions.
"""
@classmethod
def CheckParameterSyntax(cls, ipolicy):
""" Check the instance policy for validity.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment