summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-06-30 10:14:36 +1000
committerMartin Schwenke <martin@meltin.net>2014-07-02 14:17:18 +1000
commit38cef6cddeb4f526144634bfc073d525fd139abf (patch)
treebcf535021162d44e71d7ee573a497d2fa578e00e
parentb0eab33ac5e7a054d507281e8266a746de0c73ed (diff)
downloadautocluster-38cef6cddeb4f526144634bfc073d525fd139abf.tar.gz
autocluster-38cef6cddeb4f526144634bfc073d525fd139abf.tar.xz
autocluster-38cef6cddeb4f526144634bfc073d525fd139abf.zip
Remove unused has_public_addresses_* functions
They have been unused since public address generation was changed. Signed-off-by: Martin Schwenke <martin@meltin.net>
-rw-r--r--config.d/00base.defconf10
-rw-r--r--config.d/50sofs.defconf11
2 files changed, 0 insertions, 21 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf
index 3fe969b..d58ee03 100644
--- a/config.d/00base.defconf
+++ b/config.d/00base.defconf
@@ -239,11 +239,6 @@ defconf DNSSEARCH "$DOMAIN" \
defconf NETWORKS "10.0.0.0/24,eth0,gw=10.0.0.1 10.0.1.0/24,eth1 10.0.2.0/24,eth2" \
"<list>" "description of IP networks"
-has_public_addresses_DEFAULT ()
-{
- false
-}
-
make_public_addresses()
{
local firstip="${1:-$[${FIRSTIP} + ${PUBLIC_IP_OFFSET}]}"
@@ -553,11 +548,6 @@ create_node_rhel_base ()
create_node_COMMON "$name" "$ip_offset" "$type"
}
-has_public_addresses_rhel_base ()
-{
- true
-}
-
##############################
# Authentication method
diff --git a/config.d/50sofs.defconf b/config.d/50sofs.defconf
index 88f402d..053775a 100644
--- a/config.d/50sofs.defconf
+++ b/config.d/50sofs.defconf
@@ -72,17 +72,6 @@ create_node_sofs_storage ()
create_node_COMMON "$name" "$ip_offset" "$type"
}
-has_public_addresses_rhel_base ()
-{
- # rhel_base nodes have public addresses if there are no sofs_* nodes.
- [ "${NODES/sofs_*:/}" = "$NODES" ]
-}
-
-has_public_addresses_sofs_front ()
-{
- true
-}
-
shared_disk_iscsi_setup_base ()
{
# Do the iSCSI setup on this node if there are no sofs_storage nodes