def DrbdDisconnectNet(disks):
  bdevs = _FindDisks(disks)

  # disconnect disks
  for rd in bdevs:
    try:
      rd.DisconnectNet()
    except errors.BlockDeviceError, err:
      _Fail("Can't change network configuration to standalone mode: %s",
            err, exc=True)
Disconnects the network on a list of drbd devices.
dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/DrbdDisconnectNet