class documentation

Object representing a network definition for ganeti.

Class Method FromDict Custom function for networks.
Method HooksDict Export a dictionary used by hooks with a network's information.
Class Variable __slots__ Undocumented

Inherited from TaggableObject:

Class Method ValidateTag Check if a tag is valid.
Method AddTag Add a new tag.
Method GetTags Return the tags list.
Method RemoveTag Remove a tag.
Method ToDict Taggable-object-specific conversion to standard python types.
Constant VALID_TAG_RE Undocumented
Instance Variable tags Undocumented

Inherited from ConfigObject (via TaggableObject):

Method __getattr__ Undocumented
Method __repr__ Implement __repr__ for ConfigObjects.
Method __setstate__ Undocumented
Method Copy Makes a deep copy of the current object and its children.
Method UpgradeConfig Fill defaults for missing configuration values.
Method Validate Validates the slots.

Inherited from ValidatedSlots (via TaggableObject, ConfigObject):

Class Method GetAllSlots Compute the list of all declared slots for a class.
Method __init__ Constructor for BaseOpCode.
@classmethod
def FromDict(cls, val):

Custom function for networks.

Remove deprecated network_type and family.

def HooksDict(self, prefix=''):

Export a dictionary used by hooks with a network's information.

Parameters
prefix:StringPrefix to prepend to the dict entries
__slots__ =