[
https://issues.apache.org/jira/browse/TS-3367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333842#comment-14333842
]
ASF subversion and git services commented on TS-3367:
-
Commit 683a377d199bddb41b1b5497bb894778df44ff90 in trafficserver's branch
refs/heads/master from [~jpe...@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=683a377 ]
TS-3367: add traffic_ctl, a new command-line interface to the management API
traffic_ctl is a new commanline to administer Traffic Server using
the management API. It uses the subcommand pattern, making the
syntax more regular and extensible than traffic_line. This first
implementation is feature-equivalent to traffic_line.
> add a new command line management tool
> --
>
> Key: TS-3367
> URL: https://issues.apache.org/jira/browse/TS-3367
> Project: Traffic Server
> Issue Type: New Feature
> Components: Configuration, Console, Management API
>Reporter: James Peach
>Assignee: James Peach
> Fix For: 5.3.0
>
>
> There's a lot of potential in the management API that can't be exposed in
> {{traffic_line}} due to it's poor command-line interface. Replace this with a
> new tool, {{traffic_ctl}}, which uses a subcommand-oriented interface to
> expose more features in a more regular way.
> For example:
> {code}
> [vagrant@localhost ~]$ sudo /opt/ats/bin/traffic_ctl
> Usage: traffic_ctl [OPTIONS] CMD [ARGS ...]
> Subcommands:
> alarm Manipulate alarms
> cluster Stop, restart and examine the cluster
> config Manipulate configuration records
> metric Manipulate performance metrics
> server Stop, restart and examine the server
> storage Manipulate cache storage
> Options:
> switch__type__default___description
> --debug onfalse Enable debugging output
> -h, --help Print usage information
> -V, --version Print version string
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)