cinder/cinder/tests
Flavio Percoco bcd9f363ff Port to oslo.messaging
The oslo.messaging library takes the existing RPC code from oslo and
wraps it in a sane API with well defined semantics around which we can
make a commitment to retain compatibility in future.

The patch is large, but the changes can be summarized as:

    * oslo.messaging>=1.3.0a4 is required; a proper 1.3.0 release will be
    pushed before the icehouse release candidates.

    * The new rpc module has init() and cleanup() methods which manage the
    global oslo.messaging transport state. The TRANSPORT and NOTIFIER
    globals are conceptually similar to the current RPCIMPL global,
    except we're free to create and use alternate Transport objects
    in e.g. the cells code.

    * The rpc.get_{client,server,notifier}() methods are just helpers
    which wrap the global messaging state, specifiy serializers and
    specify the use of the eventlet executor.

    * In oslo.messaging, a request context is expected to be a dict so
    we add a RequestContextSerializer which can serialize to and from
    dicts using RequestContext.{to,from}_dict()

    * The allowed_rpc_exception_modules configuration option is replaced
    by an allowed_remote_exmods get_transport() parameter. This is not
    something that users ever need to configure, but it is something
    each project using oslo.messaging needs to be able to customize.

    * We maintain a global NOTIFIER object and create specializations of
    it with specific publisher IDs in order to avoid notification driver
    loading overhead.

    * rpc.py contains transport aliases for backwards compatibility
    purposes. setup.cfg also contains notification driver aliases for
    backwards compat.

    * The messaging options are moved about in cinder.conf.sample because
    the options are advertised via a oslo.config.opts entry point and
    picked up by the generator.

    * We use messaging.ConfFixture in tests to override oslo.messaging
    config options, rather than making assumptions about the options
    registered by the library.

Implements blueprint: oslo-messaging

Change-Id: Ib912809428d92e788558439e2d85b51272ebefdd
2014-03-10 17:03:03 +01:00
..
api Port to oslo.messaging 2014-03-10 17:03:03 +01:00
backup Convert ceph backup unit tests from mox to mock 2014-01-28 19:19:11 +00:00
brick Volume manage/unmanage support 2014-03-04 19:54:19 +02:00
compute Fix and enable gating on F401 2013-12-20 15:01:23 +01:00
db Remove vim header 2013-12-30 18:53:02 -06:00
glance Remove vim header 2013-12-30 18:53:02 -06:00
image Remove vim header 2013-12-30 18:53:02 -06:00
integrated Port to oslo.messaging 2014-03-10 17:03:03 +01:00
keymgr Remove vim header 2013-12-30 18:53:02 -06:00
monkey_patch_example Remove vim header 2013-12-30 18:53:02 -06:00
scheduler Port to oslo.messaging 2014-03-10 17:03:03 +01:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
windows Remove vim header 2013-12-30 18:53:02 -06:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
zonemanager Update FibreChannel Zone Manager config 2014-02-25 17:39:53 -08:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
cast_as_call.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
conf_fixture.py IBM XIV and DS8000 Driver reorganizing (IBM dir) 2014-02-18 10:56:43 +02:00
declare_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
fake_driver.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
fake_notifier.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
fake_utils.py Remove vim header 2013-12-30 18:53:02 -06:00
policy.json Merge "Quota delete operation in cinder" 2014-03-05 14:47:52 +00:00
runtime_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_api.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_api_urlmap.py Add tests for cinder/api/urlmap.py 2013-07-11 11:30:00 +04:00
test_backup.py Merge "Export and import backup service metadata" 2014-02-27 23:42:10 +00:00
test_backup_ceph.py Remove str() from LOG.* and exceptions 2014-03-04 14:25:10 -06:00
test_backup_driver_base.py Export and import backup service metadata 2014-02-27 12:38:10 +02:00
test_backup_swift.py remove _check_container_exists from Swift backup driver 2014-03-04 07:56:26 +02:00
test_backup_tsm.py Merge "TSM backup driver changes to support file backup" 2014-02-28 01:43:50 +00:00
test_block_device.py Move create_, remove_ and ensure_export from drivers 2014-02-11 14:43:48 +04:00
test_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_context.py Remove vim header 2013-12-30 18:53:02 -06:00
test_coraid.py Remove vim header 2013-12-30 18:53:02 -06:00
test_create_volume_flow.py Create structure of flows' packages 2014-01-24 12:44:56 +02:00
test_db_api.py Add update support to volume type encryption 2014-02-04 13:12:50 -05:00
test_drivers_compatibility.py Implement retype in IBM GPFS Driver and refactor 2014-02-24 13:59:05 -07:00
test_emc_smis.py EMC SMI-S delete snapshot unit test takes too long 2014-03-07 19:09:51 -05:00
test_emc_vnxdirect.py Clean Up EMC VNX Direct Driver in Cinder 2014-03-06 19:22:34 -05:00
test_eqlx.py Change method name to test_get_volume_stats 2013-12-03 10:33:57 +09:00
test_exception.py Fix misspellings in cinder 2014-02-08 08:59:01 +08:00
test_glusterfs.py GlusterFS: Fix create/restore backup 2014-02-10 11:19:25 -05:00
test_gpfs.py Implement retype in IBM GPFS Driver and refactor 2014-02-24 13:59:05 -07:00
test_hds.py Merge "Clean up comparison assertions" 2013-10-10 16:57:25 +00:00
test_hp3par.py Merge "3PAR: Fix extend volume GiB to MiB" 2014-02-26 01:08:09 +00:00
test_hp_msa.py Replace assertEqual(None, *) with assertIsNone in tests 2014-02-25 15:32:11 +04:00
test_hplefthand.py Fix HP LeftHand Performance issue with AO 2014-03-05 14:09:41 -08:00
test_huawei_hvs.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_huawei_t_dorado.py Remove vim header 2013-12-30 18:53:02 -06:00
test_ibm_xiv_ds8k.py IBM XIV and DS8000 Driver reorganizing (IBM dir) 2014-02-18 10:56:43 +02:00
test_ibmnas.py Replace assertEqual(None, *) with assertIsNone in tests 2014-02-25 15:32:11 +04:00
test_image_utils.py Remove vim header 2013-12-30 18:53:02 -06:00
test_iscsi.py Move create_, remove_ and ensure_export from drivers 2014-02-11 14:43:48 +04:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py Typo corrections for test files in cinder 2014-03-03 08:52:12 +00:00
test_misc.py Remove vim header 2013-12-30 18:53:02 -06:00
test_netapp.py Typo corrections for test files in cinder 2014-03-03 08:52:12 +00:00
test_netapp_eseries_iscsi.py NetApp eseries iscsi driver implementation 2014-02-14 06:30:53 +05:30
test_netapp_nfs.py NetApp implementation for copy offload in clustered nfs driver 2014-03-05 14:28:47 -05:00
test_netapp_ssc.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_nexenta.py Merge "Nexenta iSCSI driver: fixed volume_migration" 2014-02-24 09:32:32 +00:00
test_nfs.py Fix test_delete_should_not_.. to assert something 2014-02-25 09:16:23 -05:00
test_policy.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_qos_specs.py Remove vim header 2013-12-30 18:53:02 -06:00
test_quota.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_rbd.py RBD unit test improvements 2014-02-05 23:13:57 +00:00
test_scality.py Set volume_dd_blocksize configurable on per-driver basis 2013-12-18 12:17:41 +04:00
test_service.py Make sure report_interval is less than service_down_time 2014-01-27 15:30:30 +08:00
test_sheepdog.py Remove vim header 2013-12-30 18:53:02 -06:00
test_solidfire.py Implement retype in SolidFire driver 2014-02-06 21:09:03 -07:00
test_storwize_svc.py Storwize volume manage/unmanage support 2014-03-04 19:56:53 +02:00
test_test.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_test_utils.py Remove vim header 2013-12-30 18:53:02 -06:00
test_utils.py Merge "Give a way to save why a service has been disabled" 2014-03-02 01:25:39 +00:00
test_vmware_vmdk.py Merge "vmware: PBM wsdl file configuration" 2014-03-08 09:44:01 +00:00
test_vmware_volumeops.py vmware: Storage policy based volume placement. 2014-03-03 11:04:10 +05:30
test_volume.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_volume_configuration.py Remove vim header 2013-12-30 18:53:02 -06:00
test_volume_glance_metadata.py Remove vim header 2013-12-30 18:53:02 -06:00
test_volume_rpcapi.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_volume_transfer.py Merge "Delete volume transfer in volume_destroy function" 2014-01-25 14:23:31 +00:00
test_volume_types.py Add update support to volume type encryption 2014-02-04 13:12:50 -05:00
test_volume_types_extra_specs.py Remove vim header 2013-12-30 18:53:02 -06:00
test_volume_utils.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_windows.py Remove vim header 2013-12-30 18:53:02 -06:00
test_wsgi.py Sync gettextutils from Oslo 2014-01-23 16:16:54 +02:00
test_xenapi_sm.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_zadara.py Remove vim header 2013-12-30 18:53:02 -06:00
utils.py Add ability to modify volume type 2014-01-06 22:02:09 +02:00