Revision 91ae95fd lib/backend.py
b/lib/backend.py | ||
---|---|---|
375 | 375 |
|
376 | 376 |
@RunLocalHooks(constants.FAKE_OP_MASTER_TURNDOWN, "master-ip-turndown", |
377 | 377 |
_BuildMasterIpEnv) |
378 |
def DeactivateMasterIp(master_ip, master_netmask, master_netdev): |
|
378 |
def DeactivateMasterIp(master_ip, master_netmask, master_netdev, family):
|
|
379 | 379 |
"""Deactivate the master IP on this node. |
380 | 380 |
|
381 | 381 |
@param master_ip: the master IP |
382 | 382 |
@param master_netmask: the master IP netmask |
383 | 383 |
@param master_netdev: the master network device |
384 |
@param family: the IP family |
|
384 | 385 |
|
385 | 386 |
""" |
387 |
# pylint: disable=W0613 |
|
386 | 388 |
# TODO: log and report back to the caller the error failures; we |
387 | 389 |
# need to decide in which case we fail the RPC for this |
388 | 390 |
|
Also available in: Unified diff