Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
1af62fcd
Commit
1af62fcd
authored
6 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[cta-admin] Adds options to "failedrequest ls" command
parent
94a693e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmdline/CtaAdminCmdParse.hpp
+10
-3
10 additions, 3 deletions
cmdline/CtaAdminCmdParse.hpp
xrootd-ssi-protobuf-interface
+1
-1
1 addition, 1 deletion
xrootd-ssi-protobuf-interface
with
11 additions
and
4 deletions
cmdline/CtaAdminCmdParse.hpp
+
10
−
3
View file @
1af62fcd
...
...
@@ -259,8 +259,11 @@ const std::map<std::string, OptionBoolean::Key> boolOptions = {
{
"--checkchecksum"
,
OptionBoolean
::
CHECK_CHECKSUM
},
{
"--extended"
,
OptionBoolean
::
EXTENDED
},
{
"--header"
,
OptionBoolean
::
SHOW_HEADER
},
{
"--just
expand
"
,
OptionBoolean
::
JUST
EXPAND
},
{
"--just
archive
"
,
OptionBoolean
::
JUST
ARCHIVE
},
{
"--justrepack"
,
OptionBoolean
::
JUSTREPACK
},
{
"--justexpand"
,
OptionBoolean
::
JUSTEXPAND
},
{
"--justretrieve"
,
OptionBoolean
::
JUSTRETRIEVE
},
{
"--log"
,
OptionBoolean
::
SHOW_LOG_ENTRIES
},
{
"--summary"
,
OptionBoolean
::
SUMMARY
}
};
...
...
@@ -387,10 +390,13 @@ const Option opt_hostname_alias { Option::OPT_STR, "--name",
"--hostname"
};
const
Option
opt_input
{
Option
::
OPT_STR
,
"--input"
,
"-i"
,
" <
\"
zero
\"
or
\"
urandom
\"
>"
};
const
Option
opt_instance
{
Option
::
OPT_STR
,
"--instance"
,
"-i"
,
" <instance_name>"
};
const
Option
opt_just
expand
{
Option
::
OPT_FLAG
,
"--just
expand
"
,
"-
e
"
,
""
};
const
Option
opt_just
archive
{
Option
::
OPT_FLAG
,
"--just
archive
"
,
"-
a
"
,
""
};
const
Option
opt_justrepack
{
Option
::
OPT_FLAG
,
"--justrepack"
,
"-r"
,
""
};
const
Option
opt_justexpand
{
Option
::
OPT_FLAG
,
"--justexpand"
,
"-e"
,
""
};
const
Option
opt_justretrieve
{
Option
::
OPT_FLAG
,
"--justretrieve"
,
"-r"
,
""
};
const
Option
opt_lastfseq
{
Option
::
OPT_UINT
,
"--lastfseq"
,
"-l"
,
" <last_fseq>"
};
const
Option
opt_lbp
{
Option
::
OPT_BOOL
,
"--lbp"
,
"-p"
,
" <
\"
true
\"
or
\"
false
\"
>"
};
const
Option
opt_log
{
Option
::
OPT_FLAG
,
"--log"
,
"-l"
,
""
};
const
Option
opt_logicallibrary
{
Option
::
OPT_STR
,
"--logicallibrary"
,
"-l"
,
" <logical_library_name>"
};
const
Option
opt_logicallibrary_alias
{
Option
::
OPT_STR
,
"--name"
,
"-n"
,
" <logical_library_name>"
,
"--logicallibrary"
};
...
...
@@ -451,7 +457,8 @@ const std::map<cmd_key_t, cmd_val_t> cmdOptions = {
{{
AdminCmd
::
CMD_DRIVE
,
AdminCmd
::
SUBCMD_DOWN
},
{
opt_drivename_cmd
,
opt_force_flag
.
optional
()
}},
{{
AdminCmd
::
CMD_DRIVE
,
AdminCmd
::
SUBCMD_LS
},
{
opt_drivename_cmd
.
optional
()
}},
{{
AdminCmd
::
CMD_DRIVE
,
AdminCmd
::
SUBCMD_RM
},
{
opt_drivename_cmd
,
opt_force_flag
.
optional
()
}},
{{
AdminCmd
::
CMD_FAILEDREQUEST
,
AdminCmd
::
SUBCMD_LS
},
{
}},
{{
AdminCmd
::
CMD_FAILEDREQUEST
,
AdminCmd
::
SUBCMD_LS
},
{
opt_header
.
optional
(),
opt_justarchive
.
optional
(),
opt_justretrieve
.
optional
(),
opt_log
.
optional
(),
opt_summary
.
optional
()
}},
{{
AdminCmd
::
CMD_FAILEDREQUEST
,
AdminCmd
::
SUBCMD_SHOW
},
{
opt_copynb
.
optional
()
}},
{{
AdminCmd
::
CMD_FAILEDREQUEST
,
AdminCmd
::
SUBCMD_RETRY
},
{
opt_copynb
.
optional
()
}},
{{
AdminCmd
::
CMD_FAILEDREQUEST
,
AdminCmd
::
SUBCMD_RM
},
{
opt_copynb
.
optional
()
}},
...
...
This diff is collapsed.
Click to expand it.
xrootd-ssi-protobuf-interface
@
515045f3
Subproject commit
daf62abeb0b1c84f1754ae
3f26
404d47c46f6242
Subproject commit
515045f34d
3f
c
26
d8259b548b469e7d025468a61
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment