The freezer_dr.fencers.drivers.ipmi.driver Module

class freezer_dr.fencers.drivers.ipmi.driver.IpmiDriver(nodes, fencer_conf)[source]

Bases: freezer_dr.fencers.common.driver.FencerBaseDriver

fence()[source]

Implements the fencing procedure for server fencing using ipmi :return: a list of nodes and weather they’re fenced or not!

force_shutdown()[source]
get_info()[source]
get_node_details(node)[source]

Loads the node’s fencing information from credentials_file :param node: a dict contains node ip or hostname :return: a dict contains node fencing information

graceful_shutdown()[source]
power_on()[source]
prepare_node(node)[source]

Prepares the subprocess to call ipmitool with the node details! :param node: dict contains node fencing information

status()[source]