diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/plugins/ietf/ietf_interface.c (renamed from src/plugins/sc_interface.c) | 4 | ||||
-rw-r--r-- | src/plugins/ietf/ietf_interface.h (renamed from src/plugins/sc_interface.h) | 0 | ||||
-rw-r--r-- | src/plugins/sc_plugins.c | 6 |
4 files changed, 4 insertions, 8 deletions
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index 8f248c5..c7bdd76 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -42,8 +42,8 @@ target_link_libraries(bapi ${VPP_LIBRARIES}) # plugins sources set(PLUGINS_SOURCES - sc_interface.c sc_plugins.c + ietf/ietf_interface.c openconfig/openconfig_interfaces.c openconfig/openconfig_local_routing.c openconfig/openconfig_plugin.c diff --git a/src/plugins/sc_interface.c b/src/plugins/ietf/ietf_interface.c index 41d7e01..ac44d12 100644 --- a/src/plugins/sc_interface.c +++ b/src/plugins/ietf/ietf_interface.c @@ -18,8 +18,8 @@ #include <netinet/in.h> #include <arpa/inet.h> -#include "sc_interface.h" -#include "sc_plugins.h" +#include "ietf_interface.h" +#include "../sc_plugins.h" #include <sysrepo.h> #include <sysrepo/plugins.h> #include <sysrepo/values.h> diff --git a/src/plugins/sc_interface.h b/src/plugins/ietf/ietf_interface.h index 682834e..682834e 100644 --- a/src/plugins/sc_interface.h +++ b/src/plugins/ietf/ietf_interface.h diff --git a/src/plugins/sc_plugins.c b/src/plugins/sc_plugins.c index 0f79c16..3fb2e44 100644 --- a/src/plugins/sc_plugins.c +++ b/src/plugins/sc_plugins.c @@ -32,11 +32,7 @@ DEFINE_VAPI_MSG_IDS_VXLAN_API_JSON; #include "sc_plugins.h" -//#include "sc_ip.h" -#include "sc_interface.h" -//#include "sc_l2.h" -//#include "sc_vxlan.h" - +#include "ietf/ietf_interface.h" #include "openconfig/openconfig_plugin.h" int sr_plugin_init_cb(sr_session_ctx_t *session, void **private_ctx) |