Revision f38478b2 lib/bdev.py
b/lib/bdev.py | ||
---|---|---|
1806 | 1806 |
""" |
1807 | 1807 |
lhost, lport, rhost, rport = net_info |
1808 | 1808 |
args = ["drbdsetup", cls._DevPath(minor), "net", |
1809 |
"%s:%s" % (lhost, lport), "%s:%s" % (rhost, rport), |
|
1810 |
protocol] |
|
1809 |
"%s:%s" % (lhost, lport), "%s:%s" % (rhost, rport), protocol, |
|
1810 |
"-A", "discard-zero-changes", |
|
1811 |
"-B", "consensus", |
|
1812 |
] |
|
1811 | 1813 |
if dual_pri: |
1812 | 1814 |
args.append("-m") |
1813 | 1815 |
if hmac and secret: |
Also available in: Unified diff