Revision 06596a60 lib/objects.py
b/lib/objects.py | ||
---|---|---|
1002 | 1002 |
def SimpleFillBE(self, beparams): |
1003 | 1003 |
"""Fill a given beparams dict with cluster defaults. |
1004 | 1004 |
|
1005 |
@type beparam: dict |
|
1006 |
@param beparam: the dict to fill |
|
1005 |
@type beparams: dict
|
|
1006 |
@param beparams: the dict to fill
|
|
1007 | 1007 |
@rtype: dict |
1008 | 1008 |
@return: a copy of the passed in beparams with missing keys filled |
1009 | 1009 |
from the cluster defaults |
... | ... | |
1026 | 1026 |
def SimpleFillNIC(self, nicparams): |
1027 | 1027 |
"""Fill a given nicparams dict with cluster defaults. |
1028 | 1028 |
|
1029 |
@type nicparam: dict |
|
1030 |
@param nicparam: the dict to fill |
|
1029 |
@type nicparams: dict
|
|
1030 |
@param nicparams: the dict to fill
|
|
1031 | 1031 |
@rtype: dict |
1032 | 1032 |
@return: a copy of the passed in nicparams with missing keys filled |
1033 | 1033 |
from the cluster defaults |
Also available in: Unified diff