Exemple #1
0
 def delete(self, req, tenant_id, lb_id, probe_id):
     LOG.debug("Got deleteProbe request. Request: %s", req)
     core_api.lb_delete_probe(self.conf, tenant_id, lb_id, probe_id)
 def test_lb_delete_probe(self, *mocks):
     api.lb_delete_probe(self.conf, self.lb_id, self.lb_id)
     for mok in mocks:
         self.assertTrue(mok.called)
 def test_lb_delete_probe(self, *mocks):
     mocks[5].return_value = self.dict_list
     api.lb_delete_probe(self.conf, self.lb_id, self.lb_id)
     for mok in mocks:
         self.assertTrue(mok.called)
 def deleteProbe(self, req, **args):
     logger.debug("Got deleteProbe request. Request: %s", req)
     probe_id = core_api.lb_delete_probe(self.conf, args['id'],
                                                    args['probeID'])
     return "Deleted probe with id %s" % probe_id
 def deleteProbe(self, req, lb_id, id):
     logger.debug("Got deleteProbe request. Request: %s", req)
     core_api.lb_delete_probe(self.conf, lb_id, id)