class documentation
class TaggableObject(ConfigObject):
Known subclasses: ganeti.objects.Cluster, ganeti.objects.Instance, ganeti.objects.Network, ganeti.objects.Node, ganeti.objects.NodeGroup
An generic class supporting tags.
| Class Method | |
Custom function for instances. |
| Class Method | |
Check if a tag is valid. |
| Method | |
Add a new tag. |
| Method | |
Return the tags list. |
| Method | |
Remove a tag. |
| Method | |
Taggable-object-specific conversion to standard python types. |
| Constant | VALID |
Undocumented |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | tags |
Undocumented |
Inherited from ConfigObject:
| Method | __getattr__ |
Undocumented |
| Method | __repr__ |
Implement __repr__ for ConfigObjects. |
| Method | __setstate__ |
Undocumented |
| Method | |
Makes a deep copy of the current object and its children. |
| Method | |
Fill defaults for missing configuration values. |
| Method | |
Validates the slots. |
Inherited from ValidatedSlots (via ConfigObject):
| Class Method | |
Compute the list of all declared slots for a class. |
| Method | __init__ |
Constructor for BaseOpCode. |
overrides
ganeti.objects.ConfigObject.FromDictoverridden in
ganeti.objects.Cluster, ganeti.objects.Instance, ganeti.objects.Network, ganeti.objects.Node, ganeti.objects.NodeGroupCustom function for instances.
Check if a tag is valid.
If the tag is invalid, an errors.TagError will be raised. The function has no return value.
overrides
ganeti.objects.ConfigObject.ToDictoverridden in
ganeti.objects.Cluster, ganeti.objects.Instance, ganeti.objects.Node, ganeti.objects.NodeGroupTaggable-object-specific conversion to standard python types.
This replaces the tags set with a list.
overrides
ganeti.objects.ConfigObject.__slots__overridden in
ganeti.objects.Cluster, ganeti.objects.Instance, ganeti.objects.Network, ganeti.objects.Node, ganeti.objects.NodeGroupUndocumented