'Partial cluster rename filtering with host level info.'

def test_consistencygroup_include_in_cluster_by_host_multiple(self):

    cgs = self._create_cgs_to_test_include_in()[0:2]
    host = 'host1'
    cluster_name = 'my_cluster'
    result = db.consistencygroup_include_in_cluster(self.ctxt, cluster_name, partial_rename=True, host=host)
    self.assertEqual(2, result)
    db_cgs = [db.consistencygroup_get(self.ctxt, cgs[0].id), db.consistencygroup_get(self.ctxt, cgs[1].id)]
    for i in range(2):
        self.assertEqual((cluster_name + cgs[i].host[len(host):]), db_cgs[i].cluster_name)
