@property
    def profiled_blockdevice_api(self):
        if IProfiledBlockDeviceAPI.providedBy(
                self._underlying_blockdevice_api):
            return self._underlying_blockdevice_api
        if IProfiledBlockDeviceAPI.providedBy(self.block_device_api):
            return self.block_device_api
        return ProfiledBlockDeviceAPIAdapter(
            _blockdevice_api=self.block_device_api
        )
Test redirect to one host and then another.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/blockdevice.py/BlockDeviceDeployer.profiled_blockdevice_api--crossover with--dataset/ETHPy150Open rcbops/glance-buildpackage/glance/tests/functional/test_client_redirects.py/TestClientRedirects.test_redirect_to_new_host