Package ganeti :: Package storage :: Module drbd_cmdgen
[hide private]
[frames] | no frames]

Module drbd_cmdgen

source code

DRBD command generating classes

Classes [hide private]
  BaseDRBDCmdGenerator
Base class for DRBD command generators.
  DRBD83CmdGenerator
Generates drbdsetup commands suited for the DRBD <= 8.3 syntax.
  DRBD84CmdGenerator
Generates drbdsetup commands suited for the DRBD >= 8.4 syntax.

Imports: logging, shlex, constants, errors