Module Import alias Import alias Import alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr body Return Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn AttributeLoad NameLoad attr TupleLoad Str Str If NameLoad body For NameStore NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr body Assign NameStore NameLoad Break If BoolOpAnd UnaryOpNot NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore Call NameLoad GeneratorExp TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad comprehension NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Break handlers ExceptHandler type NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Break orelse For NameStore NameLoad body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore NameLoad Break If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad If NameLoad body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return TupleLoad BoolOpOr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BoolOpOr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad NameLoad NameLoad NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore NameLoad Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr IfExp NameLoad BinOpMod Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpAdd NameLoad NameLoad Num While BoolOpOr UnaryOpNot NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body If CompareIn Call AttributeLoad NameLoad attr TupleLoad Str Str body Break Expr Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad TryExcept body Delete AttributeDel AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpAdd NameLoad NameLoad Num Assign NameStore NameLoad While BoolOpOr UnaryOpNot NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body If CompareNotEq Call AttributeLoad NameLoad attr Str body If CompareEq Call AttributeLoad NameLoad attr Str body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Assign NameStore NameLoad Break orelse Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num If NameLoad body While BoolOpOr UnaryOpNot NameLoad CompareLt Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Return Expr Call AttributeLoad NameLoad attr Num Raise Call NameLoad BinOpMod Str BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr decorator_list NameLoad decorator_list
N/A N/A itertools N/A os N/A time kokki Provider Fail EBSVolumeProvider N/A Provider N/A action_create N/A N/A self N/A N/A N/A N/A N/A self resource volume_id N/A N/A N/A Fail Cannot create a volume with a specific id (EC2 chooses volume ids) N/A vol N/A N/A self _find_volume N/A N/A self resource volume_id N/A N/A self resource name N/A N/A self resource device N/A vol N/A N/A N/A N/A N/A self log debug Volume %s already exists N/A self resource N/A N/A vol N/A N/A self _create_volume N/A N/A self resource snapshot_id N/A N/A self resource size N/A N/A self resource availability_zone N/A N/A self resource name N/A N/A self resource timeout N/A N/A N/A N/A self resource updated N/A action_attach N/A N/A self N/A N/A N/A vol N/A N/A self _determine_volume N/A N/A N/A vol status in-use N/A N/A N/A N/A N/A vol attach_data instance_id N/A N/A N/A N/A N/A self resource env config aws instance_id N/A N/A N/A Fail N/A Volume with id %s exists but is attached to instance %s N/A N/A vol id N/A N/A vol attach_data instance_id N/A N/A N/A N/A N/A self log debug Volume is already attached N/A N/A N/A N/A self _attach_volume vol N/A N/A N/A N/A N/A self resource env config aws instance_id N/A N/A self resource device N/A N/A self resource timeout N/A N/A N/A N/A self resource updated N/A action_detach N/A N/A self N/A N/A N/A vol N/A N/A self _determine_volume N/A N/A N/A N/A vol attach_data N/A N/A N/A vol attach_data instance_id N/A N/A N/A N/A N/A self resource env config aws instance_id N/A N/A N/A N/A N/A self _detach_volume vol N/A N/A self resource timeout N/A N/A N/A N/A self resource updated N/A action_snapshot N/A N/A self N/A N/A N/A vol N/A N/A self _determine_volume N/A snapshot N/A N/A N/A self ec2 create_snapshot N/A vol id N/A N/A N/A N/A self resource updated N/A N/A N/A N/A self log info N/A Created snapshot of %s as %s N/A N/A vol id N/A snapshot id N/A _find_volume N/A N/A self volume_id name device N/A None None None N/A N/A vol None N/A volume_id N/A N/A vol N/A N/A self _volume_by_id volume_id N/A N/A all_volumes N/A v N/A v N/A N/A N/A self ec2 get_all_volumes N/A N/A v status N/A in-use available N/A device N/A N/A v all_volumes N/A N/A N/A N/A v attach_data N/A N/A N/A v attach_data device device N/A N/A N/A v attach_data instance_id N/A N/A N/A N/A N/A self resource env config aws instance_id N/A N/A vol v N/A N/A N/A N/A vol name N/A N/A N/A {index} name N/A N/A allnames N/A dict N/A N/A N/A N/A N/A v tags get Name v N/A v all_volumes N/A i N/A N/A itertools count 1 N/A N/A vname N/A N/A name format index i N/A N/A N/A v N/A allnames N/A vname N/A N/A N/A v status available N/A N/A vol v N/A N/A N/A N/A KeyError N/A N/A N/A N/A self resource name vname N/A N/A N/A v all_volumes N/A N/A N/A N/A N/A N/A v tags get Name name N/A N/A vol v N/A N/A N/A vol N/A {index} name N/A N/A N/A N/A self resource name N/A N/A N/A vol tags get Name N/A vol N/A _determine_volume N/A N/A self N/A N/A N/A Pulls the volume id from the volume_id attribute or the node data and verifies that the volume actually exists N/A vol N/A N/A self _find_volume N/A N/A self resource volume_id N/A N/A self resource name N/A N/A self resource device N/A N/A vol N/A N/A N/A Fail volume_id attribute not set or no volume with the given name or device found N/A vol N/A _volume_by_id N/A N/A self volume_id N/A N/A N/A Retrieves information for a volume N/A volumes N/A N/A N/A self ec2 get_all_volumes N/A volume_id N/A volumes N/A N/A N/A volumes N/A 0 N/A _volume_compatible_with_resource_definition N/A N/A self volume N/A N/A N/A N/A N/A N/A N/A N/A self resource size N/A N/A N/A self resource size N/A volume size N/A N/A N/A N/A self resource availability_zone N/A N/A N/A self resource availability_zone N/A volume zone N/A N/A N/A self resource snapshot_id N/A volume snapshot_id N/A _find_snapshot N/A N/A self name N/A N/A N/A snapshots N/A N/A N/A self ec2 get_all_snapshots filters N/A tag:Name name N/A snapshots N/A N/A N/A N/A snapshots sort cmp N/A N/A N/A x y N/A N/A cmp N/A y start_time N/A x start_time N/A N/A snapshots N/A 0 N/A None N/A _create_volume N/A N/A self snapshot_id size availability_zone name timeout N/A N/A N/A Creates a volume according to specifications and blocks until done (or times out) N/A N/A N/A N/A self log debug Creating volume with attributes: snapshot_id=%s size=%s availability_zone=%s name=%s timeout=%s snapshot_id size availability_zone name timeout N/A N/A snapshot_id N/A N/A N/A snapshot_id startswith snap- N/A N/A sid N/A N/A self _find_snapshot snapshot_id N/A N/A N/A sid N/A N/A self resource snapshot_required N/A N/A N/A Fail N/A Unable to find snapshot with name %s snapshot_id N/A snapshot_id sid N/A availability_zone N/A availability_zone N/A N/A N/A N/A N/A self resource env config aws availability_zone N/A vol N/A N/A N/A self ec2 create_volume size availability_zone snapshot_id N/A N/A N/A N/A self log info Created new volume %s %s%s name N/A vol id N/A snapshot_id N/A  based on %s snapshot_id N/A start_time N/A N/A time time N/A end_time N/A timeout N/A start_time timeout 0 N/A N/A N/A timeout N/A N/A N/A time time end_time N/A N/A N/A N/A N/A vol update N/A in-use available N/A N/A N/A N/A N/A time sleep 1 N/A name N/A N/A N/A N/A vol add_tag Name name N/A N/A N/A N/A N/A N/A N/A N/A N/A self resource env config aws resources _volumes N/A N/A N/A AttributeError N/A N/A N/A vol N/A _attach_volume N/A N/A self vol instance_id device timeout N/A N/A N/A Attaches the volume and blocks until done (or times out) N/A N/A N/A N/A self log info N/A Attaching %s as %s N/A N/A vol id device N/A N/A N/A vol attach instance_id device N/A start_time N/A N/A time time N/A end_time N/A timeout N/A start_time timeout 0 N/A attached False N/A N/A N/A timeout N/A N/A N/A time time end_time N/A N/A N/A N/A N/A vol update deleting N/A N/A N/A N/A N/A vol attachment_state attached N/A N/A N/A N/A N/A vol attach_data instance_id instance_id N/A N/A N/A N/A N/A self log info N/A %s Volume is attached self N/A attached True N/A N/A N/A N/A Fail N/A Volume is attached to instance %s instead of %s N/A N/A N/A vol attach_data instance_id instance_id N/A N/A N/A N/A N/A self log debug N/A Volume is %s N/A vol status N/A N/A N/A Fail N/A %s Volume %s no longer exists N/A self N/A vol id N/A N/A N/A time sleep 3 N/A attached N/A N/A N/A N/A timeout N/A N/A N/A time time end_time N/A N/A N/A N/A N/A os path exists N/A N/A self resource device N/A N/A N/A N/A N/A time sleep 1 N/A N/A Fail N/A Timed out waiting for volume attachment after %s seconds N/A N/A N/A time time start_time N/A ec2 N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self resource env config aws resources ec2 N/A property N/A