]> git.proxmox.com Git - mirror_corosync.git/commit
vqsim: Enhance vqsim
authorChristine Caulfield <ccaulfie@redhat.com>
Fri, 26 Apr 2019 09:54:32 +0000 (10:54 +0100)
committerJan Friesse <jfriesse@redhat.com>
Mon, 13 May 2019 09:04:24 +0000 (11:04 +0200)
commitc3d69712c614deea688b7cfe0975976ecca60a2d
treec251c3e78562f0821397cf73111f96f8a15358d9
parent01ce5a96ef9dea2d517d84abec7aecc6af99e7aa
vqsim: Enhance vqsim

1. Enable scripting of vqsim and add man page

I've added a 'sleep' command to help with scripting as well as
documentation on how to do it.

2. Make 'sync' operation much more robust and useful

Refactored a lot of code to make sure that in sync mode the
prompt appears at the 'right' time. What we do is wait for all
of the nodes in all partitions to have the same ring_id. If this
doesn't happen then the timeout will fire as before.

3. Rename binary to corosync-vqsim and add a sub-package for it

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
configure.ac
corosync.spec.in
man/Makefile.am
man/corosync-vqsim.8 [new file with mode: 0644]
vqsim/Makefile.am
vqsim/parser.c
vqsim/vqmain.c
vqsim/vqsim.h
vqsim/vqsim_vq_engine.c