Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore BoolOpOr NameLoad Dict Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad Num If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list
N/A N/A uuid oslo_utils timeutils nova block_device nova objects fake_bdm_object N/A N/A context bdm_dict N/A N/A N/A Creates a BlockDeviceMapping object from the given bdm_dict

    :param context: nova request context
    :param bdm_dict: dict of block device mapping info
    :returns: nova.objects.block_device.BlockDeviceMapping
     N/A N/A N/A N/A objects BlockDeviceMapping _from_db_object context N/A N/A objects BlockDeviceMapping N/A FakeDbBlockDeviceDict N/A N/A bdm_dict copy N/A FakeDbBlockDeviceDict N/A N/A block_device BlockDeviceDict N/A N/A Defaults db fields - useful for mocking database calls. __init__ N/A N/A self bdm_dict anon N/A None False kwargs N/A N/A bdm_dict N/A bdm_dict N/A N/A db_id N/A N/A bdm_dict pop id 1 N/A instance_uuid N/A N/A bdm_dict pop instance_uuid N/A str N/A N/A uuid uuid4 N/A N/A N/A N/A super FakeDbBlockDeviceDict self __init__ bdm_dict bdm_dict kwargs N/A fake_db_fields N/A instance_uuid deleted_at deleted instance_uuid None 0 N/A N/A anon N/A N/A N/A fake_db_fields N/A id db_id N/A N/A fake_db_fields N/A created_at N/A N/A timeutils utcnow N/A N/A fake_db_fields N/A updated_at N/A N/A timeutils utcnow N/A N/A N/A self update fake_db_fields N/A N/A AnonFakeDbBlockDeviceDict N/A N/A bdm_dict N/A kwargs N/A N/A N/A FakeDbBlockDeviceDict bdm_dict bdm_dict anon True kwargs N/A