Rewrite the topology building algorithm to be non-recursive
Rewrite the topology building algorithm to be non-recursive

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic