facebookarchive / augmented-traffic-control

Augmented Traffic Control: A tool to simulate network conditions
https://facebook.github.io/augmented-traffic-control
Other
4.33k stars 600 forks source link

Is it possible for me to generate the token for a device I need to shape using an API? #278

Closed VinnieM closed 8 years ago

VinnieM commented 8 years ago

Hi, First of all thank you for such a great tool. We've been using ATC for the past couple of days and it's amazing. The question I have is pretty much against the documentation, is there a way I can generate the token for a mobile device from another machine using an API? E.G. http://192.168.2.130:8000/api/v1/token/[IP_of_mobile_device]. We were thinking of having the a complete test case which can be executed without having to manually get the token from the from the mobile device.

chantra commented 8 years ago

@VinnieM would using --mode unsecure when starting atcd solve your issue?

VinnieM commented 8 years ago

@chantra Thanks a lot.... Worked like a charm.... :+1:

VinnieM commented 8 years ago

Thanks a lot mate, it worked like a charm.

Cheers VM Sent from a Phone running on a Linux Kernel On Wed, Jul 13, 2016 at 5:58 AM, chantra < notifications@github.com [notifications@github.com] > wrote: @VinnieM [https://github.com/VinnieM] would using --mode unsecure when starting atcd solve your issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub [https://github.com/facebook/augmented-traffic-control/issues/278#issuecomment-232221417] , or mute the thread [https://github.com/notifications/unsubscribe/ADq2wYyjRfoxfVywp63-KEcdPfGDCd4vks5qVDEPgaJpZM4JKQrh] .