diff options
author | Martin Schwenke <martin@meltin.net> | 2015-03-16 15:21:19 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2015-03-16 15:49:59 +1100 |
commit | 604ac38ad38f7b920b72b8011d8ada0896aacac0 (patch) | |
tree | ea65316124d640794028a65a731c6e2b395d585f /Makefile | |
parent | ea99d69a193cac8e1a34992a993941dd428aeb5e (diff) | |
download | autocluster-604ac38ad38f7b920b72b8011d8ada0896aacac0.tar.gz autocluster-604ac38ad38f7b920b72b8011d8ada0896aacac0.tar.xz autocluster-604ac38ad38f7b920b72b8011d8ada0896aacac0.zip |
Remove internal use of vircmd
It is too easy to clobber/interact with domains that are no specified
in the cluster configuration.
Replace use of vircmd with new function virsh_cluster(). The only
possible loss here is that unmatched nodes may not be destroyed, so
duplicate IP addresses might occur when cluster configuration changes.
To try to avoid this a warning is printed by virsh_cluster() when
domains that are not part of the cluster are found to match
CLUSTER/CLUSTER_PATTERN.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions