Uploading images

Uploading images

Call the image upload manager:

manager = ImageUploadManager(['path/to/config.yaml'])
manager.upload()
class tripleo_common.image.image_uploader.ImageUploadManager(config_files=None, dry_run=False, cleanup='full', mirrors=None, registry_credentials=None, multi_arch=False, lock=None)

Manage the uploading of image files

Manage the uploading of images from a config file specified in YAML syntax. Multiple config files can be specified. They will be merged.

upload()

Start the upload process

Multiple config files

Multiple config files can be passed to the ImageUploadManager. Attributes are set by the first encountered with the ‘imagename’ attribute being the primary key.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.