Jan Friesse
8ab7743068
cmapctl: Handle corosync errors in print_key func
...
print_key handles only CS_ERR_TRY_AGAIN error. If different error is
returned, print_key loops forewer.
Solution is to handle all errors.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2016-05-17 15:04:50 +02:00
Vladislav Bogdanov
7a4bb37723
corosync-cmapctl: Allow -p option to delete keys
...
Signed-off-by: Vladislav Bogdanov <bubble@hoster-ok.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2014-07-15 15:45:04 +02:00
Jan Friesse
02d758c628
cmapctl: Remove unnecessary access check
...
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2013-06-13 10:53:56 +02:00
Steven Dake
e476a63ef8
Update copyright dates in tools directory
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
2012-02-13 17:05:04 -07:00
Angus Salkeld
2b66a7aa51
cmap: add iterator finalize
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-30 23:07:44 +11:00
Angus Salkeld
4c98780f89
cmap: add -D option to getopt
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-30 23:07:44 +11:00
Angus Salkeld
605204ebb4
cmap: add a delete with prefix (needed by cts)
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-23 13:08:23 +11:00
Angus Salkeld
1b585b831a
cmap: change -t and -T around (capital == with prefix)
...
I want to add a prefic delete option and then these will
not be consistent.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-23 13:08:22 +11:00
Angus Salkeld
aedaa07823
cmap: tweek the usage text
...
1) It wasn't obvious to me what -b did
2) -a has been removed
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-23 13:08:22 +11:00
Angus Salkeld
2e0fcf932b
cmap: add a load option for cts "-p"
...
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-23 13:08:22 +11:00
Fabio M. Di Nitto
3be0f02587
cmapctl: initialize more variables
...
and kill the last gcc warnings
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-13 09:02:39 +01:00
Fabio M. Di Nitto
d73ba6dd87
cmapctl: initialize bit_value and check if it's set
...
more gcc warnings...
Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-13 09:02:25 +01:00
Jan Friesse
aeff976675
cmapctl: Print all keys by default
...
Also remove option -a, because there is no need to hide
internal_configuration.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-11 14:15:22 +01:00
Jan Friesse
739cf05bf1
Add usage text to cmapctl
...
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-09 10:14:31 +01:00
Jan Friesse
d378f02700
Ability to display binary data type in cmapctl
...
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-09 10:14:24 +01:00
Jan Friesse
b11aa1a1c4
Ability to store binary key
...
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-09 10:14:03 +01:00
Jan Friesse
9dfc7d0040
Add cmapctl tool
...
corosync-cmapctl is direct replacement for corosync-objctl
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2011-12-15 09:19:18 +01:00