'Get failure mode.'

def get_fail_mode(self):

    value = ''
    if self.exists():
        (rtc, out, err) = self._vsctl(['get-fail-mode', self.bridge])
        if (rtc != 0):
            self.module.fail_json(msg=err)
        value = out.strip('\n')
    return value
