Revision 8da2bd43 lib/backend.py
b/lib/backend.py | ||
---|---|---|
298 | 298 |
|
299 | 299 |
@RunLocalHooks(constants.FAKE_OP_MASTER_TURNUP, "master-ip-turnup", |
300 | 300 |
_BuildMasterIpHookEnv) |
301 |
def ActivateMasterIp(): |
|
301 |
def ActivateMasterIp(master_ip, master_netmask, master_netdev, family):
|
|
302 | 302 |
"""Activate the IP address of the master daemon. |
303 | 303 |
|
304 |
@param master_ip: the master IP |
|
305 |
@param master_netmask: the master IP netmask |
|
306 |
@param master_netdev: the master network device |
|
307 |
@param family: the IP family |
|
308 |
|
|
304 | 309 |
""" |
305 | 310 |
# GetMasterInfo will raise an exception if not able to return data |
306 | 311 |
master_netdev, master_ip, _, family, master_netmask = GetMasterInfo() |
Also available in: Unified diff