fuel-web/nailgun/nailgun/test/unit
Ryan Moe 76a0bc226e Move network manager calls into callbacks
Calls to network manager from object methods have been
moved into callbacks implemented by the network manager
extension.

This commit makes the following new callbacks available
to extensions:

 * on_cluster_create: called when a new cluster is created
 * on_cluster_patch_attributes: called when a cluster's attributes
    are updated
 * on_nodegroup_create: called when a node group is created
 * on_before_deployment_serialization: called before deployment
    serialization begins
 * on_before_provisioning_serialization: called before provisioning
    serialization begins
 * on_remove_node_from_cluster: called when a node is removed from
    a cluster

Blueprint: network-manager-extension
Change-Id: I9a3413f54c881edd098e623ea204d12a86695f87
2016-05-09 13:45:17 -07:00
..
fuel_statistics_tests All attributes of node model are collected for fuel-stats 2016-05-04 15:17:07 +00:00
__init__.py Separate unit and integration tests 2013-09-16 17:28:00 +03:00
test_assignment_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_attributes_generators.py Improve password quality for generated passwords 2015-10-02 08:41:01 -05:00
test_attributes_validator.py Merge "Removed unnecessary yaml parsing" 2016-04-18 10:04:48 +00:00
test_ceph.py Ceph: fix PG count number 2015-08-13 17:36:01 +03:00
test_check_repo_connection_task.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_cluster_validator.py Support stop deployment for already deployed cluster with LCM 2016-04-20 20:09:04 +03:00
test_cpu_distribution.py Extend kernel options with cpu pinning 2016-03-14 16:23:53 +03:00
test_data_migration.py Redesign of node roles panel 2016-02-09 18:59:26 +03:00
test_datadiff.py Introduced datadiff tool 2016-03-24 13:23:32 +03:00
test_db.py Allow to use socket to connect to DB in Nailgun 2014-12-10 07:21:00 +00:00
test_db_migrations.py New VIP-related fields in the database 2016-02-02 18:16:27 +03:00
test_db_models.py Fix syntax for python3 2016-04-20 17:06:28 +00:00
test_deadlock_detector.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_default_ip_addrs.py Load fixture with master node ip for fuelweb_admin 2014-02-24 14:17:34 +02:00
test_deployment_graph_object.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_deployment_history_object.py Flush DB must be run after all changes for nodes and histories 2016-04-26 19:46:25 +03:00
test_deployment_network_serializer.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_deployment_nodes_filtering.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_deployment_serializer.py Remove Murano installation from Fuel from box 2016-02-11 15:45:50 +03:00
test_expression_parser.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_extensions.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_fault_tolerance.py Fault tolerance for provision 2015-03-08 10:53:01 +01:00
test_graph.py Orchestrator DeploymentGraph is renamed to the GraphSolver 2016-03-17 03:25:37 +03:00
test_graph_serializer.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_handlers.py Snapshot download with authentication 2015-07-03 09:59:35 +00:00
test_hugepages_distribution.py Use safe methods to reach node attributes 2016-03-25 08:58:43 +00:00
test_lcm_task_serializers.py Merge "Fixed legacy conditions transformations" 2016-04-15 12:02:13 +00:00
test_lcm_transaction_serializer.py Make task version check in lcm serializer optional 2016-04-18 10:48:29 +00:00
test_legacy_tasks_adapter.py Added adaptation of legacy tasks for task based deployment 2016-04-22 15:16:00 +03:00
test_load_db_driver_handler.py Merge NodeAttributes model into Node model 2016-02-10 12:42:02 +02:00
test_logs_handlers.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_logs_utils.py prepare_for_deployment was moved to network manager 2015-11-30 13:48:14 +03:00
test_middleware_utils.py HTTP requests monitoring middleware added 2014-10-17 18:13:31 +03:00
test_migration_cluster_replaced_info.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_migration_fuel_6_1.py New VIP-related fields in the database 2016-02-02 18:16:27 +03:00
test_migration_fuel_7_0.py Fix minor comments in NetworkGroup API code request 2016-04-22 10:17:50 +00:00
test_migration_fuel_8_0.py Add distinguisher field for default node group 2015-12-24 09:42:22 +02:00
test_migration_fuel_9_0.py Add migration for new ceph fields 2016-04-15 01:08:36 +00:00
test_migration_fuel_9_0_1.py Fix obtaining current state in ClusterTransaction 2016-04-29 19:04:55 +03:00
test_migration_fuel_10_0.py Fix obtaining current state in ClusterTransaction 2016-04-29 19:04:55 +03:00
test_migration_plugins_cluster_attrs_use_ids_mapping.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_mutable.py Added YAML representers for Mutable objects 2016-03-18 23:18:33 +03:00
test_nailgun_keystone_auth_middleware.py Fix hacking 0.10 errors in nailgun 2015-10-08 12:01:55 +02:00
test_network_verify.py Fix Network Verification for environments with DPDK nodes 2016-04-27 12:28:55 +03:00
test_node_assignment_handler.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_node_attributes.py Change hugepages and cpu pinning to integer 2016-04-05 10:13:51 +03:00
test_node_attributes_validator.py Validate attributes restrictions 2016-04-18 16:37:43 +03:00
test_node_groups.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_node_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_notification_collection_handler.py Swap deprecated oslo namespaces 2015-07-23 23:33:58 +03:00
test_notification_handler.py Swap deprecated oslo namespaces 2015-07-23 23:33:58 +03:00
test_object_plugin.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_objects.py Move network manager calls into callbacks 2016-05-09 13:45:17 -07:00
test_openstack_config_handler.py Reworked ApplyChanges for LCM 2016-04-14 13:03:07 +03:00
test_orchestrator_stages.py Fixed executing plugins in pre deployment stage 2016-01-18 12:08:04 +03:00
test_plugin_adapters.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_plugins_serializers.py deployment_tasks attribute removed from plugins adapter 2016-04-13 16:56:12 +03:00
test_policies.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_primary_roles_assignment.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_receiver.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_redeployment_scenarios.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_release_collection_handlers.py Fix hacking 0.10 errors in nailgun 2015-10-08 12:01:55 +02:00
test_release_handler.py Deployment graphs are deleted together with parent entity 2016-05-04 14:22:09 +00:00
test_release_networks_schema.py Add support for release network_metadata serialziation 2014-11-06 15:33:05 +02:00
test_release_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_requirements.py Check if nailgun's requirements do not conflict 2015-06-22 09:17:41 +00:00
test_restriction.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_reusage_admin_address.py Move network manager to extension 2016-04-11 05:33:29 -07:00
test_role_resolver.py Added adaptation of legacy tasks for task based deployment 2016-04-22 15:16:00 +03:00
test_role_validator.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_rpc_acknowledge.py Message in receiver requeued on deadlock 2016-05-04 17:55:16 +03:00
test_settings_config.py Urgent fix for log page 2014-12-15 17:07:58 +04:00
test_snapshot_conf.py Added ssh-user parameter to dump configuration 2016-02-26 07:53:44 -06:00
test_stages_task_serialization.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00
test_task.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_task_based_deployment.py Fix check for cross-referring self-dependencies 2016-03-23 13:57:48 +03:00
test_task_handler.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_task_helpers.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_task_managers.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_tasks_templates.py Remove downloading debian-installer components 2016-04-18 10:18:20 +00:00
test_testing_utils.py Fix test test_put_handler_with_one_node 2016-02-03 14:06:02 +01:00
test_transaction_handler.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_urls.py Remove Mirantis-specific code from fuel-web repo 2016-02-26 13:25:17 +00:00
test_utils.py Improve validation of openstack config requests 2016-04-05 10:19:01 +00:00
test_version_handler.py Deprecate version.yaml 2015-11-17 01:05:39 +03:00
test_vmware_attributes_validator.py Don't use self.env.clusters[0] in tests where possible 2016-04-26 17:53:36 +03:00
test_yaql_ext.py Added changedAll and changedAny functions for yaql 2016-04-06 08:58:51 +00:00
test_zabbix_manager.py Add exceptions hierarchy 2016-04-14 17:41:25 +03:00