def upload(self):

        self.logger.info('Using config files: %s' % self.config_files)

        upload_images = self.load_config_files(self.CONFIG_SECTIONS[1])

        for item in upload_images:
            image_name = item.get('imagename')
            uploader = item.get('uploader')
            pull_source = item.get('pull_source')
            push_destination = item.get('push_destination')

            self.logger.info('imagename: %s' % image_name)

            uploader = ImageUploader.get_uploader(uploader)
            uploader.upload_image(image_name, pull_source, push_destination)

        return upload_images  # simply to make test validation easier
Start the upload process
dataset/ETHPy150Open openstack/tripleo-common/tripleo_common/image/image_uploader.py/ImageUploadManager.upload