You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficcontrol.apache.org by "rscrimojr@gmail.com" <rs...@gmail.com> on 2017/09/08 19:13:50 UTC

Traffic Ops - Adding Python Client for Traffic Ops, etc.

All,

I am revisiting this topic but going in a different direction based on suggestions from a previous thread.

As per a previous discussion, I am leaving the golang client in the 'apache/incubator-trafficcontrol/traffic_ops/client' tree alone due to dependancies attached to its current location from one or more repos using this client.

I would like to add a Python Traffic Ops Client to the ‘apache/incubator-trafficcontrol’ repository but I have a base class that can be used for more than just a Traffic Ops client. So, I am going to create a new directory off of the root of the repo, called 'traffic_control', to be an umbrella for all clients of traffic control as a whole, moving forward.

I would like to layout the structure as follows to allow for future growth/changes:

NOTE: I will only be adding the python subtree, the others are illustrating future expansion.

/apache/incubator-trafficcontrol
    /traffic_control
        /clients
            python
                trafficops
                ...
            perl
                trafficops
                ...
            bash
                trafficops
                ...
            go_client (future)
                trafficops
                ...
            ...
 
I will take your silence as approval...

Thank you,
-Robert

Re: Traffic Ops - Adding Python Client for Traffic Ops, etc.

Posted by "rscrimojr@gmail.com" <rs...@gmail.com>.

On 2017-09-08 13:13, "rscrimojr@gmail.com"<rs...@gmail.com> wrote: 
> All,
> 
> I am revisiting this topic but going in a different direction based on suggestions from a previous thread.
> 
> As per a previous discussion, I am leaving the golang client in the 'apache/incubator-trafficcontrol/traffic_ops/client' tree alone due to dependancies attached to its current location from one or more repos using this client.
> 
> I would like to add a Python Traffic Ops Client to the ‘apache/incubator-trafficcontrol’ repository but I have a base class that can be used for more than just a Traffic Ops client. So, I am going to create a new directory off of the root of the repo, called 'traffic_control', to be an umbrella for all clients of traffic control as a whole, moving forward.
> 
> I would like to layout the structure as follows to allow for future growth/changes:
> 
> NOTE: I will only be adding the python subtree, the others are illustrating future expansion.
> 
> /apache/incubator-trafficcontrol
>     /traffic_control
>         /clients
>             python
>                 trafficops
>                 ...
>             perl
>                 trafficops
>                 ...
>             bash
>                 trafficops
>                 ...
>             go_client (future)
>                 trafficops
>                 ...
>             ...
>  
> I will take your silence as approval...
> 
> Thank you,
> -Robert
> 

I apologize for the formatting issue: (This is an attempt to correct it.)

/apache/incubator-trafficcontrol
..../traffic_control
......../clients
............/python
.............../trafficops
...............etc.
............/perl
.............../trafficops
...............etc.
............/bash
.............../trafficops
...............etc.
............/go_client (future)
.............../trafficops
...............etc.
............etc.

Robert