Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad orelse Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad While AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Call NameLoad Str Dict Str Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad While AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A 
Utility classes for defining the time saving transfer of data from the reader
to the write using a LightQueue as a Pipe between the reader and the writer.
 eventlet event eventlet greenthread eventlet.queue LightQueue glance client nova exception nova log logging N/A LOG N/A N/A logging getLogger nova.virt.vmwareapi.io_util N/A IO_THREAD_SLEEP_TIME 0.01 N/A GLANCE_POLL_INTERVAL 5 ThreadSafePipe N/A LightQueue N/A N/A The pipe to hold the data which the reader writes to and the writer
    reads from. __init__ N/A N/A self maxsize transfer_size N/A N/A N/A N/A N/A LightQueue __init__ self maxsize N/A N/A self transfer_size transfer_size N/A N/A self transferred 0 N/A read N/A N/A self chunk_size N/A N/A N/A Read data from the pipe. Chunksize if ignored for we have ensured
        that the data chunks written to the pipe by readers is the same as the
        chunks asked for by the Writer. N/A N/A N/A self transferred N/A self transfer_size N/A N/A data_item N/A N/A self get N/A N/A self transferred N/A len data_item N/A data_item N/A N/A N/A write N/A N/A self data N/A N/A N/A Put a data item in the pipe. N/A N/A N/A self put data N/A close N/A N/A self N/A N/A N/A A place-holder to maintain consistency. N/A N/A N/A GlanceWriteThread N/A object N/A N/A Ensures that image data is written to in the glance client and that
    it is in correct ('active')state. __init__ N/A N/A self input glance_client image_id image_meta N/A None N/A N/A N/A image_meta N/A N/A image_meta N/A N/A N/A self input input N/A N/A self glance_client glance_client N/A N/A self image_id image_id N/A N/A self image_meta image_meta N/A N/A self _running False N/A start N/A N/A self N/A N/A N/A N/A self done N/A N/A event Event _inner N/A N/A N/A N/A N/A Function to do the image data transfer through an update
            and thereon checks if the state is 'active'. N/A N/A N/A N/A self glance_client update_image N/A self image_id image_meta N/A self image_meta image_data N/A self input N/A N/A self _running True N/A N/A self _running N/A N/A N/A N/A image_status N/A N/A N/A N/A N/A self glance_client get_image_meta N/A self image_id get status N/A N/A image_status active N/A N/A N/A N/A self stop N/A N/A N/A N/A self done send True N/A N/A N/A image_status killed N/A N/A N/A N/A self stop N/A exc_msg N/A N/A _ Glance image %s is in killed state N/A self image_id N/A N/A N/A LOG exception exc_msg N/A N/A N/A N/A self done send_exception N/A N/A exception Error exc_msg N/A N/A N/A image_status N/A saving queued N/A N/A N/A N/A greenthread sleep GLANCE_POLL_INTERVAL N/A N/A N/A N/A self stop N/A exc_msg N/A N/A _ Glance image %(image_id)s is in unknown state - %(state)s N/A image_id state N/A self image_id image_status N/A N/A N/A LOG exception exc_msg N/A N/A N/A N/A self done send_exception N/A N/A exception Error exc_msg N/A N/A N/A Exception N/A exc N/A N/A N/A N/A self stop N/A N/A N/A N/A self done send_exception exc N/A N/A N/A N/A greenthread spawn _inner N/A N/A self done N/A stop N/A N/A self N/A N/A N/A N/A self _running False N/A wait N/A N/A self N/A N/A N/A N/A N/A N/A self done wait N/A close N/A N/A self N/A N/A N/A N/A N/A IOThread N/A object N/A N/A Class that reads chunks from the input file and writes them to the
    output file till the transfer is completely done. __init__ N/A N/A self input output N/A N/A N/A N/A self input input N/A N/A self output output N/A N/A self _running False N/A N/A self got_exception False N/A start N/A N/A self N/A N/A N/A N/A self done N/A N/A event Event _inner N/A N/A N/A N/A N/A Read data from the input and write the same to the output
            until the transfer completes. N/A N/A self _running True N/A N/A self _running N/A N/A N/A N/A data N/A N/A N/A self input read None N/A N/A data N/A N/A N/A N/A self stop N/A N/A N/A N/A self done send True N/A N/A N/A N/A self output write data N/A N/A N/A greenthread sleep IO_THREAD_SLEEP_TIME N/A N/A N/A Exception N/A exc N/A N/A N/A N/A self stop N/A N/A N/A LOG exception exc N/A N/A N/A N/A self done send_exception exc N/A N/A N/A N/A greenthread spawn _inner N/A N/A self done N/A stop N/A N/A self N/A N/A N/A N/A self _running False N/A wait N/A N/A self N/A N/A N/A N/A N/A N/A self done wait N/A N/A