'Get variables about a specific host'

def get_host_info(self):

    if (len(self.index) == 0):
        self.load_index_from_cache()
    if (self.args.host not in self.index):
        self.do_api_calls_update_cache()
        if (self.args.host not in self.index):
            return self.json_format_dict({}, True)
    (region, instance_id) = self.index[self.args.host]
    instance = self.get_instance(region, instance_id)
    return self.json_format_dict(self.get_host_info_dict_from_instance(instance), True)
