Revision 8a147bba lib/objects.py
b/lib/objects.py | ||
---|---|---|
1610 | 1610 |
obj.tcpudp_port_pool = set(obj.tcpudp_port_pool) |
1611 | 1611 |
return obj |
1612 | 1612 |
|
1613 |
def SimpleFillDP(self, diskparams): |
|
1614 |
"""Fill a given diskparams dict with cluster defaults. |
|
1615 |
|
|
1616 |
@param diskparams: The diskparams |
|
1617 |
@return: The defaults dict |
|
1618 |
|
|
1619 |
""" |
|
1620 |
return FillDiskParams(self.diskparams, diskparams) |
|
1621 |
|
|
1613 | 1622 |
def GetHVDefaults(self, hypervisor, os_name=None, skip_keys=None): |
1614 | 1623 |
"""Get the default hypervisor parameters for the cluster. |
1615 | 1624 |
|
Also available in: Unified diff