diff options
author | Stanislav Laznicka <slaznick@redhat.com> | 2016-06-23 16:07:18 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2016-06-24 13:32:02 +0200 |
commit | 5b5258b01081aa9ad4bf83907941c1c2d8a47722 (patch) | |
tree | 8aaf86fe5e73daab1240e667e559d59bd48ba0e9 /ipaserver/topology.py | |
parent | b081023c3af8e001a16377d129f41c5a201d56be (diff) | |
download | freeipa-5b5258b01081aa9ad4bf83907941c1c2d8a47722.tar.gz freeipa-5b5258b01081aa9ad4bf83907941c1c2d8a47722.tar.xz freeipa-5b5258b01081aa9ad4bf83907941c1c2d8a47722.zip |
Fix topologysuffix-verify failing connections
topologysuffix-verify would have checked connectivity even between hosts that
are not managed by the given suffix.
https://fedorahosted.org/freeipa/ticket/5967
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipaserver/topology.py')
-rw-r--r-- | ipaserver/topology.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/topology.py b/ipaserver/topology.py index 27c3b29a4..385da29a6 100644 --- a/ipaserver/topology.py +++ b/ipaserver/topology.py @@ -70,7 +70,7 @@ def get_topology_connection_errors(graph): return connect_errors -def _map_masters_to_suffixes(masters): +def map_masters_to_suffixes(masters): masters_to_suffix = {} for master in masters: @@ -97,7 +97,7 @@ def _create_topology_graphs(api_instance): masters = api_instance.Command.server_find( u'', sizelimit=0, no_members=False)['result'] - suffix_to_masters = _map_masters_to_suffixes(masters) + suffix_to_masters = map_masters_to_suffixes(masters) topology_graphs = {} |