Add command to print all servers in JSON format

This commit is contained in:
Guillaume Lefranc
2015-02-19 10:07:31 +01:00
parent 39c2c818e0
commit e047247200
2 changed files with 72 additions and 0 deletions

View File

@ -157,6 +157,10 @@ struct subcommand showoptions[] = {
"Show all configured servers",
"Show all configured servers",
{0, 0, 0} },
{ "serverjson", 0, dprintAllServersJson,
"Show all configured servers in JSON format",
"Show all configured servers in JSON format",
{0, 0, 0} },
{ "services", 0, dprintAllServices,
"Show all configured services in MaxScale",
"Show all configured services in MaxScale",