Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/bundle/bundleanduploadimage.pyo
ó
¡ôXc @ s d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
m Z m Z d d l Z d d l Z d d l m Z m Z d d l m Z d d l m Z d d
l m Z d e e e e f d „ ƒ YZ d S(
iÿÿÿÿN( t Arg( t ClientError( t FileTransferProgressBarMixin( t create_bundle_pipeline( t create_bundle_part_deletert create_bundle_part_writert create_mpconn_aggregator( t BundleCreatingMixint BundleUploadingMixin( t BootstrapRequest( t S3Request( t mkdtemp_for_large_filest BundleAndUploadImagec B sh e Z d Z e d d d d d ƒe d d e d d d d
ƒg Z d „ Z d „ Z d
„ Z d „ Z RS( s0 Prepare and upload an image for use in the clouds --preserve-bundlet actiont
store_truet helps0 do not delete the bundle as it is being uploadeds --max-pending-partst typet defaulti sv pause the bundling process when more than this number
of parts are waiting to be uploaded (default: 2)c C s» | j ƒ t j | ƒ yN t j j | j d | j j d ƒ ƒ| j d <t j j | j
ƒ | j d <Wn' t k
rŽ | j j
d d t ƒn X| j ƒ | j ƒ | j ƒ | j ƒ d S( Nt urlt
bootstrap_urlt bootstrap_servicet bootstrap_auths>