On 26/07/2016 03:08 μμ, Willy Tarreau wrote: > On Tue, Jul 26, 2016 at 02:05:56PM +0100, Mark Brookes wrote: >>> So for sure I definitely support this proposal :-) >> >> Thats great news. Do you have a JSON structure in mind? >> Or would you like me to come up with something? > > I'm probably the worst ever person to suggest a JSON structure. If you > have any ideas, please bring them on the list. You know how it works, > once nobody criticizes anymore, your design is fine. And you'll just > have to ignore people who complain after the work is done :-) > > Cheers, > Willy >
Here is a suggestion { "frontend": { "www.haproxy.org": { "bin": "999999999999", "lbtot": "555555", ... }, "www.haproxy.com": { "bin": "999999999999", "lbtot": "555555", ... }, }, "backend": { "www.haproxy.org": { "bin": "999999999999", "lbtot": "555555", .... "server": { "srv1": { "bin": "999999999999", "lbtot": "555555", .... }, ... } }, }, "haproxy": { "id1": { "PipesFree": "555", "Process_num": "1", ... }, "id2": { "PipesFree": "555", "Process_num": "2", ... }, ... }, } Cheers, Pavlos
signature.asc
Description: OpenPGP digital signature