Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Str NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Dict Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str orelse Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad ListLoad ListLoad ListLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad NameLoad attr Str NameLoad body Continue For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Break Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Str Str Str Str NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Assign NameStore SubscriptLoad NameLoad Index NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Dict Str Str NameLoad NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Dict Expr Call NameLoad Global identifier If BoolOpOr NameLoad CompareIs NameLoad NameLoad body Assign NameStore Dict Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Expr Call NameLoad keyword NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Expr Call NameLoad keyword NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Assign SubscriptStore Call AttributeLoad NameLoad attr NameLoad Dict Index NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list
N/A N/A Adapter related database operations. N/A logging N/A re compass.db.api database compass.db.api utils compass.db exception compass.db models compass.utils setting_wrapper setting compass.utils util N/A OSES None N/A OS_INSTALLERS None N/A PACKAGE_INSTALLERS None N/A ADAPTERS None N/A ADAPTERS_FLAVORS None N/A ADAPTERS_ROLES None _get_oses_from_configuration N/A N/A N/A N/A N/A Get all os configs from os configuration dir.

    Example: {
        <os_name>: {
            'name': <os_name>,
            'id': <os_name>,
            'os_id': <os_name>,
            'deployable': True
        }
    }
     N/A configs N/A N/A util load_configs N/A setting OS_DIR N/A systems N/A N/A config configs N/A N/A N/A N/A logging info get config %s config N/A system_name N/A config N/A NAME N/A parent_name N/A N/A config get PARENT None N/A system N/A name id os_id parent parent_id deployable system_name system_name system_name parent_name parent_name N/A N/A config get DEPLOYABLE False N/A N/A systems N/A system_name system N/A parents N/A N/A N/A name system N/A N/A systems items N/A N/A parent N/A N/A system get parent None N/A N/A parents N/A name parent N/A N/A name system N/A N/A systems items N/A N/A N/A N/A util recursive_merge_dict name systems parents N/A systems N/A _get_installers_from_configuration N/A N/A configs N/A N/A N/A Get installers from configurations.

    Example: {
        <installer_isntance>: {
            'alias': <instance_name>,
            'id': <instance_name>,
            'name': <name>,
            'settings': <dict pass to installer plugin>
        }
    }
     N/A installers N/A N/A config configs N/A N/A name N/A config N/A NAME N/A instance_name N/A N/A config get INSTANCE_NAME name N/A N/A installers N/A instance_name N/A alias id name settings instance_name instance_name name N/A N/A config get SETTINGS N/A N/A installers N/A _get_os_installers_from_configuration N/A N/A N/A N/A N/A Get os installers from os installer config dir. N/A configs N/A N/A util load_configs N/A setting OS_INSTALLER_DIR N/A N/A _get_installers_from_configuration configs N/A _get_package_installers_from_configuration N/A N/A N/A N/A N/A Get package installers from package installer config dir. N/A configs N/A N/A util load_configs N/A setting PACKAGE_INSTALLER_DIR N/A N/A _get_installers_from_configuration configs N/A _get_adapters_from_configuration N/A N/A N/A N/A N/A Get adapters from adapter config dir. N/A configs N/A N/A util load_configs N/A setting ADAPTER_DIR N/A adapters N/A N/A config configs N/A N/A N/A N/A logging info add config %s to adapter config N/A N/A OS_INSTALLER config N/A N/A os_installer N/A OS_INSTALLERS N/A N/A config N/A OS_INSTALLER N/A N/A os_installer None N/A N/A PACKAGE_INSTALLER config N/A N/A package_installer N/A PACKAGE_INSTALLERS N/A N/A config N/A PACKAGE_INSTALLER N/A N/A package_installer None N/A adapter_name N/A config N/A NAME N/A parent_name N/A N/A config get PARENT None N/A adapter N/A name id parent parent_id display_name os_installer package_installer deployable health_check_cmd supported_oses roles flavors adapter_name adapter_name parent_name parent_name N/A N/A config get DISPLAY_NAME adapter_name os_installer package_installer N/A N/A config get DEPLOYABLE False N/A N/A config get HEALTH_CHECK_COMMAND None N/A N/A N/A N/A supported_os_patterns N/A N/A N/A re compile supported_os_pattern N/A supported_os_pattern N/A N/A config get SUPPORTED_OS_PATTERNS N/A N/A N/A os_name os N/A N/A OSES items N/A N/A N/A N/A N/A os get deployable False N/A N/A N/A supported_os_pattern supported_os_patterns N/A N/A N/A N/A supported_os_pattern match os_name N/A N/A N/A N/A N/A adapter N/A supported_oses append os N/A N/A N/A adapters N/A adapter_name adapter N/A parents N/A N/A N/A name adapter N/A N/A adapters items N/A N/A parent N/A N/A adapter get parent None N/A N/A parents N/A name parent N/A N/A name adapter N/A N/A adapters items N/A N/A N/A N/A util recursive_merge_dict name adapters parents N/A adapters N/A _add_roles_from_configuration N/A N/A N/A N/A N/A Get roles from roles config dir and update to adapters. N/A configs N/A N/A util load_configs N/A setting ADAPTER_ROLE_DIR N/A config configs N/A N/A N/A N/A logging info add config %s to role config N/A adapter_name N/A config N/A ADAPTER_NAME N/A adapter N/A ADAPTERS N/A adapter_name N/A adapter_roles N/A N/A ADAPTERS_ROLES setdefault adapter_name N/A N/A role_dict N/A config N/A ROLES N/A N/A role_name N/A role_dict N/A role N/A display_name N/A N/A role_dict get display_name role_name N/A N/A adapter_roles N/A role_name N/A name id adapter_id adapter_name display_name description optional role_name N/A %s:%s N/A adapter_name role_name adapter_name adapter_name display_name N/A N/A role_dict get description display_name N/A N/A role_dict get optional False N/A parents N/A N/A N/A name adapter N/A N/A ADAPTERS items N/A N/A parent N/A N/A adapter get parent None N/A N/A parents N/A name parent N/A N/A adapter_name adapter_roles N/A N/A ADAPTERS_ROLES items N/A N/A N/A N/A util recursive_merge_dict adapter_name ADAPTERS_ROLES parents N/A N/A adapter_name adapter_roles N/A N/A ADAPTERS_ROLES items N/A N/A adapter N/A ADAPTERS N/A adapter_name N/A N/A adapter N/A roles N/A N/A adapter_roles values N/A _add_flavors_from_configuration N/A N/A N/A N/A N/A Get flavors from flavor config dir and update to adapters. N/A configs N/A N/A util load_configs N/A setting ADAPTER_FLAVOR_DIR N/A config configs N/A N/A N/A N/A logging info add config %s to flavor config N/A adapter_name N/A config N/A ADAPTER_NAME N/A adapter N/A ADAPTERS N/A adapter_name N/A adapter_flavors N/A N/A ADAPTERS_FLAVORS setdefault adapter_name N/A N/A adapter_roles N/A ADAPTERS_ROLES N/A adapter_name N/A flavor_dict N/A config N/A FLAVORS N/A N/A flavor_name N/A flavor_dict N/A flavor N/A flavor_id N/A %s:%s N/A adapter_name flavor_name N/A flavor N/A name id adapter_id adapter_name display_name template flavor_name flavor_id adapter_name adapter_name N/A N/A flavor_dict get display_name flavor_name N/A N/A flavor_dict get template None N/A flavor_roles N/A N/A flavor_dict get roles N/A N/A roles_in_flavor N/A N/A flavor_role flavor_roles N/A N/A N/A isinstance flavor_role basestring N/A N/A role_name flavor_role N/A role_in_flavor N/A name flavor_id role_name flavor_id N/A N/A role_in_flavor flavor_role N/A N/A role_in_flavor N/A flavor_id flavor_id N/A N/A role role_in_flavor N/A N/A N/A role_in_flavor N/A name N/A role_in_flavor N/A role N/A N/A role_in_flavor N/A role N/A role_name N/A role_in_flavor N/A name N/A role N/A adapter_roles N/A role_name N/A N/A N/A util merge_dict role_in_flavor role override False N/A N/A N/A roles_in_flavor append role_in_flavor N/A N/A flavor N/A roles roles_in_flavor N/A N/A adapter_flavors N/A flavor_name flavor N/A parents N/A N/A N/A name adapter N/A N/A ADAPTERS items N/A N/A parent N/A N/A adapter get parent None N/A N/A parents N/A name parent N/A N/A adapter_name adapter_roles N/A N/A ADAPTERS_FLAVORS items N/A N/A N/A N/A util recursive_merge_dict adapter_name ADAPTERS_FLAVORS parents N/A N/A adapter_name adapter_flavors N/A N/A ADAPTERS_FLAVORS items N/A N/A adapter N/A ADAPTERS N/A adapter_name N/A N/A adapter N/A flavors N/A N/A adapter_flavors values N/A load_adapters_internal N/A N/A force_reload N/A False N/A N/A Load adapter related configurations into memory.

    If force_reload, reload all configurations even it is loaded already.
     N/A OSES N/A N/A force_reload N/A OSES None N/A N/A OSES N/A _get_oses_from_configuration N/A OS_INSTALLERS N/A N/A force_reload N/A OS_INSTALLERS None N/A N/A OS_INSTALLERS N/A _get_os_installers_from_configuration N/A PACKAGE_INSTALLERS N/A N/A force_reload N/A PACKAGE_INSTALLERS None N/A N/A PACKAGE_INSTALLERS N/A _get_package_installers_from_configuration N/A ADAPTERS N/A N/A force_reload N/A ADAPTERS None N/A N/A ADAPTERS N/A _get_adapters_from_configuration N/A ADAPTERS_ROLES N/A N/A force_reload N/A ADAPTERS_ROLES None N/A N/A ADAPTERS_ROLES N/A N/A N/A _add_roles_from_configuration N/A ADAPTERS_FLAVORS N/A N/A force_reload N/A ADAPTERS_FLAVORS None N/A N/A ADAPTERS_FLAVORS N/A N/A N/A _add_flavors_from_configuration N/A get_adapters_internal N/A N/A force_reload N/A False N/A N/A Get all deployable adapters. N/A N/A load_adapters_internal force_reload force_reload N/A adapter_mapping N/A N/A N/A adapter_name adapter N/A N/A ADAPTERS items N/A N/A N/A N/A adapter get deployable N/A N/A N/A adapter_mapping N/A adapter_name adapter N/A N/A N/A N/A logging info ignore adapter %s since it is not deployable adapter_name N/A adapter_mapping N/A get_flavors_internal N/A N/A force_reload N/A False N/A N/A Get all deployable flavors. N/A N/A load_adapters_internal force_reload force_reload N/A adapter_flavor_mapping N/A N/A N/A adapter_name adapter_flavors N/A N/A ADAPTERS_FLAVORS items N/A N/A adapter N/A N/A ADAPTERS get adapter_name N/A N/A N/A flavor_name flavor N/A N/A adapter_flavors items N/A N/A N/A N/A adapter get deployable N/A N/A N/A N/A N/A adapter_flavor_mapping setdefault adapter_name N/A N/A flavor_name flavor N/A N/A N/A N/A logging info ignore adapter %s since it is not deployable adapter_name N/A adapter_flavor_mapping N/A