Package ganeti :: Module objects :: Class Network
[hide private]
[frames] | no frames]

Class Network

source code


Object representing a network definition for ganeti.

Instance Methods [hide private]
 
HooksDict(self, prefix="")
Export a dictionary used by hooks with a network's information.
source code

Inherited from TaggableObject: AddTag, GetTags, RemoveTag, ToDict

Inherited from ConfigObject: Copy, UpgradeConfig, Validate, __eq__, __getattr__, __getstate__, __repr__, __setstate__

Inherited from outils.ValidatedSlots: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
FromDict(cls, val)
Custom function for networks.
source code

Inherited from TaggableObject: ValidateTag

Inherited from outils.ValidatedSlots: GetAllSlots

Class Variables [hide private]

Inherited from TaggableObject: VALID_TAG_RE

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

HooksDict(self, prefix="")

source code 

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

Parameters:
  • prefix (String) - Prefix to prepend to the dict entries

FromDict(cls, val)
Class Method

source code 

Custom function for networks.

Remove deprecated network_type and family.

Overrides: ConfigObject.FromDict