Revision 52857176

b/lib/bdev.py
1858 1858

  
1859 1859
    """
1860 1860
    lhost, lport, rhost, rport = net_info
1861
    if None in net_info:
1862
      # we don't want network connection and actually want to make
1863
      # sure its shutdown
1864
      return cls._ShutdownNet(minor)
1865

  
1861 1866
    args = ["drbdsetup", cls._DevPath(minor), "net",
1862 1867
            "%s:%s" % (lhost, lport), "%s:%s" % (rhost, rport), protocol,
1863 1868
            "-A", "discard-zero-changes",

Also available in: Unified diff