]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: implement delete server cli command
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Apr 2021 12:41:20 +0000 (14:41 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 21 Apr 2021 09:00:31 +0000 (11:00 +0200)
commite558043e13fd649c58cb42006ef0d97f4f8937b8
treeb4fec798bdb4065c60d51a2613fb22df40064d95
parentd38e7fa233b4d669fad316470eac38221360f595
MINOR: server: implement delete server cli command

Implement a new CLI command 'del server'. It can be used to removed a
dynamically added server. Only servers in maintenance mode can be
removed, and without pending/active/idle connection on it.

Add a new reg-test for this feature. The scenario of the reg-test need
to first add a dynamic server. It is then deleted and a client is used
to ensure that the server is non joinable.

The management doc is updated with the new command 'del server'.
doc/management.txt
reg-tests/server/cli_delete_server.vtc [new file with mode: 0644]
src/server.c