def use_inactive_nodes(): """Operate on inactive nodes: not current per cluster id sequence, not behind load balancer / virtual IP.""" for node in classify_nodes()[INACTIVE]: use(node)
def use_orphan_nodes(): """Operate on orphan nodes: current per cluster id sequence, but not behind load balancer / virtual IP.""" for node in classify_nodes()[ORPHAN]: use(node)
def use_extra_nodes(): """Operate on extra nodes: not current per cluster id sequence, but behind load balancer.""" for node in classify_nodes()[EXTRA]: use(node)