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

Class NIC

source code


Config object representing a network card.

Instance Methods [hide private]
 
UpgradeConfig(self)
Fill defaults for missing configuration values.
source code

Inherited from ConfigObject: Copy, ToDict, __getattr__, __getstate__, __init__, __repr__, __setstate__

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

Class Methods [hide private]
 
CheckParameterSyntax(cls, nicparams)
Check the given parameters for validity.
source code

Inherited from ConfigObject: FromDict

Inherited from ConfigObject (private): _all_slots

Static Methods [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

CheckParameterSyntax(cls, nicparams)
Class Method

source code 

Check the given parameters for validity.

Parameters:
  • nicparams (dict) - dictionary with parameter names/value
Raises:

UpgradeConfig(self)

source code 

Fill defaults for missing configuration values.

Overrides: ConfigObject.UpgradeConfig