Module Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult Num Num FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad NameStore body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad NameStore body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str NameLoad Assign NameStore ListLoad For NameStore NameLoad body If CompareLt BinOpSub Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list
N/A N/A os N/A time oslo_config cfg oslo_log log logging oslo_serialization jsonutils nova.i18n _LW nova utils N/A LOG N/A N/A logging getLogger __name__ N/A CONF N/A cfg CONF N/A TWENTY_FOUR_HOURS N/A 3600 24 register_storage_use N/A N/A storage_path hostname N/A N/A N/A Identify the id of this instance storage. N/A LOCK_PATH N/A N/A N/A os path join N/A CONF instances_path locks do_register_storage_use N/A N/A storage_path hostname N/A N/A N/A d N/A N/A id_path N/A N/A N/A os path join storage_path compute_nodes N/A N/A N/A N/A os path exists id_path N/A N/A N/A open id_path f N/A N/A N/A N/A d N/A N/A jsonutils loads N/A N/A f read N/A N/A N/A ValueError N/A N/A N/A N/A LOG warning N/A _LW Cannot decode JSON from %(id_path)s N/A id_path id_path N/A N/A d N/A hostname N/A N/A time time N/A N/A open id_path w f N/A N/A N/A N/A f write N/A N/A jsonutils dumps d N/A N/A N/A utils synchronized storage-registry-lock external True lock_path LOCK_PATH N/A N/A do_register_storage_use storage_path hostname N/A get_storage_users N/A N/A storage_path N/A N/A N/A Get a list of all the users of this storage path. N/A LOCK_PATH N/A N/A N/A os path join N/A CONF instances_path locks do_get_storage_users N/A N/A storage_path N/A N/A N/A d N/A N/A id_path N/A N/A N/A os path join storage_path compute_nodes N/A N/A N/A N/A os path exists id_path N/A N/A N/A open id_path f N/A N/A N/A N/A d N/A N/A jsonutils loads N/A N/A f read N/A N/A N/A ValueError N/A N/A N/A N/A LOG warning N/A _LW Cannot decode JSON from %(id_path)s N/A id_path id_path N/A recent_users N/A N/A node d N/A N/A N/A N/A N/A N/A time time N/A d N/A node TWENTY_FOUR_HOURS N/A N/A N/A N/A recent_users append node N/A recent_users N/A N/A N/A utils synchronized storage-registry-lock external True lock_path LOCK_PATH N/A N/A do_get_storage_users storage_path N/A