88
89
filter_properties, instance, instance_type,
90
91
"""Select a target for resize."""
91
host = self._schedule(context, 'compute', request_spec,
92
host = self._schedule(context, CONF.compute_topic, request_spec,
93
94
self.compute_rpcapi.prep_resize(context, image, instance,
94
95
instance_type, host, reservations)
96
def schedule_create_volume(self, context, volume_id, snapshot_id,
99
host = self._schedule(context, FLAGS.volume_topic, None, {})
100
driver.cast_to_host(context, FLAGS.volume_topic, host, 'create_volume',