Module Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str keyword ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str For NameStore ListLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore ListLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias For NameStore Call NameLoad body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Str Assign NameStore Dict If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body AugAssignAdd NameStore ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr ListLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str AugAssignAdd NameStore ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body ImportFrom alias Expr Call NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr keyword Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr Dict Str Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad Str Str Str Str body Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Dict NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias Expr Call NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr IfExp NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr
N/A N/A __main__ N/A argparse N/A code N/A os N/A sys add_config_parameter N/A N/A parser N/A N/A N/A N/A N/A parser add_argument -c --config dest config_file action store type str help custom config file default None N/A load_run_parsers N/A N/A subparsers N/A N/A N/A run_parser N/A N/A subparsers add_parser run help run application locally N/A N/A N/A run_parser add_argument -p --port dest port action store type str help application port default 8000 N/A N/A N/A run_parser add_argument -a --address dest address action store type str help application address default 0.0.0.0 N/A N/A N/A run_parser add_argument --fake-tasks action store_true help fake tasks N/A N/A N/A run_parser add_argument --fake-tasks-amqp action store_true help fake tasks with real AMQP N/A N/A N/A run_parser add_argument --keepalive action store_true help run keep alive thread N/A N/A add_config_parameter run_parser N/A N/A N/A run_parser add_argument --fake-tasks-tick-count action store type int help Fake tasks tick count N/A N/A N/A run_parser add_argument --fake-tasks-tick-interval action store type int help Fake tasks tick interval in seconds N/A N/A N/A run_parser add_argument --authentication-method action store type str help Choose authentication type choices N/A none fake keystone N/A load_db_parsers N/A N/A subparsers N/A N/A N/A N/A N/A subparsers add_parser syncdb help sync application database N/A N/A N/A subparsers add_parser dropdb help drop application database N/A loaddata_parser N/A N/A subparsers add_parser loaddata help load data from fixture N/A N/A N/A loaddata_parser add_argument fixture action store help json fixture to load N/A dumpdata_parser N/A N/A subparsers add_parser dumpdata help dump models as fixture N/A N/A N/A dumpdata_parser add_argument model action store help model name to dump; underscored nameshould be used, e.g. network_group for NetworkGroup model N/A generate_parser N/A N/A subparsers add_parser generate_nodes_fixture help generate new nodes fixture N/A N/A N/A generate_parser add_argument -n --total-nodes dest total_nodes action store type int help total nodes count to generate required True N/A N/A N/A generate_parser add_argument -e --error-nodes dest error_nodes action store type int help error nodes count to generate N/A N/A N/A generate_parser add_argument -o --offline-nodes dest offline_nodes action store type int help offline nodes count to generate N/A N/A N/A generate_parser add_argument -i --min-ifaces-num dest min_ifaces_num action store type int default 1 help minimal number of ethernet interfaces for node N/A N/A N/A subparsers add_parser loaddefault help load data from default fixtures (settings.FIXTURES_TO_UPLOAD) and apply fake deployment tasks for all releases in database N/A load_alembic_parsers N/A N/A migrate_parser N/A N/A N/A alembic_parser N/A N/A migrate_parser add_subparsers dest alembic_command help alembic command N/A name N/A current history branches N/A N/A parser N/A N/A alembic_parser add_parser name N/A name N/A upgrade downgrade N/A N/A parser N/A N/A alembic_parser add_parser name N/A N/A N/A parser add_argument --delta type int N/A N/A N/A parser add_argument --sql action store_true N/A N/A N/A parser add_argument revision nargs ? N/A parser N/A N/A alembic_parser add_parser stamp N/A N/A N/A parser add_argument --sql action store_true N/A N/A N/A parser add_argument revision N/A parser N/A N/A alembic_parser add_parser revision N/A N/A N/A parser add_argument -m --message N/A N/A N/A parser add_argument --autogenerate action store_true N/A N/A N/A parser add_argument --sql action store_true N/A load_db_migrate_parsers N/A N/A subparsers N/A N/A N/A migrate_parser N/A N/A subparsers add_parser migrate help dealing with DB migration N/A N/A load_alembic_parsers migrate_parser N/A load_dbshell_parsers N/A N/A subparsers N/A N/A N/A dbshell_parser N/A N/A subparsers add_parser dbshell help open database shell N/A N/A add_config_parameter dbshell_parser N/A load_test_parsers N/A N/A subparsers N/A N/A N/A N/A N/A subparsers add_parser test help run unit tests N/A load_shell_parsers N/A N/A subparsers N/A N/A N/A shell_parser N/A N/A subparsers add_parser shell help open python REPL N/A N/A add_config_parameter shell_parser N/A load_settings_parsers N/A N/A subparsers N/A N/A N/A N/A N/A subparsers add_parser dump_settings help dump current settings to YAML N/A load_extensions_parsers N/A N/A subparsers N/A N/A N/A extensions_parser N/A N/A subparsers add_parser extensions help extensions related actions N/A N/A load_alembic_parsers extensions_parser N/A action_dumpdata N/A N/A params N/A N/A N/A logging N/A N/A N/A logging disable N/A logging WARNING nailgun.db.sqlalchemy fixman N/A N/A N/A fixman dump_fixture N/A params model N/A N/A N/A sys exit 0 N/A action_generate_nodes_fixture N/A N/A params N/A N/A oslo_serialization jsonutils nailgun.logger logger nailgun.utils fake_generator N/A N/A N/A logger info Generating new nodes fixture... N/A total_nodes_count N/A params total_nodes N/A fixtures_dir N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ nailgun/fixtures/ N/A file_path N/A N/A N/A os path join fixtures_dir N/A N/A {0}_fake_nodes_environment.json format total_nodes_count N/A generator N/A N/A fake_generator FakeNodesGenerator N/A res N/A N/A generator generate_fake_nodes total_nodes_count error_nodes_count N/A params error_nodes offline_nodes_count N/A params offline_nodes min_ifaces_num N/A params min_ifaces_num N/A N/A open file_path w file_to_write N/A N/A N/A N/A jsonutils dump res file_to_write indent 4 N/A N/A N/A logger info N/A N/A Done. New fixture was stored in {0} file format file_path N/A action_loaddata N/A N/A params N/A N/A nailgun.db.sqlalchemy fixman nailgun.logger logger N/A N/A N/A logger info Uploading fixture... N/A N/A open N/A params fixture r fileobj N/A N/A N/A N/A fixman upload_fixture fileobj N/A N/A N/A logger info Done N/A action_loadfakedeploymenttasks N/A N/A params N/A N/A nailgun.db.sqlalchemy fixman nailgun.logger logger N/A N/A N/A logger info Applying fake deployment tasks to all releases... N/A N/A N/A fixman load_fake_deployment_tasks N/A N/A N/A logger info Done N/A action_loaddefault N/A N/A params N/A N/A nailgun.db.sqlalchemy fixman nailgun.logger logger N/A N/A N/A logger info Uploading fixture... N/A N/A N/A fixman upload_fixtures N/A N/A N/A logger info Applying fake deployment tasks to all releases... N/A N/A N/A fixman load_fake_deployment_tasks N/A N/A N/A logger info Done N/A action_syncdb N/A N/A params N/A N/A nailgun.db syncdb nailgun.logger logger N/A N/A N/A logger info Syncing database... N/A N/A syncdb N/A N/A N/A logger info Done N/A action_dropdb N/A N/A params N/A N/A nailgun.db dropdb nailgun.logger logger N/A N/A N/A logger info Dropping database... N/A N/A dropdb N/A N/A N/A logger info Done N/A action_migrate N/A N/A params N/A N/A nailgun.db.migration action_migrate_alembic_core N/A N/A action_migrate_alembic_core params N/A action_extensions N/A N/A params N/A N/A nailgun.logger logger nailgun.db.migration action_migrate_alembic_extension nailgun.extensions get_all_extensions N/A extension N/A get_all_extensions N/A N/A N/A N/A extension alembic_migrations_path N/A N/A N/A N/A logger info N/A N/A Running command for extension {0} format N/A N/A extension full_name N/A N/A action_migrate_alembic_extension params extension extension N/A N/A N/A N/A logger info N/A N/A Extension {0} does not have migrations. Skipping... format N/A N/A extension full_name N/A action_test N/A N/A params N/A N/A nailgun.logger logger nailgun.unit_test TestRunner N/A N/A N/A logger info Running tests... N/A N/A N/A TestRunner run N/A N/A N/A logger info Done N/A action_dbshell N/A N/A params N/A N/A nailgun.settings settings N/A N/A params config_file N/A N/A N/A N/A settings update_from_file N/A params config_file N/A args N/A psql N/A env N/A N/A N/A N/A settings DATABASE N/A passwd N/A N/A N/A env N/A PGPASSWORD N/A N/A settings DATABASE N/A passwd N/A N/A N/A settings DATABASE N/A user N/A N/A args N/A -U N/A N/A settings DATABASE N/A user N/A N/A N/A settings DATABASE N/A host N/A N/A N/A N/A args extend N/A -h N/A N/A settings DATABASE N/A host N/A N/A N/A settings DATABASE N/A port N/A N/A N/A N/A args extend N/A -p N/A str N/A N/A settings DATABASE N/A port N/A args N/A N/A N/A settings DATABASE N/A name N/A N/A N/A os name nt N/A N/A N/A N/A sys exit N/A N/A os system N/A N/A join args N/A N/A N/A N/A os execvpe psql args env N/A action_dump_settings N/A N/A params N/A N/A nailgun.settings settings N/A N/A N/A N/A sys stdout write N/A N/A settings dump N/A action_shell N/A N/A params N/A N/A nailgun.db db nailgun.settings settings N/A N/A params config_file N/A N/A N/A N/A settings update_from_file N/A params config_file N/A N/A IPython embed N/A N/A embed N/A N/A N/A ImportError N/A N/A N/A N/A code interact local N/A db settings db settings N/A action_run N/A N/A params N/A N/A nailgun.settings settings N/A N/A N/A settings update N/A LISTEN_PORT LISTEN_ADDRESS N/A int N/A params port N/A params address N/A attr N/A FAKE_TASKS FAKE_TASKS_TICK_COUNT FAKE_TASKS_TICK_INTERVAL FAKE_TASKS_AMQP N/A N/A param N/A getattr params N/A N/A attr lower N/A N/A param None N/A N/A N/A N/A settings update N/A attr param N/A N/A params authentication_method N/A N/A auth_method N/A params authentication_method N/A N/A N/A N/A settings AUTH update N/A AUTHENTICATION_METHOD auth_method N/A N/A params config_file N/A N/A N/A N/A settings update_from_file N/A params config_file nailgun.app appstart N/A N/A appstart N/A N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser N/A subparsers N/A N/A parser add_subparsers dest action help actions N/A N/A load_run_parsers subparsers N/A N/A load_db_parsers subparsers N/A N/A load_db_migrate_parsers subparsers N/A N/A load_dbshell_parsers subparsers N/A N/A load_test_parsers subparsers N/A N/A load_shell_parsers subparsers N/A N/A load_settings_parsers subparsers N/A N/A load_extensions_parsers subparsers N/A N/A params other_params N/A N/A parser parse_known_args N/A N/A N/A N/A sys argv pop 1 N/A action N/A getattr __main__ N/A N/A action_{0} format N/A params action N/A N/A action N/A action params N/A N/A parser print_help