diff --git a/magnum/conductor/handlers/kube.py b/magnum/conductor/handlers/kube.py index 1ac6c9e04d..c732d9dded 100644 --- a/magnum/conductor/handlers/kube.py +++ b/magnum/conductor/handlers/kube.py @@ -112,10 +112,6 @@ class Handler(object): service.refresh(context) return service - def service_list(self, context): - LOG.debug("service_list") - return self.kube_cli.service_list() - def service_delete(self, context, uuid): LOG.debug("service_delete %s", uuid) service = objects.Service.get_by_uuid(context, uuid) @@ -128,14 +124,6 @@ class Handler(object): # call the service object to persist in db service.destroy(context) - def service_get(self, context, uuid): - LOG.debug("service_get %s", uuid) - return self.kube_cli.service_get(uuid) - - def service_show(self, uuid): - LOG.debug("service_show %s", uuid) - return self.kube_cli.service_show(uuid) - # Pod Operations def pod_create(self, context, pod): LOG.debug("pod_create") @@ -166,10 +154,6 @@ class Handler(object): pod.refresh(context) return pod - def pod_list(self, context): - LOG.debug("pod_list") - return self.kube_cli.pod_list() - def pod_delete(self, context, uuid): LOG.debug("pod_delete %s", uuid) # trigger a kubectl command @@ -188,14 +172,6 @@ class Handler(object): # call the pod object to persist in db pod.destroy(context) - def pod_get(self, context, uuid): - LOG.debug("pod_get %s", uuid) - return self.kube_cli.pod_get(uuid) - - def pod_show(self, context, uuid): - LOG.debug("pod_show %s", uuid) - return self.kube_cli.pod_show(uuid) - # Replication Controller Operations def rc_create(self, context, rc): LOG.debug("rc_create")