backend/director admin states

Poul-Henning Kamp phk at phk.freebsd.dk
Fri May 4 06:53:40 UTC 2018


--------
In message <CABoVN9AgQu6tv=1UfRLxfgrmuv6+xL-q6cEKjtsO90bw6Zc7CA at mail.gmail.com>
, Dridi Boukelmoune writes:
>On Thu, May 3, 2018 at 1:04 PM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>> --------
>> In message <CAJ6ZYQx3vsFtWeTHpoU+ifgKjPDQv3=sH=c5Q-ZxFqJCU0kPEw at mail.gmail.com>
>> , Guillaume Quintard writes:
>>
>>>All commands should have a JSON option, I reckon.
>>
>> Somebody should write more code for it then, I reckon :-)
>
>Maybe we should do that the other way around? Have all CLI commands
>reply with a JSON data structure, and CLI consumers like varnishadm,
>varnishtest or varnishd -d be able to output it in plain text (with
>this code centralized in libvarnish and exposed in libvarnishapi).

I thought about that, but didn't move on it, as I didn't want to
write all the code myself ;-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the varnish-dev mailing list