Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3367

Add a new command line management tool

    XMLWordPrintableJSON

Details

    Description

      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:

      [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             on    false     Enable debugging output
        -h, --help                              Print usage information
        -V, --version                           Print version string
      

      Attachments

        Issue Links

          Activity

            People

              jamespeach James Peach
              jamespeach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: