Beispiel #1
0
 def describe(self):
     """ returns host information stored in the config as
     well as the basic provider info
     """
     cluster = self.get_onprem_cluster()
     return {
         'bootstrap_host': util.convert_host_list([cluster.bootstrap_host])[0],
         'masters': util.convert_host_list(cluster.get_master_ips()),
         'private_agents': util.convert_host_list(cluster.get_private_agent_ips()),
         'public_agents': util.convert_host_list(cluster.get_public_agent_ips())}
Beispiel #2
0
 def describe(self):
     return {
         'masters': util.convert_host_list(self.stack.get_master_ips()),
         'private_agents': util.convert_host_list(self.stack.get_private_agent_ips()),
         'public_agents': util.convert_host_list(self.stack.get_public_agent_ips())}