code: private void handleDelete() {
      log.debug(String.format("%s - Network configuration removed from cluster: %s", NetworkManager.this, cluster.address()));
      tasks.runTask(new Handler<Task>() {
        @Override
        public void handle(final Task task) {
          unready(new Handler<AsyncResult<Void>>() {
            @Override
            public void handle(AsyncResult<Void> result) {
              if (result.failed()) {
                log.error(result.cause());
              }
              if (currentContext != null) {
                log.info(String.format("%s - Undeploying network", NetworkManager.this));
                undeployNetwork(currentContext, new Handler<AsyncResult<Void>>() {
                  @Override
                  public void handle(AsyncResult<Void> result) {
                    if (result.failed()) {
                      log.error(result.cause());
                      task.complete();
                    } else {
                      // Once we've finished undeploying all the components of the
                      // network, set the network's status to nothing in order to
                      // indicate that the manager (this) can be undeployed.
                      data.put(currentContext.status(), "", new Handler<AsyncResult<String>>() {
                        @Override
                        public void handle(AsyncResult<String> result) {
                          if (result.failed()) {
                            log.error(result.cause());
                          } else {
                            log.info(String.format("%s - Successfully undeployed all components", NetworkManager.this));
                          }
                          task.complete();
                        }
                      });
                    }
                  }
                });
              } else {
                task.complete();
              }
            }
          });
        }
      });
    }
docs: Handles the deletion of the network.