Revision 855d2fc7
b/lib/backend.py | ||
---|---|---|
2878 | 2878 |
if port: |
2879 | 2879 |
cmd.append("--port=%s" % port) |
2880 | 2880 |
|
2881 |
if opts.ipv6: |
|
2882 |
cmd.append("--ipv6") |
|
2883 |
else: |
|
2884 |
cmd.append("--ipv4") |
|
2885 |
|
|
2881 | 2886 |
if opts.compress: |
2882 | 2887 |
cmd.append("--compress=%s" % opts.compress) |
2883 | 2888 |
|
b/lib/objects.py | ||
---|---|---|
1334 | 1334 |
@ivar ca_pem: Remote peer CA in PEM format (None for cluster certificate) |
1335 | 1335 |
@ivar compress: Compression method (one of L{constants.IEC_ALL}) |
1336 | 1336 |
@ivar magic: Used to ensure the connection goes to the right disk |
1337 |
@ivar ipv6: Whether to use IPv6 |
|
1337 | 1338 |
|
1338 | 1339 |
""" |
1339 | 1340 |
__slots__ = [ |
... | ... | |
1341 | 1342 |
"ca_pem", |
1342 | 1343 |
"compress", |
1343 | 1344 |
"magic", |
1345 |
"ipv6", |
|
1344 | 1346 |
] |
1345 | 1347 |
|
1346 | 1348 |
|
Also available in: Unified diff