'Set failure mode.'

def set_fail_mode(self):

    if self.exists():
        (rtc, _, err) = self._vsctl(['set-fail-mode', self.bridge, self.fail_mode])
        if (rtc != 0):
            self.module.fail_json(msg=err)
