Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq AttributeLoad NameLoad attr Num body Raise Call AttributeLoad NameLoad attr orelse Raise decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A posixpath N/A re oauthlib oauth1 oslo_config cfg oslo_log log oslo_logging six.moves.urllib error six.moves.urllib request cloudbaseinit.metadata.services base cloudbaseinit.utils x509constants N/A opts N/A N/A N/A cfg StrOpt maas_metadata_url default None help The base URL for MaaS metadata N/A N/A cfg StrOpt maas_oauth_consumer_key default help The MaaS OAuth consumer key N/A N/A cfg StrOpt maas_oauth_consumer_secret default help The MaaS OAuth consumer secret N/A N/A cfg StrOpt maas_oauth_token_key default help The MaaS OAuth token key N/A N/A cfg StrOpt maas_oauth_token_secret default help The MaaS OAuth token secret N/A CONF N/A cfg CONF N/A N/A N/A CONF register_opts opts N/A LOG N/A N/A oslo_logging getLogger __name__ _Realm N/A str N/A __bool__ N/A N/A self N/A N/A N/A True N/A N/A __nonzero__ __bool__ N/A MaaSHttpService N/A N/A base BaseMetadataService N/A N/A _METADATA_2012_03_01 2012-03-01 __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MaaSHttpService self __init__ N/A N/A self _enable_retry True N/A N/A self _metadata_version N/A self _METADATA_2012_03_01 N/A load N/A N/A self N/A N/A N/A N/A N/A N/A super MaaSHttpService self load N/A N/A N/A CONF maas_metadata_url N/A N/A N/A N/A LOG debug MaaS metadata url not set N/A N/A N/A N/A N/A N/A self _get_cache_data N/A %s/meta-data/ N/A self _metadata_version N/A True N/A N/A N/A Exception N/A ex N/A N/A N/A N/A LOG exception ex N/A N/A N/A LOG debug N/A Metadata not found at URL '%s' N/A CONF maas_metadata_url N/A False N/A _get_response N/A N/A self req N/A N/A N/A N/A N/A N/A N/A request urlopen req N/A N/A N/A N/A error HTTPError N/A ex N/A N/A N/A N/A ex code 404 N/A N/A N/A N/A base NotExistingMetadataException N/A N/A N/A _get_oauth_headers N/A N/A self url N/A N/A N/A client N/A N/A oauth1 Client N/A CONF maas_oauth_consumer_key client_secret N/A CONF maas_oauth_consumer_secret resource_owner_key N/A CONF maas_oauth_token_key resource_owner_secret N/A CONF maas_oauth_token_secret signature_method N/A oauth1 SIGNATURE_PLAINTEXT N/A realm N/A _Realm N/A headers N/A N/A N/A client sign url realm realm N/A 1 N/A headers N/A _get_data N/A N/A self path N/A N/A N/A norm_path N/A N/A posixpath join N/A CONF maas_metadata_url path N/A oauth_headers N/A N/A self _get_oauth_headers norm_path N/A N/A N/A LOG debug Getting metadata from: %(norm_path)s N/A norm_path norm_path N/A req N/A N/A request Request norm_path headers oauth_headers N/A response N/A N/A self _get_response req N/A N/A N/A response read N/A get_host_name N/A N/A self N/A N/A N/A N/A N/A self _get_cache_data N/A %s/meta-data/local-hostname N/A self _metadata_version decode True N/A get_instance_id N/A N/A self N/A N/A N/A N/A N/A self _get_cache_data N/A %s/meta-data/instance-id N/A self _metadata_version decode True N/A get_public_keys N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _get_cache_data N/A %s/meta-data/public-keys N/A self _metadata_version decode True splitlines N/A get_client_auth_certs N/A N/A self N/A N/A N/A certs_data N/A N/A self _get_cache_data N/A %s/meta-data/x509 N/A self _metadata_version decode True N/A pattern N/A N/A {begin}[\s\S]+?{end} format begin N/A x509constants PEM_HEADER end N/A x509constants PEM_FOOTER N/A N/A N/A re findall pattern certs_data N/A get_user_data N/A N/A self N/A N/A N/A N/A N/A self _get_cache_data N/A %s/user-data N/A self _metadata_version N/A N/A