aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/CMakeLists.txt2
-rw-r--r--src/plugins/vpp-interfaces.c22
2 files changed, 1 insertions, 23 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index f21d06f..41915a1 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
diff --git a/src/plugins/vpp-interfaces.c b/src/plugins/vpp-interfaces.c
index 9525c18..bb1f046 100644
--- a/src/plugins/vpp-interfaces.c
+++ b/src/plugins/vpp-interfaces.c
@@ -569,25 +569,3 @@ sr_plugin_cleanup_cb(sr_session_ctx_t *session, void *private_ctx)
free(ctx);
}
-/**
- * @brief Callback to be called by plugin daemon periodically, to check whether the plugin and managed app is healthy.
- */
-/*
-int
-sr_plugin_health_check_cb(sr_session_ctx_t *session, void *private_ctx)
-{
- plugin_ctx_t *ctx = (plugin_ctx_t *) private_ctx;
- vl_api_control_ping_t *ping = NULL;
- int rc = 0;
-
- ping = srvpp_alloc_msg(VL_API_CONTROL_PING, sizeof(*ping));
-
- rc = srvpp_send_request(ctx->srvpp_ctx, ping, NULL);
-
- if (0 != rc) {
- return SR_ERR_DISCONNECT;
- } else {
- return SR_ERR_OK;
- }
-}
-*/