Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
ce8e0a6b
Commit
ce8e0a6b
authored
Jun 03, 2021
by
Steven Murray
Browse files
FTS-1702
Added --dst_file_report to jobsubmitter.py
parent
04fcfbd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fts3/cli/jobsubmitter.py
View file @
ce8e0a6b
...
...
@@ -41,6 +41,7 @@ DEFAULT_PARAMS = {
'copy_pin_lifetime'
:
-
1
,
'bring_online'
:
-
1
,
'archive_timeout'
:
-
1
,
'dst_file_report'
:
False
,
'timeout'
:
None
,
'fail_nearline'
:
False
,
'retry'
:
0
,
...
...
@@ -145,6 +146,8 @@ class JobSubmitter(Base):
help
=
'bring online timeout in seconds.'
)
self
.
opt_parser
.
add_option
(
'--archive-timeout'
,
dest
=
'archive_timeout'
,
type
=
'long'
,
help
=
'archive timeout in seconds.'
)
self
.
opt_parser
.
add_option
(
'--dst_file_report'
,
dest
=
'dst_file_report'
,
default
=
False
,
action
=
'store_true'
,
help
=
'report on the destination tape file if it already exists and overwrite is off.'
)
self
.
opt_parser
.
add_option
(
'--timeout'
,
dest
=
'timeout'
,
type
=
'long'
,
help
=
'transfer timeout in seconds.'
)
self
.
opt_parser
.
add_option
(
'--fail-nearline'
,
dest
=
'fail_nearline'
,
action
=
'store_true'
,
...
...
@@ -244,6 +247,7 @@ class JobSubmitter(Base):
checksum
=
self
.
checksum
,
bring_online
=
self
.
options
.
bring_online
,
archive_timeout
=
self
.
options
.
archive_timeout
,
dst_file_report
=
self
.
options
.
dst_file_report
,
timeout
=
self
.
options
.
timeout
,
verify_checksum
=
checksum_mode
[
0
],
spacetoken
=
self
.
options
.
destination_token
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment