You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/30 19:34:12 UTC

[jira] [Commented] (TS-4380) traffic_ctl support for server start and stop

    [ https://issues.apache.org/jira/browse/TS-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265385#comment-15265385 ] 

ASF GitHub Bot commented on TS-4380:
------------------------------------

GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/608

    TS-4380: traffic_ctl support for server start and stop

    Add ``traffic_ctl`` support for ``server start`` and ``server stop`` subcommands. Initially I thought that these weren't used, but the SaltStack traffic server module use them.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver jpeach/traffic-ctl-server-ops

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/608.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #608
    
----
commit 09aeadef283ad793443418bddbc2871b350c1411
Author: James Peach <jp...@apache.org>
Date:   2016-04-30T16:33:29Z

    TS-4380: Move ProxyShutdown to CoreAPI.cc.
    
    ProxyShutdown is only used in one place, so there's no need for a
    global symbol. Move it locally and make it static.

commit 65ab2bbba4013f8f4a7057a04970e8dec68d3cda
Author: James Peach <jp...@apache.org>
Date:   2016-04-24T21:12:22Z

    TS-4380: Make TSCacheClearT a bitmask.
    
    Make TSCacheClearT a bitmask so that on server restart we will be
    able to clear the cache, hostdb or both.

commit 3cff8ccaef82fccf10371fbbf3e6095c7a9fa8cb
Author: James Peach <jp...@apache.org>
Date:   2016-04-24T21:30:56Z

    TS-4380: Initial traffic_ctl support for server start/stop.
    
    Implement a basic version of the "server start" and "server stop"
    subcommands for traffic_ctl. This brings feature parity with
    traffic_line.

----


> traffic_ctl support for server start and stop
> ---------------------------------------------
>
>                 Key: TS-4380
>                 URL: https://issues.apache.org/jira/browse/TS-4380
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Management API
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.0.0
>
>
> To support the [salt module|https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.trafficserver.html], {{traffic_ctl}} needs to support {{server start}} and {{server stop}} subcommands. 
> We should support the {{\-\-clear-cache}} and {{\-\-clear-hostdb}} options to these subcommand.
> We should add support for {{\-\-clear-cache}} and {{\-\-clear-hostdb}} to the {{server restart}} subcommand.
> We should add support for {{\-\-drain}} to the {{server stop}} subcommand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)